 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311097 -2.778366)', '2026-07-22 06:03:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311212 -2.778378)'), GeomFromEWKT('SRID=4674;POINT (-40.311097 -2.778366)'))) / (select extract(epoch from '2026-07-22 06:03:23'::timestamp) - extract(epoch from '2026-07-22 06:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311212 -2.778378)'), GeomFromEWKT('SRID=4674;POINT (-40.311097 -2.778366)'))) / (select extract(epoch from '2026-07-22 06:03:23'::timestamp) - extract(epoch from '2026-07-22 06:03: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'), 47639, 'SRID=4674;POINT (-40.310992 -2.778357)', '2026-07-22 06:03:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311097 -2.778366)'), GeomFromEWKT('SRID=4674;POINT (-40.310992 -2.778357)'))) / (select extract(epoch from '2026-07-22 06:03:38'::timestamp) - extract(epoch from '2026-07-22 06:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311097 -2.778366)'), GeomFromEWKT('SRID=4674;POINT (-40.310992 -2.778357)'))) / (select extract(epoch from '2026-07-22 06:03:38'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.310891 -2.778335)', '2026-07-22 06:03:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310992 -2.778357)'), GeomFromEWKT('SRID=4674;POINT (-40.310891 -2.778335)'))) / (select extract(epoch from '2026-07-22 06:03:55'::timestamp) - extract(epoch from '2026-07-22 06:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310992 -2.778357)'), GeomFromEWKT('SRID=4674;POINT (-40.310891 -2.778335)'))) / (select extract(epoch from '2026-07-22 06:03:55'::timestamp) - extract(epoch from '2026-07-22 06:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310816 -2.778354)', '2026-07-22 06:04:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310891 -2.778335)'), GeomFromEWKT('SRID=4674;POINT (-40.310816 -2.778354)'))) / (select extract(epoch from '2026-07-22 06:04:10'::timestamp) - extract(epoch from '2026-07-22 06:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310891 -2.778335)'), GeomFromEWKT('SRID=4674;POINT (-40.310816 -2.778354)'))) / (select extract(epoch from '2026-07-22 06:04:10'::timestamp) - extract(epoch from '2026-07-22 06:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310806 -2.778353)', '2026-07-22 06:04:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310816 -2.778354)'), GeomFromEWKT('SRID=4674;POINT (-40.310806 -2.778353)'))) / (select extract(epoch from '2026-07-22 06:04:22'::timestamp) - extract(epoch from '2026-07-22 06:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310816 -2.778354)'), GeomFromEWKT('SRID=4674;POINT (-40.310806 -2.778353)'))) / (select extract(epoch from '2026-07-22 06:04:22'::timestamp) - extract(epoch from '2026-07-22 06:04:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310815 -2.778358)', '2026-07-22 06:04:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310806 -2.778353)'), GeomFromEWKT('SRID=4674;POINT (-40.310815 -2.778358)'))) / (select extract(epoch from '2026-07-22 06:04:36'::timestamp) - extract(epoch from '2026-07-22 06:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310806 -2.778353)'), GeomFromEWKT('SRID=4674;POINT (-40.310815 -2.778358)'))) / (select extract(epoch from '2026-07-22 06:04:36'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.310836 -2.778356)', '2026-07-22 06:04:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310815 -2.778358)'), GeomFromEWKT('SRID=4674;POINT (-40.310836 -2.778356)'))) / (select extract(epoch from '2026-07-22 06:04:47'::timestamp) - extract(epoch from '2026-07-22 06:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310815 -2.778358)'), GeomFromEWKT('SRID=4674;POINT (-40.310836 -2.778356)'))) / (select extract(epoch from '2026-07-22 06:04:47'::timestamp) - extract(epoch from '2026-07-22 06:04: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'), 47639, 'SRID=4674;POINT (-40.310855 -2.778356)', '2026-07-22 06:05:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310836 -2.778356)'), GeomFromEWKT('SRID=4674;POINT (-40.310855 -2.778356)'))) / (select extract(epoch from '2026-07-22 06:05:02'::timestamp) - extract(epoch from '2026-07-22 06:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310836 -2.778356)'), GeomFromEWKT('SRID=4674;POINT (-40.310855 -2.778356)'))) / (select extract(epoch from '2026-07-22 06:05:02'::timestamp) - extract(epoch from '2026-07-22 06:04: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'), 47639, 'SRID=4674;POINT (-40.310873 -2.778343)', '2026-07-22 06:05:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310855 -2.778356)'), GeomFromEWKT('SRID=4674;POINT (-40.310873 -2.778343)'))) / (select extract(epoch from '2026-07-22 06:05:14'::timestamp) - extract(epoch from '2026-07-22 06:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310855 -2.778356)'), GeomFromEWKT('SRID=4674;POINT (-40.310873 -2.778343)'))) / (select extract(epoch from '2026-07-22 06:05:14'::timestamp) - extract(epoch from '2026-07-22 06:05: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'), 47639, 'SRID=4674;POINT (-40.31089 -2.778324)', '2026-07-22 06:05:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310873 -2.778343)'), GeomFromEWKT('SRID=4674;POINT (-40.31089 -2.778324)'))) / (select extract(epoch from '2026-07-22 06:05:25'::timestamp) - extract(epoch from '2026-07-22 06:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310873 -2.778343)'), GeomFromEWKT('SRID=4674;POINT (-40.31089 -2.778324)'))) / (select extract(epoch from '2026-07-22 06:05:25'::timestamp) - extract(epoch from '2026-07-22 06:05: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'), 47639, 'SRID=4674;POINT (-40.310909 -2.778305)', '2026-07-22 06:05:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31089 -2.778324)'), GeomFromEWKT('SRID=4674;POINT (-40.310909 -2.778305)'))) / (select extract(epoch from '2026-07-22 06:05:40'::timestamp) - extract(epoch from '2026-07-22 06:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31089 -2.778324)'), GeomFromEWKT('SRID=4674;POINT (-40.310909 -2.778305)'))) / (select extract(epoch from '2026-07-22 06:05:40'::timestamp) - extract(epoch from '2026-07-22 06:05: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'), 47639, 'SRID=4674;POINT (-40.310933 -2.778289)', '2026-07-22 06:05:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310909 -2.778305)'), GeomFromEWKT('SRID=4674;POINT (-40.310933 -2.778289)'))) / (select extract(epoch from '2026-07-22 06:05:53'::timestamp) - extract(epoch from '2026-07-22 06:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310909 -2.778305)'), GeomFromEWKT('SRID=4674;POINT (-40.310933 -2.778289)'))) / (select extract(epoch from '2026-07-22 06:05:53'::timestamp) - extract(epoch from '2026-07-22 06:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311015 -2.778231)', '2026-07-22 06:06:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310933 -2.778289)'), GeomFromEWKT('SRID=4674;POINT (-40.311015 -2.778231)'))) / (select extract(epoch from '2026-07-22 06:06:16'::timestamp) - extract(epoch from '2026-07-22 06:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310933 -2.778289)'), GeomFromEWKT('SRID=4674;POINT (-40.311015 -2.778231)'))) / (select extract(epoch from '2026-07-22 06:06:16'::timestamp) - extract(epoch from '2026-07-22 06:05:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311054 -2.778206)', '2026-07-22 06:06:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311015 -2.778231)'), GeomFromEWKT('SRID=4674;POINT (-40.311054 -2.778206)'))) / (select extract(epoch from '2026-07-22 06:06:33'::timestamp) - extract(epoch from '2026-07-22 06:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311015 -2.778231)'), GeomFromEWKT('SRID=4674;POINT (-40.311054 -2.778206)'))) / (select extract(epoch from '2026-07-22 06:06:33'::timestamp) - extract(epoch from '2026-07-22 06:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311071 -2.778196)', '2026-07-22 06:06:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311054 -2.778206)'), GeomFromEWKT('SRID=4674;POINT (-40.311071 -2.778196)'))) / (select extract(epoch from '2026-07-22 06:06:44'::timestamp) - extract(epoch from '2026-07-22 06:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311054 -2.778206)'), GeomFromEWKT('SRID=4674;POINT (-40.311071 -2.778196)'))) / (select extract(epoch from '2026-07-22 06:06:44'::timestamp) - extract(epoch from '2026-07-22 06:06: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'), 47639, 'SRID=4674;POINT (-40.311106 -2.778178)', '2026-07-22 06:06:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311071 -2.778196)'), GeomFromEWKT('SRID=4674;POINT (-40.311106 -2.778178)'))) / (select extract(epoch from '2026-07-22 06:06:58'::timestamp) - extract(epoch from '2026-07-22 06:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311071 -2.778196)'), GeomFromEWKT('SRID=4674;POINT (-40.311106 -2.778178)'))) / (select extract(epoch from '2026-07-22 06:06:58'::timestamp) - extract(epoch from '2026-07-22 06:06: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'), 47639, 'SRID=4674;POINT (-40.311142 -2.778148)', '2026-07-22 06:07:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311106 -2.778178)'), GeomFromEWKT('SRID=4674;POINT (-40.311142 -2.778148)'))) / (select extract(epoch from '2026-07-22 06:07:14'::timestamp) - extract(epoch from '2026-07-22 06:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311106 -2.778178)'), GeomFromEWKT('SRID=4674;POINT (-40.311142 -2.778148)'))) / (select extract(epoch from '2026-07-22 06:07:14'::timestamp) - extract(epoch from '2026-07-22 06:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311164 -2.77813)', '2026-07-22 06:07:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311142 -2.778148)'), GeomFromEWKT('SRID=4674;POINT (-40.311164 -2.77813)'))) / (select extract(epoch from '2026-07-22 06:07:28'::timestamp) - extract(epoch from '2026-07-22 06:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311142 -2.778148)'), GeomFromEWKT('SRID=4674;POINT (-40.311164 -2.77813)'))) / (select extract(epoch from '2026-07-22 06:07:28'::timestamp) - extract(epoch from '2026-07-22 06:07: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'), 47639, 'SRID=4674;POINT (-40.311191 -2.778109)', '2026-07-22 06:07:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311164 -2.77813)'), GeomFromEWKT('SRID=4674;POINT (-40.311191 -2.778109)'))) / (select extract(epoch from '2026-07-22 06:07:41'::timestamp) - extract(epoch from '2026-07-22 06:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311164 -2.77813)'), GeomFromEWKT('SRID=4674;POINT (-40.311191 -2.778109)'))) / (select extract(epoch from '2026-07-22 06:07:41'::timestamp) - extract(epoch from '2026-07-22 06:07: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'), 47639, 'SRID=4674;POINT (-40.311227 -2.778076)', '2026-07-22 06:07:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311191 -2.778109)'), GeomFromEWKT('SRID=4674;POINT (-40.311227 -2.778076)'))) / (select extract(epoch from '2026-07-22 06:07:59'::timestamp) - extract(epoch from '2026-07-22 06:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311191 -2.778109)'), GeomFromEWKT('SRID=4674;POINT (-40.311227 -2.778076)'))) / (select extract(epoch from '2026-07-22 06:07:59'::timestamp) - extract(epoch from '2026-07-22 06:07: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'), 47639, 'SRID=4674;POINT (-40.311265 -2.778068)', '2026-07-22 06:08:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311227 -2.778076)'), GeomFromEWKT('SRID=4674;POINT (-40.311265 -2.778068)'))) / (select extract(epoch from '2026-07-22 06:08:09'::timestamp) - extract(epoch from '2026-07-22 06:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311227 -2.778076)'), GeomFromEWKT('SRID=4674;POINT (-40.311265 -2.778068)'))) / (select extract(epoch from '2026-07-22 06:08:09'::timestamp) - extract(epoch from '2026-07-22 06:07:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311288 -2.778055)', '2026-07-22 06:08:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311265 -2.778068)'), GeomFromEWKT('SRID=4674;POINT (-40.311288 -2.778055)'))) / (select extract(epoch from '2026-07-22 06:08:23'::timestamp) - extract(epoch from '2026-07-22 06:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311265 -2.778068)'), GeomFromEWKT('SRID=4674;POINT (-40.311288 -2.778055)'))) / (select extract(epoch from '2026-07-22 06:08:23'::timestamp) - extract(epoch from '2026-07-22 06:08:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311339 -2.778037)', '2026-07-22 06:08:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311288 -2.778055)'), GeomFromEWKT('SRID=4674;POINT (-40.311339 -2.778037)'))) / (select extract(epoch from '2026-07-22 06:08:41'::timestamp) - extract(epoch from '2026-07-22 06:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311288 -2.778055)'), GeomFromEWKT('SRID=4674;POINT (-40.311339 -2.778037)'))) / (select extract(epoch from '2026-07-22 06:08:41'::timestamp) - extract(epoch from '2026-07-22 06:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311398 -2.778031)', '2026-07-22 06:08:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311339 -2.778037)'), GeomFromEWKT('SRID=4674;POINT (-40.311398 -2.778031)'))) / (select extract(epoch from '2026-07-22 06:08:59'::timestamp) - extract(epoch from '2026-07-22 06:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311339 -2.778037)'), GeomFromEWKT('SRID=4674;POINT (-40.311398 -2.778031)'))) / (select extract(epoch from '2026-07-22 06:08:59'::timestamp) - extract(epoch from '2026-07-22 06:08: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'), 47639, 'SRID=4674;POINT (-40.311422 -2.77803)', '2026-07-22 06:09:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311398 -2.778031)'), GeomFromEWKT('SRID=4674;POINT (-40.311422 -2.77803)'))) / (select extract(epoch from '2026-07-22 06:09:11'::timestamp) - extract(epoch from '2026-07-22 06:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311398 -2.778031)'), GeomFromEWKT('SRID=4674;POINT (-40.311422 -2.77803)'))) / (select extract(epoch from '2026-07-22 06:09:11'::timestamp) - extract(epoch from '2026-07-22 06:08: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'), 47639, 'SRID=4674;POINT (-40.311448 -2.778012)', '2026-07-22 06:09:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311422 -2.77803)'), GeomFromEWKT('SRID=4674;POINT (-40.311448 -2.778012)'))) / (select extract(epoch from '2026-07-22 06:09:22'::timestamp) - extract(epoch from '2026-07-22 06:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311422 -2.77803)'), GeomFromEWKT('SRID=4674;POINT (-40.311448 -2.778012)'))) / (select extract(epoch from '2026-07-22 06:09:22'::timestamp) - extract(epoch from '2026-07-22 06:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311476 -2.778003)', '2026-07-22 06:09:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311448 -2.778012)'), GeomFromEWKT('SRID=4674;POINT (-40.311476 -2.778003)'))) / (select extract(epoch from '2026-07-22 06:09:32'::timestamp) - extract(epoch from '2026-07-22 06:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311448 -2.778012)'), GeomFromEWKT('SRID=4674;POINT (-40.311476 -2.778003)'))) / (select extract(epoch from '2026-07-22 06:09:32'::timestamp) - extract(epoch from '2026-07-22 06:09:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311512 -2.777986)', '2026-07-22 06:09:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311476 -2.778003)'), GeomFromEWKT('SRID=4674;POINT (-40.311512 -2.777986)'))) / (select extract(epoch from '2026-07-22 06:09:46'::timestamp) - extract(epoch from '2026-07-22 06:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311476 -2.778003)'), GeomFromEWKT('SRID=4674;POINT (-40.311512 -2.777986)'))) / (select extract(epoch from '2026-07-22 06:09:46'::timestamp) - extract(epoch from '2026-07-22 06:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311546 -2.777955)', '2026-07-22 06:10:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311512 -2.777986)'), GeomFromEWKT('SRID=4674;POINT (-40.311546 -2.777955)'))) / (select extract(epoch from '2026-07-22 06:10:01'::timestamp) - extract(epoch from '2026-07-22 06:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311512 -2.777986)'), GeomFromEWKT('SRID=4674;POINT (-40.311546 -2.777955)'))) / (select extract(epoch from '2026-07-22 06:10:01'::timestamp) - extract(epoch from '2026-07-22 06:09: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'), 47639, 'SRID=4674;POINT (-40.31157 -2.777955)', '2026-07-22 06:10:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311546 -2.777955)'), GeomFromEWKT('SRID=4674;POINT (-40.31157 -2.777955)'))) / (select extract(epoch from '2026-07-22 06:10:21'::timestamp) - extract(epoch from '2026-07-22 06:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311546 -2.777955)'), GeomFromEWKT('SRID=4674;POINT (-40.31157 -2.777955)'))) / (select extract(epoch from '2026-07-22 06:10:21'::timestamp) - extract(epoch from '2026-07-22 06:10: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'), 47639, 'SRID=4674;POINT (-40.311605 -2.777938)', '2026-07-22 06:10:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31157 -2.777955)'), GeomFromEWKT('SRID=4674;POINT (-40.311605 -2.777938)'))) / (select extract(epoch from '2026-07-22 06:10:31'::timestamp) - extract(epoch from '2026-07-22 06:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31157 -2.777955)'), GeomFromEWKT('SRID=4674;POINT (-40.311605 -2.777938)'))) / (select extract(epoch from '2026-07-22 06:10:31'::timestamp) - extract(epoch from '2026-07-22 06:10: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'), 47639, 'SRID=4674;POINT (-40.311657 -2.777928)', '2026-07-22 06:10:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311605 -2.777938)'), GeomFromEWKT('SRID=4674;POINT (-40.311657 -2.777928)'))) / (select extract(epoch from '2026-07-22 06:10:47'::timestamp) - extract(epoch from '2026-07-22 06:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311605 -2.777938)'), GeomFromEWKT('SRID=4674;POINT (-40.311657 -2.777928)'))) / (select extract(epoch from '2026-07-22 06:10:47'::timestamp) - extract(epoch from '2026-07-22 06:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311697 -2.777951)', '2026-07-22 06:10:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311657 -2.777928)'), GeomFromEWKT('SRID=4674;POINT (-40.311697 -2.777951)'))) / (select extract(epoch from '2026-07-22 06:10:53'::timestamp) - extract(epoch from '2026-07-22 06:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311657 -2.777928)'), GeomFromEWKT('SRID=4674;POINT (-40.311697 -2.777951)'))) / (select extract(epoch from '2026-07-22 06:10:53'::timestamp) - extract(epoch from '2026-07-22 06:10: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'), 47639, 'SRID=4674;POINT (-40.311806 -2.778013)', '2026-07-22 06:11:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311697 -2.777951)'), GeomFromEWKT('SRID=4674;POINT (-40.311806 -2.778013)'))) / (select extract(epoch from '2026-07-22 06:11:01'::timestamp) - extract(epoch from '2026-07-22 06:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311697 -2.777951)'), GeomFromEWKT('SRID=4674;POINT (-40.311806 -2.778013)'))) / (select extract(epoch from '2026-07-22 06:11:01'::timestamp) - extract(epoch from '2026-07-22 06:10: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'), 47639, 'SRID=4674;POINT (-40.311906 -2.77801)', '2026-07-22 06:11:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311806 -2.778013)'), GeomFromEWKT('SRID=4674;POINT (-40.311906 -2.77801)'))) / (select extract(epoch from '2026-07-22 06:11:07'::timestamp) - extract(epoch from '2026-07-22 06:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311806 -2.778013)'), GeomFromEWKT('SRID=4674;POINT (-40.311906 -2.77801)'))) / (select extract(epoch from '2026-07-22 06:11:07'::timestamp) - extract(epoch from '2026-07-22 06:11:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312066 -2.777948)', '2026-07-22 06:11:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311906 -2.77801)'), GeomFromEWKT('SRID=4674;POINT (-40.312066 -2.777948)'))) / (select extract(epoch from '2026-07-22 06:11:15'::timestamp) - extract(epoch from '2026-07-22 06:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311906 -2.77801)'), GeomFromEWKT('SRID=4674;POINT (-40.312066 -2.777948)'))) / (select extract(epoch from '2026-07-22 06:11:15'::timestamp) - extract(epoch from '2026-07-22 06:11: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'), 47639, 'SRID=4674;POINT (-40.312208 -2.777845)', '2026-07-22 06:11:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312066 -2.777948)'), GeomFromEWKT('SRID=4674;POINT (-40.312208 -2.777845)'))) / (select extract(epoch from '2026-07-22 06:11:24'::timestamp) - extract(epoch from '2026-07-22 06:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312066 -2.777948)'), GeomFromEWKT('SRID=4674;POINT (-40.312208 -2.777845)'))) / (select extract(epoch from '2026-07-22 06:11:24'::timestamp) - extract(epoch from '2026-07-22 06:11:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312325 -2.777793)', '2026-07-22 06:11:31', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312208 -2.777845)'), GeomFromEWKT('SRID=4674;POINT (-40.312325 -2.777793)'))) / (select extract(epoch from '2026-07-22 06:11:31'::timestamp) - extract(epoch from '2026-07-22 06:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312208 -2.777845)'), GeomFromEWKT('SRID=4674;POINT (-40.312325 -2.777793)'))) / (select extract(epoch from '2026-07-22 06:11:31'::timestamp) - extract(epoch from '2026-07-22 06:11: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'), 47639, 'SRID=4674;POINT (-40.312475 -2.777722)', '2026-07-22 06:11:39', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312325 -2.777793)'), GeomFromEWKT('SRID=4674;POINT (-40.312475 -2.777722)'))) / (select extract(epoch from '2026-07-22 06:11:39'::timestamp) - extract(epoch from '2026-07-22 06:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312325 -2.777793)'), GeomFromEWKT('SRID=4674;POINT (-40.312475 -2.777722)'))) / (select extract(epoch from '2026-07-22 06:11:39'::timestamp) - extract(epoch from '2026-07-22 06:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312593 -2.777637)', '2026-07-22 06:11:47', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312475 -2.777722)'), GeomFromEWKT('SRID=4674;POINT (-40.312593 -2.777637)'))) / (select extract(epoch from '2026-07-22 06:11:47'::timestamp) - extract(epoch from '2026-07-22 06:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312475 -2.777722)'), GeomFromEWKT('SRID=4674;POINT (-40.312593 -2.777637)'))) / (select extract(epoch from '2026-07-22 06:11:47'::timestamp) - extract(epoch from '2026-07-22 06:11: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'), 47639, 'SRID=4674;POINT (-40.312686 -2.777523)', '2026-07-22 06:11:55', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312593 -2.777637)'), GeomFromEWKT('SRID=4674;POINT (-40.312686 -2.777523)'))) / (select extract(epoch from '2026-07-22 06:11:55'::timestamp) - extract(epoch from '2026-07-22 06:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312593 -2.777637)'), GeomFromEWKT('SRID=4674;POINT (-40.312686 -2.777523)'))) / (select extract(epoch from '2026-07-22 06:11:55'::timestamp) - extract(epoch from '2026-07-22 06:11:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312714 -2.777392)', '2026-07-22 06:12:02', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312686 -2.777523)'), GeomFromEWKT('SRID=4674;POINT (-40.312714 -2.777392)'))) / (select extract(epoch from '2026-07-22 06:12:02'::timestamp) - extract(epoch from '2026-07-22 06:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312686 -2.777523)'), GeomFromEWKT('SRID=4674;POINT (-40.312714 -2.777392)'))) / (select extract(epoch from '2026-07-22 06:12:02'::timestamp) - extract(epoch from '2026-07-22 06:11: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'), 47639, 'SRID=4674;POINT (-40.31282 -2.777258)', '2026-07-22 06:12:11', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312714 -2.777392)'), GeomFromEWKT('SRID=4674;POINT (-40.31282 -2.777258)'))) / (select extract(epoch from '2026-07-22 06:12:11'::timestamp) - extract(epoch from '2026-07-22 06:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312714 -2.777392)'), GeomFromEWKT('SRID=4674;POINT (-40.31282 -2.777258)'))) / (select extract(epoch from '2026-07-22 06:12:11'::timestamp) - extract(epoch from '2026-07-22 06:12: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'), 47639, 'SRID=4674;POINT (-40.31287 -2.777159)', '2026-07-22 06:12:17', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31282 -2.777258)'), GeomFromEWKT('SRID=4674;POINT (-40.31287 -2.777159)'))) / (select extract(epoch from '2026-07-22 06:12:17'::timestamp) - extract(epoch from '2026-07-22 06:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31282 -2.777258)'), GeomFromEWKT('SRID=4674;POINT (-40.31287 -2.777159)'))) / (select extract(epoch from '2026-07-22 06:12:17'::timestamp) - extract(epoch from '2026-07-22 06:12:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312921 -2.777048)', '2026-07-22 06:12:24', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31287 -2.777159)'), GeomFromEWKT('SRID=4674;POINT (-40.312921 -2.777048)'))) / (select extract(epoch from '2026-07-22 06:12:24'::timestamp) - extract(epoch from '2026-07-22 06:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31287 -2.777159)'), GeomFromEWKT('SRID=4674;POINT (-40.312921 -2.777048)'))) / (select extract(epoch from '2026-07-22 06:12:24'::timestamp) - extract(epoch from '2026-07-22 06:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.313008 -2.776904)', '2026-07-22 06:12:33', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312921 -2.777048)'), GeomFromEWKT('SRID=4674;POINT (-40.313008 -2.776904)'))) / (select extract(epoch from '2026-07-22 06:12:33'::timestamp) - extract(epoch from '2026-07-22 06:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312921 -2.777048)'), GeomFromEWKT('SRID=4674;POINT (-40.313008 -2.776904)'))) / (select extract(epoch from '2026-07-22 06:12:33'::timestamp) - extract(epoch from '2026-07-22 06:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.313056 -2.776781)', '2026-07-22 06:12:40', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313008 -2.776904)'), GeomFromEWKT('SRID=4674;POINT (-40.313056 -2.776781)'))) / (select extract(epoch from '2026-07-22 06:12:40'::timestamp) - extract(epoch from '2026-07-22 06:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313008 -2.776904)'), GeomFromEWKT('SRID=4674;POINT (-40.313056 -2.776781)'))) / (select extract(epoch from '2026-07-22 06:12:40'::timestamp) - extract(epoch from '2026-07-22 06:12: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'), 47639, 'SRID=4674;POINT (-40.313015 -2.776662)', '2026-07-22 06:12:47', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313056 -2.776781)'), GeomFromEWKT('SRID=4674;POINT (-40.313015 -2.776662)'))) / (select extract(epoch from '2026-07-22 06:12:47'::timestamp) - extract(epoch from '2026-07-22 06:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313056 -2.776781)'), GeomFromEWKT('SRID=4674;POINT (-40.313015 -2.776662)'))) / (select extract(epoch from '2026-07-22 06:12:47'::timestamp) - extract(epoch from '2026-07-22 06:12: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'), 47639, 'SRID=4674;POINT (-40.312939 -2.776545)', '2026-07-22 06:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313015 -2.776662)'), GeomFromEWKT('SRID=4674;POINT (-40.312939 -2.776545)'))) / (select extract(epoch from '2026-07-22 06:12:56'::timestamp) - extract(epoch from '2026-07-22 06:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313015 -2.776662)'), GeomFromEWKT('SRID=4674;POINT (-40.312939 -2.776545)'))) / (select extract(epoch from '2026-07-22 06:12:56'::timestamp) - extract(epoch from '2026-07-22 06:12: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'), 47639, 'SRID=4674;POINT (-40.312853 -2.776496)', '2026-07-22 06:13:04', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312939 -2.776545)'), GeomFromEWKT('SRID=4674;POINT (-40.312853 -2.776496)'))) / (select extract(epoch from '2026-07-22 06:13:04'::timestamp) - extract(epoch from '2026-07-22 06:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312939 -2.776545)'), GeomFromEWKT('SRID=4674;POINT (-40.312853 -2.776496)'))) / (select extract(epoch from '2026-07-22 06:13:04'::timestamp) - extract(epoch from '2026-07-22 06:12: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'), 47639, 'SRID=4674;POINT (-40.312834 -2.776495)', '2026-07-22 06:13:12', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312853 -2.776496)'), GeomFromEWKT('SRID=4674;POINT (-40.312834 -2.776495)'))) / (select extract(epoch from '2026-07-22 06:13:12'::timestamp) - extract(epoch from '2026-07-22 06:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312853 -2.776496)'), GeomFromEWKT('SRID=4674;POINT (-40.312834 -2.776495)'))) / (select extract(epoch from '2026-07-22 06:13:12'::timestamp) - extract(epoch from '2026-07-22 06:13: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'), 47639, 'SRID=4674;POINT (-40.312828 -2.776494)', '2026-07-22 06:13:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312834 -2.776495)'), GeomFromEWKT('SRID=4674;POINT (-40.312828 -2.776494)'))) / (select extract(epoch from '2026-07-22 06:13:25'::timestamp) - extract(epoch from '2026-07-22 06:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312834 -2.776495)'), GeomFromEWKT('SRID=4674;POINT (-40.312828 -2.776494)'))) / (select extract(epoch from '2026-07-22 06:13:25'::timestamp) - extract(epoch from '2026-07-22 06:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312826 -2.776492)', '2026-07-22 06:13:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312828 -2.776494)'), GeomFromEWKT('SRID=4674;POINT (-40.312826 -2.776492)'))) / (select extract(epoch from '2026-07-22 06:13:37'::timestamp) - extract(epoch from '2026-07-22 06:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312828 -2.776494)'), GeomFromEWKT('SRID=4674;POINT (-40.312826 -2.776492)'))) / (select extract(epoch from '2026-07-22 06:13:37'::timestamp) - extract(epoch from '2026-07-22 06:13:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312787 -2.776489)', '2026-07-22 06:13:52', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312826 -2.776492)'), GeomFromEWKT('SRID=4674;POINT (-40.312787 -2.776489)'))) / (select extract(epoch from '2026-07-22 06:13:52'::timestamp) - extract(epoch from '2026-07-22 06:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312826 -2.776492)'), GeomFromEWKT('SRID=4674;POINT (-40.312787 -2.776489)'))) / (select extract(epoch from '2026-07-22 06:13:52'::timestamp) - extract(epoch from '2026-07-22 06:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312765 -2.776482)', '2026-07-22 06:14:06', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312787 -2.776489)'), GeomFromEWKT('SRID=4674;POINT (-40.312765 -2.776482)'))) / (select extract(epoch from '2026-07-22 06:14:06'::timestamp) - extract(epoch from '2026-07-22 06:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312787 -2.776489)'), GeomFromEWKT('SRID=4674;POINT (-40.312765 -2.776482)'))) / (select extract(epoch from '2026-07-22 06:14:06'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.312751 -2.776483)', '2026-07-22 06:14:19', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312765 -2.776482)'), GeomFromEWKT('SRID=4674;POINT (-40.312751 -2.776483)'))) / (select extract(epoch from '2026-07-22 06:14:19'::timestamp) - extract(epoch from '2026-07-22 06:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312765 -2.776482)'), GeomFromEWKT('SRID=4674;POINT (-40.312751 -2.776483)'))) / (select extract(epoch from '2026-07-22 06:14:19'::timestamp) - extract(epoch from '2026-07-22 06:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312678 -2.776495)', '2026-07-22 06:14:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312751 -2.776483)'), GeomFromEWKT('SRID=4674;POINT (-40.312678 -2.776495)'))) / (select extract(epoch from '2026-07-22 06:14:37'::timestamp) - extract(epoch from '2026-07-22 06:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312751 -2.776483)'), GeomFromEWKT('SRID=4674;POINT (-40.312678 -2.776495)'))) / (select extract(epoch from '2026-07-22 06:14:37'::timestamp) - extract(epoch from '2026-07-22 06:14: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'), 47639, 'SRID=4674;POINT (-40.312637 -2.776502)', '2026-07-22 06:14:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312678 -2.776495)'), GeomFromEWKT('SRID=4674;POINT (-40.312637 -2.776502)'))) / (select extract(epoch from '2026-07-22 06:14:54'::timestamp) - extract(epoch from '2026-07-22 06:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312678 -2.776495)'), GeomFromEWKT('SRID=4674;POINT (-40.312637 -2.776502)'))) / (select extract(epoch from '2026-07-22 06:14:54'::timestamp) - extract(epoch from '2026-07-22 06:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312595 -2.776511)', '2026-07-22 06:15:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312637 -2.776502)'), GeomFromEWKT('SRID=4674;POINT (-40.312595 -2.776511)'))) / (select extract(epoch from '2026-07-22 06:15:14'::timestamp) - extract(epoch from '2026-07-22 06:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312637 -2.776502)'), GeomFromEWKT('SRID=4674;POINT (-40.312595 -2.776511)'))) / (select extract(epoch from '2026-07-22 06:15:14'::timestamp) - extract(epoch from '2026-07-22 06:14: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'), 47639, 'SRID=4674;POINT (-40.312528 -2.776515)', '2026-07-22 06:15:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312595 -2.776511)'), GeomFromEWKT('SRID=4674;POINT (-40.312528 -2.776515)'))) / (select extract(epoch from '2026-07-22 06:15:32'::timestamp) - extract(epoch from '2026-07-22 06:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312595 -2.776511)'), GeomFromEWKT('SRID=4674;POINT (-40.312528 -2.776515)'))) / (select extract(epoch from '2026-07-22 06:15:32'::timestamp) - extract(epoch from '2026-07-22 06:15: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'), 47639, 'SRID=4674;POINT (-40.312502 -2.776518)', '2026-07-22 06:15:46', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312528 -2.776515)'), GeomFromEWKT('SRID=4674;POINT (-40.312502 -2.776518)'))) / (select extract(epoch from '2026-07-22 06:15:46'::timestamp) - extract(epoch from '2026-07-22 06:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312528 -2.776515)'), GeomFromEWKT('SRID=4674;POINT (-40.312502 -2.776518)'))) / (select extract(epoch from '2026-07-22 06:15:46'::timestamp) - extract(epoch from '2026-07-22 06:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312481 -2.776524)', '2026-07-22 06:15:58', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312502 -2.776518)'), GeomFromEWKT('SRID=4674;POINT (-40.312481 -2.776524)'))) / (select extract(epoch from '2026-07-22 06:15:58'::timestamp) - extract(epoch from '2026-07-22 06:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312502 -2.776518)'), GeomFromEWKT('SRID=4674;POINT (-40.312481 -2.776524)'))) / (select extract(epoch from '2026-07-22 06:15:58'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.312443 -2.776528)', '2026-07-22 06:16:13', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312481 -2.776524)'), GeomFromEWKT('SRID=4674;POINT (-40.312443 -2.776528)'))) / (select extract(epoch from '2026-07-22 06:16:13'::timestamp) - extract(epoch from '2026-07-22 06:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312481 -2.776524)'), GeomFromEWKT('SRID=4674;POINT (-40.312443 -2.776528)'))) / (select extract(epoch from '2026-07-22 06:16:13'::timestamp) - extract(epoch from '2026-07-22 06:15: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'), 47639, 'SRID=4674;POINT (-40.312382 -2.776513)', '2026-07-22 06:16:30', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312443 -2.776528)'), GeomFromEWKT('SRID=4674;POINT (-40.312382 -2.776513)'))) / (select extract(epoch from '2026-07-22 06:16:30'::timestamp) - extract(epoch from '2026-07-22 06:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312443 -2.776528)'), GeomFromEWKT('SRID=4674;POINT (-40.312382 -2.776513)'))) / (select extract(epoch from '2026-07-22 06:16:30'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.312348 -2.776512)', '2026-07-22 06:16:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312382 -2.776513)'), GeomFromEWKT('SRID=4674;POINT (-40.312348 -2.776512)'))) / (select extract(epoch from '2026-07-22 06:16:37'::timestamp) - extract(epoch from '2026-07-22 06:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312382 -2.776513)'), GeomFromEWKT('SRID=4674;POINT (-40.312348 -2.776512)'))) / (select extract(epoch from '2026-07-22 06:16:37'::timestamp) - extract(epoch from '2026-07-22 06:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312328 -2.776515)', '2026-07-22 06:16:46', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312348 -2.776512)'), GeomFromEWKT('SRID=4674;POINT (-40.312328 -2.776515)'))) / (select extract(epoch from '2026-07-22 06:16:46'::timestamp) - extract(epoch from '2026-07-22 06:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312348 -2.776512)'), GeomFromEWKT('SRID=4674;POINT (-40.312328 -2.776515)'))) / (select extract(epoch from '2026-07-22 06:16:46'::timestamp) - extract(epoch from '2026-07-22 06:16:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312305 -2.776519)', '2026-07-22 06:16:57', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312328 -2.776515)'), GeomFromEWKT('SRID=4674;POINT (-40.312305 -2.776519)'))) / (select extract(epoch from '2026-07-22 06:16:57'::timestamp) - extract(epoch from '2026-07-22 06:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312328 -2.776515)'), GeomFromEWKT('SRID=4674;POINT (-40.312305 -2.776519)'))) / (select extract(epoch from '2026-07-22 06:16:57'::timestamp) - extract(epoch from '2026-07-22 06:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312237 -2.776505)', '2026-07-22 06:17:13', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312305 -2.776519)'), GeomFromEWKT('SRID=4674;POINT (-40.312237 -2.776505)'))) / (select extract(epoch from '2026-07-22 06:17:13'::timestamp) - extract(epoch from '2026-07-22 06:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312305 -2.776519)'), GeomFromEWKT('SRID=4674;POINT (-40.312237 -2.776505)'))) / (select extract(epoch from '2026-07-22 06:17:13'::timestamp) - extract(epoch from '2026-07-22 06:16: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'), 47639, 'SRID=4674;POINT (-40.31221 -2.776518)', '2026-07-22 06:17:26', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312237 -2.776505)'), GeomFromEWKT('SRID=4674;POINT (-40.31221 -2.776518)'))) / (select extract(epoch from '2026-07-22 06:17:26'::timestamp) - extract(epoch from '2026-07-22 06:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312237 -2.776505)'), GeomFromEWKT('SRID=4674;POINT (-40.31221 -2.776518)'))) / (select extract(epoch from '2026-07-22 06:17:26'::timestamp) - extract(epoch from '2026-07-22 06:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312194 -2.776523)', '2026-07-22 06:17:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31221 -2.776518)'), GeomFromEWKT('SRID=4674;POINT (-40.312194 -2.776523)'))) / (select extract(epoch from '2026-07-22 06:17:37'::timestamp) - extract(epoch from '2026-07-22 06:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31221 -2.776518)'), GeomFromEWKT('SRID=4674;POINT (-40.312194 -2.776523)'))) / (select extract(epoch from '2026-07-22 06:17:37'::timestamp) - extract(epoch from '2026-07-22 06:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312132 -2.776524)', '2026-07-22 06:17:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312194 -2.776523)'), GeomFromEWKT('SRID=4674;POINT (-40.312132 -2.776524)'))) / (select extract(epoch from '2026-07-22 06:17:54'::timestamp) - extract(epoch from '2026-07-22 06:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312194 -2.776523)'), GeomFromEWKT('SRID=4674;POINT (-40.312132 -2.776524)'))) / (select extract(epoch from '2026-07-22 06:17:54'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.312118 -2.776528)', '2026-07-22 06:18:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312132 -2.776524)'), GeomFromEWKT('SRID=4674;POINT (-40.312118 -2.776528)'))) / (select extract(epoch from '2026-07-22 06:18:07'::timestamp) - extract(epoch from '2026-07-22 06:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312132 -2.776524)'), GeomFromEWKT('SRID=4674;POINT (-40.312118 -2.776528)'))) / (select extract(epoch from '2026-07-22 06:18:07'::timestamp) - extract(epoch from '2026-07-22 06:17:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312087 -2.776538)', '2026-07-22 06:18:21', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312118 -2.776528)'), GeomFromEWKT('SRID=4674;POINT (-40.312087 -2.776538)'))) / (select extract(epoch from '2026-07-22 06:18:21'::timestamp) - extract(epoch from '2026-07-22 06:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312118 -2.776528)'), GeomFromEWKT('SRID=4674;POINT (-40.312087 -2.776538)'))) / (select extract(epoch from '2026-07-22 06:18:21'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.312057 -2.776541)', '2026-07-22 06:18:37', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312087 -2.776538)'), GeomFromEWKT('SRID=4674;POINT (-40.312057 -2.776541)'))) / (select extract(epoch from '2026-07-22 06:18:37'::timestamp) - extract(epoch from '2026-07-22 06:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312087 -2.776538)'), GeomFromEWKT('SRID=4674;POINT (-40.312057 -2.776541)'))) / (select extract(epoch from '2026-07-22 06:18:37'::timestamp) - extract(epoch from '2026-07-22 06:18: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'), 47639, 'SRID=4674;POINT (-40.312036 -2.776542)', '2026-07-22 06:18:51', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312057 -2.776541)'), GeomFromEWKT('SRID=4674;POINT (-40.312036 -2.776542)'))) / (select extract(epoch from '2026-07-22 06:18:51'::timestamp) - extract(epoch from '2026-07-22 06:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312057 -2.776541)'), GeomFromEWKT('SRID=4674;POINT (-40.312036 -2.776542)'))) / (select extract(epoch from '2026-07-22 06:18:51'::timestamp) - extract(epoch from '2026-07-22 06:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311989 -2.776552)', '2026-07-22 06:19:00', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312036 -2.776542)'), GeomFromEWKT('SRID=4674;POINT (-40.311989 -2.776552)'))) / (select extract(epoch from '2026-07-22 06:19:00'::timestamp) - extract(epoch from '2026-07-22 06:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312036 -2.776542)'), GeomFromEWKT('SRID=4674;POINT (-40.311989 -2.776552)'))) / (select extract(epoch from '2026-07-22 06:19:00'::timestamp) - extract(epoch from '2026-07-22 06:18: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'), 47639, 'SRID=4674;POINT (-40.311945 -2.776542)', '2026-07-22 06:19:11', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311989 -2.776552)'), GeomFromEWKT('SRID=4674;POINT (-40.311945 -2.776542)'))) / (select extract(epoch from '2026-07-22 06:19:11'::timestamp) - extract(epoch from '2026-07-22 06:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311989 -2.776552)'), GeomFromEWKT('SRID=4674;POINT (-40.311945 -2.776542)'))) / (select extract(epoch from '2026-07-22 06:19:11'::timestamp) - extract(epoch from '2026-07-22 06:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311923 -2.776561)', '2026-07-22 06:19:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311945 -2.776542)'), GeomFromEWKT('SRID=4674;POINT (-40.311923 -2.776561)'))) / (select extract(epoch from '2026-07-22 06:19:22'::timestamp) - extract(epoch from '2026-07-22 06:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311945 -2.776542)'), GeomFromEWKT('SRID=4674;POINT (-40.311923 -2.776561)'))) / (select extract(epoch from '2026-07-22 06:19:22'::timestamp) - extract(epoch from '2026-07-22 06:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311889 -2.77658)', '2026-07-22 06:19:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311923 -2.776561)'), GeomFromEWKT('SRID=4674;POINT (-40.311889 -2.77658)'))) / (select extract(epoch from '2026-07-22 06:19:30'::timestamp) - extract(epoch from '2026-07-22 06:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311923 -2.776561)'), GeomFromEWKT('SRID=4674;POINT (-40.311889 -2.77658)'))) / (select extract(epoch from '2026-07-22 06:19:30'::timestamp) - extract(epoch from '2026-07-22 06:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311862 -2.776567)', '2026-07-22 06:19:39', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311889 -2.77658)'), GeomFromEWKT('SRID=4674;POINT (-40.311862 -2.776567)'))) / (select extract(epoch from '2026-07-22 06:19:39'::timestamp) - extract(epoch from '2026-07-22 06:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311889 -2.77658)'), GeomFromEWKT('SRID=4674;POINT (-40.311862 -2.776567)'))) / (select extract(epoch from '2026-07-22 06:19:39'::timestamp) - extract(epoch from '2026-07-22 06:19: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'), 47639, 'SRID=4674;POINT (-40.311858 -2.776569)', '2026-07-22 06:19:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311862 -2.776567)'), GeomFromEWKT('SRID=4674;POINT (-40.311858 -2.776569)'))) / (select extract(epoch from '2026-07-22 06:19:52'::timestamp) - extract(epoch from '2026-07-22 06:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311862 -2.776567)'), GeomFromEWKT('SRID=4674;POINT (-40.311858 -2.776569)'))) / (select extract(epoch from '2026-07-22 06:19:52'::timestamp) - extract(epoch from '2026-07-22 06:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311865 -2.776564)', '2026-07-22 06:20:05', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311858 -2.776569)'), GeomFromEWKT('SRID=4674;POINT (-40.311865 -2.776564)'))) / (select extract(epoch from '2026-07-22 06:20:05'::timestamp) - extract(epoch from '2026-07-22 06:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311858 -2.776569)'), GeomFromEWKT('SRID=4674;POINT (-40.311865 -2.776564)'))) / (select extract(epoch from '2026-07-22 06:20:05'::timestamp) - extract(epoch from '2026-07-22 06:19: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'), 47639, 'SRID=4674;POINT (-40.311873 -2.776553)', '2026-07-22 06:20:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311865 -2.776564)'), GeomFromEWKT('SRID=4674;POINT (-40.311873 -2.776553)'))) / (select extract(epoch from '2026-07-22 06:20:26'::timestamp) - extract(epoch from '2026-07-22 06:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311865 -2.776564)'), GeomFromEWKT('SRID=4674;POINT (-40.311873 -2.776553)'))) / (select extract(epoch from '2026-07-22 06:20:26'::timestamp) - extract(epoch from '2026-07-22 06:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311864 -2.776563)', '2026-07-22 06:20:34', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311873 -2.776553)'), GeomFromEWKT('SRID=4674;POINT (-40.311864 -2.776563)'))) / (select extract(epoch from '2026-07-22 06:20:34'::timestamp) - extract(epoch from '2026-07-22 06:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311873 -2.776553)'), GeomFromEWKT('SRID=4674;POINT (-40.311864 -2.776563)'))) / (select extract(epoch from '2026-07-22 06:20:34'::timestamp) - extract(epoch from '2026-07-22 06:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311796 -2.77658)', '2026-07-22 06:20:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311864 -2.776563)'), GeomFromEWKT('SRID=4674;POINT (-40.311796 -2.77658)'))) / (select extract(epoch from '2026-07-22 06:20:44'::timestamp) - extract(epoch from '2026-07-22 06:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311864 -2.776563)'), GeomFromEWKT('SRID=4674;POINT (-40.311796 -2.77658)'))) / (select extract(epoch from '2026-07-22 06:20:44'::timestamp) - extract(epoch from '2026-07-22 06:20:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311738 -2.7766)', '2026-07-22 06:20:53', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311796 -2.77658)'), GeomFromEWKT('SRID=4674;POINT (-40.311738 -2.7766)'))) / (select extract(epoch from '2026-07-22 06:20:53'::timestamp) - extract(epoch from '2026-07-22 06:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311796 -2.77658)'), GeomFromEWKT('SRID=4674;POINT (-40.311738 -2.7766)'))) / (select extract(epoch from '2026-07-22 06:20:53'::timestamp) - extract(epoch from '2026-07-22 06:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311714 -2.776604)', '2026-07-22 06:21:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311738 -2.7766)'), GeomFromEWKT('SRID=4674;POINT (-40.311714 -2.776604)'))) / (select extract(epoch from '2026-07-22 06:21:01'::timestamp) - extract(epoch from '2026-07-22 06:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311738 -2.7766)'), GeomFromEWKT('SRID=4674;POINT (-40.311714 -2.776604)'))) / (select extract(epoch from '2026-07-22 06:21:01'::timestamp) - extract(epoch from '2026-07-22 06:20:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311696 -2.776609)', '2026-07-22 06:21:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311714 -2.776604)'), GeomFromEWKT('SRID=4674;POINT (-40.311696 -2.776609)'))) / (select extract(epoch from '2026-07-22 06:21:13'::timestamp) - extract(epoch from '2026-07-22 06:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311714 -2.776604)'), GeomFromEWKT('SRID=4674;POINT (-40.311696 -2.776609)'))) / (select extract(epoch from '2026-07-22 06:21:13'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.311643 -2.776601)', '2026-07-22 06:21:30', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311696 -2.776609)'), GeomFromEWKT('SRID=4674;POINT (-40.311643 -2.776601)'))) / (select extract(epoch from '2026-07-22 06:21:30'::timestamp) - extract(epoch from '2026-07-22 06:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311696 -2.776609)'), GeomFromEWKT('SRID=4674;POINT (-40.311643 -2.776601)'))) / (select extract(epoch from '2026-07-22 06:21:30'::timestamp) - extract(epoch from '2026-07-22 06:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311633 -2.776603)', '2026-07-22 06:21:42', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311643 -2.776601)'), GeomFromEWKT('SRID=4674;POINT (-40.311633 -2.776603)'))) / (select extract(epoch from '2026-07-22 06:21:42'::timestamp) - extract(epoch from '2026-07-22 06:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311643 -2.776601)'), GeomFromEWKT('SRID=4674;POINT (-40.311633 -2.776603)'))) / (select extract(epoch from '2026-07-22 06:21:42'::timestamp) - extract(epoch from '2026-07-22 06:21: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'), 47639, 'SRID=4674;POINT (-40.311623 -2.776605)', '2026-07-22 06:21:52', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311633 -2.776603)'), GeomFromEWKT('SRID=4674;POINT (-40.311623 -2.776605)'))) / (select extract(epoch from '2026-07-22 06:21:52'::timestamp) - extract(epoch from '2026-07-22 06:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311633 -2.776603)'), GeomFromEWKT('SRID=4674;POINT (-40.311623 -2.776605)'))) / (select extract(epoch from '2026-07-22 06:21:52'::timestamp) - extract(epoch from '2026-07-22 06:21: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'), 47639, 'SRID=4674;POINT (-40.311584 -2.7766)', '2026-07-22 06:22:03', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311623 -2.776605)'), GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.7766)'))) / (select extract(epoch from '2026-07-22 06:22:03'::timestamp) - extract(epoch from '2026-07-22 06:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311623 -2.776605)'), GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.7766)'))) / (select extract(epoch from '2026-07-22 06:22:03'::timestamp) - extract(epoch from '2026-07-22 06:21: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'), 47639, 'SRID=4674;POINT (-40.311509 -2.776596)', '2026-07-22 06:22:17', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.7766)'), GeomFromEWKT('SRID=4674;POINT (-40.311509 -2.776596)'))) / (select extract(epoch from '2026-07-22 06:22:17'::timestamp) - extract(epoch from '2026-07-22 06:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.7766)'), GeomFromEWKT('SRID=4674;POINT (-40.311509 -2.776596)'))) / (select extract(epoch from '2026-07-22 06:22:17'::timestamp) - extract(epoch from '2026-07-22 06:22: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'), 47639, 'SRID=4674;POINT (-40.311428 -2.776586)', '2026-07-22 06:22:33', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311509 -2.776596)'), GeomFromEWKT('SRID=4674;POINT (-40.311428 -2.776586)'))) / (select extract(epoch from '2026-07-22 06:22:33'::timestamp) - extract(epoch from '2026-07-22 06:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311509 -2.776596)'), GeomFromEWKT('SRID=4674;POINT (-40.311428 -2.776586)'))) / (select extract(epoch from '2026-07-22 06:22:33'::timestamp) - extract(epoch from '2026-07-22 06:22: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'), 47639, 'SRID=4674;POINT (-40.311377 -2.776599)', '2026-07-22 06:22:42', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311428 -2.776586)'), GeomFromEWKT('SRID=4674;POINT (-40.311377 -2.776599)'))) / (select extract(epoch from '2026-07-22 06:22:42'::timestamp) - extract(epoch from '2026-07-22 06:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311428 -2.776586)'), GeomFromEWKT('SRID=4674;POINT (-40.311377 -2.776599)'))) / (select extract(epoch from '2026-07-22 06:22:42'::timestamp) - extract(epoch from '2026-07-22 06:22: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'), 47639, 'SRID=4674;POINT (-40.311325 -2.776598)', '2026-07-22 06:22:51', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311377 -2.776599)'), GeomFromEWKT('SRID=4674;POINT (-40.311325 -2.776598)'))) / (select extract(epoch from '2026-07-22 06:22:51'::timestamp) - extract(epoch from '2026-07-22 06:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311377 -2.776599)'), GeomFromEWKT('SRID=4674;POINT (-40.311325 -2.776598)'))) / (select extract(epoch from '2026-07-22 06:22:51'::timestamp) - extract(epoch from '2026-07-22 06:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311298 -2.776591)', '2026-07-22 06:23:03', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311325 -2.776598)'), GeomFromEWKT('SRID=4674;POINT (-40.311298 -2.776591)'))) / (select extract(epoch from '2026-07-22 06:23:03'::timestamp) - extract(epoch from '2026-07-22 06:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311325 -2.776598)'), GeomFromEWKT('SRID=4674;POINT (-40.311298 -2.776591)'))) / (select extract(epoch from '2026-07-22 06:23:03'::timestamp) - extract(epoch from '2026-07-22 06:22:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311283 -2.776588)', '2026-07-22 06:23:15', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311298 -2.776591)'), GeomFromEWKT('SRID=4674;POINT (-40.311283 -2.776588)'))) / (select extract(epoch from '2026-07-22 06:23:15'::timestamp) - extract(epoch from '2026-07-22 06:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311298 -2.776591)'), GeomFromEWKT('SRID=4674;POINT (-40.311283 -2.776588)'))) / (select extract(epoch from '2026-07-22 06:23:15'::timestamp) - extract(epoch from '2026-07-22 06:23: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'), 47639, 'SRID=4674;POINT (-40.31127 -2.776598)', '2026-07-22 06:23:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311283 -2.776588)'), GeomFromEWKT('SRID=4674;POINT (-40.31127 -2.776598)'))) / (select extract(epoch from '2026-07-22 06:23:25'::timestamp) - extract(epoch from '2026-07-22 06:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311283 -2.776588)'), GeomFromEWKT('SRID=4674;POINT (-40.31127 -2.776598)'))) / (select extract(epoch from '2026-07-22 06:23:25'::timestamp) - extract(epoch from '2026-07-22 06:23: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'), 47639, 'SRID=4674;POINT (-40.311246 -2.776594)', '2026-07-22 06:23:35', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31127 -2.776598)'), GeomFromEWKT('SRID=4674;POINT (-40.311246 -2.776594)'))) / (select extract(epoch from '2026-07-22 06:23:35'::timestamp) - extract(epoch from '2026-07-22 06:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31127 -2.776598)'), GeomFromEWKT('SRID=4674;POINT (-40.311246 -2.776594)'))) / (select extract(epoch from '2026-07-22 06:23:35'::timestamp) - extract(epoch from '2026-07-22 06:23: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'), 47639, 'SRID=4674;POINT (-40.311214 -2.776574)', '2026-07-22 06:23:47', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311246 -2.776594)'), GeomFromEWKT('SRID=4674;POINT (-40.311214 -2.776574)'))) / (select extract(epoch from '2026-07-22 06:23:47'::timestamp) - extract(epoch from '2026-07-22 06:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311246 -2.776594)'), GeomFromEWKT('SRID=4674;POINT (-40.311214 -2.776574)'))) / (select extract(epoch from '2026-07-22 06:23:47'::timestamp) - extract(epoch from '2026-07-22 06:23: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'), 47639, 'SRID=4674;POINT (-40.311192 -2.776577)', '2026-07-22 06:24:02', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311214 -2.776574)'), GeomFromEWKT('SRID=4674;POINT (-40.311192 -2.776577)'))) / (select extract(epoch from '2026-07-22 06:24:02'::timestamp) - extract(epoch from '2026-07-22 06:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311214 -2.776574)'), GeomFromEWKT('SRID=4674;POINT (-40.311192 -2.776577)'))) / (select extract(epoch from '2026-07-22 06:24:02'::timestamp) - extract(epoch from '2026-07-22 06:23: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'), 47639, 'SRID=4674;POINT (-40.311184 -2.77658)', '2026-07-22 06:24:16', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311192 -2.776577)'), GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.77658)'))) / (select extract(epoch from '2026-07-22 06:24:16'::timestamp) - extract(epoch from '2026-07-22 06:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311192 -2.776577)'), GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.77658)'))) / (select extract(epoch from '2026-07-22 06:24:16'::timestamp) - extract(epoch from '2026-07-22 06:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311184 -2.776572)', '2026-07-22 06:24:32', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.77658)'), GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.776572)'))) / (select extract(epoch from '2026-07-22 06:24:32'::timestamp) - extract(epoch from '2026-07-22 06:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.77658)'), GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.776572)'))) / (select extract(epoch from '2026-07-22 06:24:32'::timestamp) - extract(epoch from '2026-07-22 06:24: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'), 47639, 'SRID=4674;POINT (-40.311187 -2.776575)', '2026-07-22 06:24:51', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.776572)'), GeomFromEWKT('SRID=4674;POINT (-40.311187 -2.776575)'))) / (select extract(epoch from '2026-07-22 06:24:51'::timestamp) - extract(epoch from '2026-07-22 06:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.776572)'), GeomFromEWKT('SRID=4674;POINT (-40.311187 -2.776575)'))) / (select extract(epoch from '2026-07-22 06:24:51'::timestamp) - extract(epoch from '2026-07-22 06:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311179 -2.776584)', '2026-07-22 06:25:05', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311187 -2.776575)'), GeomFromEWKT('SRID=4674;POINT (-40.311179 -2.776584)'))) / (select extract(epoch from '2026-07-22 06:25:05'::timestamp) - extract(epoch from '2026-07-22 06:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311187 -2.776575)'), GeomFromEWKT('SRID=4674;POINT (-40.311179 -2.776584)'))) / (select extract(epoch from '2026-07-22 06:25:05'::timestamp) - extract(epoch from '2026-07-22 06:24: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'), 47639, 'SRID=4674;POINT (-40.31112 -2.776582)', '2026-07-22 06:25:17', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311179 -2.776584)'), GeomFromEWKT('SRID=4674;POINT (-40.31112 -2.776582)'))) / (select extract(epoch from '2026-07-22 06:25:17'::timestamp) - extract(epoch from '2026-07-22 06:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311179 -2.776584)'), GeomFromEWKT('SRID=4674;POINT (-40.31112 -2.776582)'))) / (select extract(epoch from '2026-07-22 06:25:17'::timestamp) - extract(epoch from '2026-07-22 06:25: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'), 47639, 'SRID=4674;POINT (-40.311084 -2.776568)', '2026-07-22 06:25:26', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31112 -2.776582)'), GeomFromEWKT('SRID=4674;POINT (-40.311084 -2.776568)'))) / (select extract(epoch from '2026-07-22 06:25:26'::timestamp) - extract(epoch from '2026-07-22 06:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31112 -2.776582)'), GeomFromEWKT('SRID=4674;POINT (-40.311084 -2.776568)'))) / (select extract(epoch from '2026-07-22 06:25:26'::timestamp) - extract(epoch from '2026-07-22 06:25: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'), 47639, 'SRID=4674;POINT (-40.311063 -2.776575)', '2026-07-22 06:25:35', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311084 -2.776568)'), GeomFromEWKT('SRID=4674;POINT (-40.311063 -2.776575)'))) / (select extract(epoch from '2026-07-22 06:25:35'::timestamp) - extract(epoch from '2026-07-22 06:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311084 -2.776568)'), GeomFromEWKT('SRID=4674;POINT (-40.311063 -2.776575)'))) / (select extract(epoch from '2026-07-22 06:25:35'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.311046 -2.776579)', '2026-07-22 06:25:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311063 -2.776575)'), GeomFromEWKT('SRID=4674;POINT (-40.311046 -2.776579)'))) / (select extract(epoch from '2026-07-22 06:25:44'::timestamp) - extract(epoch from '2026-07-22 06:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311063 -2.776575)'), GeomFromEWKT('SRID=4674;POINT (-40.311046 -2.776579)'))) / (select extract(epoch from '2026-07-22 06:25:44'::timestamp) - extract(epoch from '2026-07-22 06:25: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'), 47639, 'SRID=4674;POINT (-40.311 -2.776572)', '2026-07-22 06:25:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311046 -2.776579)'), GeomFromEWKT('SRID=4674;POINT (-40.311 -2.776572)'))) / (select extract(epoch from '2026-07-22 06:25:54'::timestamp) - extract(epoch from '2026-07-22 06:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311046 -2.776579)'), GeomFromEWKT('SRID=4674;POINT (-40.311 -2.776572)'))) / (select extract(epoch from '2026-07-22 06:25:54'::timestamp) - extract(epoch from '2026-07-22 06:25: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'), 47639, 'SRID=4674;POINT (-40.310943 -2.776554)', '2026-07-22 06:26:04', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311 -2.776572)'), GeomFromEWKT('SRID=4674;POINT (-40.310943 -2.776554)'))) / (select extract(epoch from '2026-07-22 06:26:04'::timestamp) - extract(epoch from '2026-07-22 06:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311 -2.776572)'), GeomFromEWKT('SRID=4674;POINT (-40.310943 -2.776554)'))) / (select extract(epoch from '2026-07-22 06:26:04'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.310924 -2.776551)', '2026-07-22 06:26:12', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310943 -2.776554)'), GeomFromEWKT('SRID=4674;POINT (-40.310924 -2.776551)'))) / (select extract(epoch from '2026-07-22 06:26:12'::timestamp) - extract(epoch from '2026-07-22 06:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310943 -2.776554)'), GeomFromEWKT('SRID=4674;POINT (-40.310924 -2.776551)'))) / (select extract(epoch from '2026-07-22 06:26:12'::timestamp) - extract(epoch from '2026-07-22 06:26: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'), 47639, 'SRID=4674;POINT (-40.310912 -2.776534)', '2026-07-22 06:26:24', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310924 -2.776551)'), GeomFromEWKT('SRID=4674;POINT (-40.310912 -2.776534)'))) / (select extract(epoch from '2026-07-22 06:26:24'::timestamp) - extract(epoch from '2026-07-22 06:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310924 -2.776551)'), GeomFromEWKT('SRID=4674;POINT (-40.310912 -2.776534)'))) / (select extract(epoch from '2026-07-22 06:26:24'::timestamp) - extract(epoch from '2026-07-22 06:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310918 -2.776533)', '2026-07-22 06:26:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310912 -2.776534)'), GeomFromEWKT('SRID=4674;POINT (-40.310918 -2.776533)'))) / (select extract(epoch from '2026-07-22 06:26:33'::timestamp) - extract(epoch from '2026-07-22 06:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310912 -2.776534)'), GeomFromEWKT('SRID=4674;POINT (-40.310918 -2.776533)'))) / (select extract(epoch from '2026-07-22 06:26:33'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.310927 -2.776531)', '2026-07-22 06:26:46', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310918 -2.776533)'), GeomFromEWKT('SRID=4674;POINT (-40.310927 -2.776531)'))) / (select extract(epoch from '2026-07-22 06:26:46'::timestamp) - extract(epoch from '2026-07-22 06:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310918 -2.776533)'), GeomFromEWKT('SRID=4674;POINT (-40.310927 -2.776531)'))) / (select extract(epoch from '2026-07-22 06:26:46'::timestamp) - extract(epoch from '2026-07-22 06:26: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'), 47639, 'SRID=4674;POINT (-40.31093 -2.776513)', '2026-07-22 06:26:57', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310927 -2.776531)'), GeomFromEWKT('SRID=4674;POINT (-40.31093 -2.776513)'))) / (select extract(epoch from '2026-07-22 06:26:57'::timestamp) - extract(epoch from '2026-07-22 06:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310927 -2.776531)'), GeomFromEWKT('SRID=4674;POINT (-40.31093 -2.776513)'))) / (select extract(epoch from '2026-07-22 06:26:57'::timestamp) - extract(epoch from '2026-07-22 06:26: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'), 47639, 'SRID=4674;POINT (-40.310934 -2.776506)', '2026-07-22 06:27:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31093 -2.776513)'), GeomFromEWKT('SRID=4674;POINT (-40.310934 -2.776506)'))) / (select extract(epoch from '2026-07-22 06:27:11'::timestamp) - extract(epoch from '2026-07-22 06:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31093 -2.776513)'), GeomFromEWKT('SRID=4674;POINT (-40.310934 -2.776506)'))) / (select extract(epoch from '2026-07-22 06:27:11'::timestamp) - extract(epoch from '2026-07-22 06:26: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'), 47639, 'SRID=4674;POINT (-40.31094 -2.776506)', '2026-07-22 06:27:24', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310934 -2.776506)'), GeomFromEWKT('SRID=4674;POINT (-40.31094 -2.776506)'))) / (select extract(epoch from '2026-07-22 06:27:24'::timestamp) - extract(epoch from '2026-07-22 06:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310934 -2.776506)'), GeomFromEWKT('SRID=4674;POINT (-40.31094 -2.776506)'))) / (select extract(epoch from '2026-07-22 06:27:24'::timestamp) - extract(epoch from '2026-07-22 06:27: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'), 47639, 'SRID=4674;POINT (-40.31096 -2.776502)', '2026-07-22 06:27:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31094 -2.776506)'), GeomFromEWKT('SRID=4674;POINT (-40.31096 -2.776502)'))) / (select extract(epoch from '2026-07-22 06:27:39'::timestamp) - extract(epoch from '2026-07-22 06:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31094 -2.776506)'), GeomFromEWKT('SRID=4674;POINT (-40.31096 -2.776502)'))) / (select extract(epoch from '2026-07-22 06:27:39'::timestamp) - extract(epoch from '2026-07-22 06:27: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'), 47639, 'SRID=4674;POINT (-40.311022 -2.776533)', '2026-07-22 06:27:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31096 -2.776502)'), GeomFromEWKT('SRID=4674;POINT (-40.311022 -2.776533)'))) / (select extract(epoch from '2026-07-22 06:27:47'::timestamp) - extract(epoch from '2026-07-22 06:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31096 -2.776502)'), GeomFromEWKT('SRID=4674;POINT (-40.311022 -2.776533)'))) / (select extract(epoch from '2026-07-22 06:27:47'::timestamp) - extract(epoch from '2026-07-22 06:27: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'), 47639, 'SRID=4674;POINT (-40.311053 -2.776611)', '2026-07-22 06:27:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311022 -2.776533)'), GeomFromEWKT('SRID=4674;POINT (-40.311053 -2.776611)'))) / (select extract(epoch from '2026-07-22 06:27:54'::timestamp) - extract(epoch from '2026-07-22 06:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311022 -2.776533)'), GeomFromEWKT('SRID=4674;POINT (-40.311053 -2.776611)'))) / (select extract(epoch from '2026-07-22 06:27:54'::timestamp) - extract(epoch from '2026-07-22 06:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311021 -2.776705)', '2026-07-22 06:28:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311053 -2.776611)'), GeomFromEWKT('SRID=4674;POINT (-40.311021 -2.776705)'))) / (select extract(epoch from '2026-07-22 06:28:01'::timestamp) - extract(epoch from '2026-07-22 06:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311053 -2.776611)'), GeomFromEWKT('SRID=4674;POINT (-40.311021 -2.776705)'))) / (select extract(epoch from '2026-07-22 06:28:01'::timestamp) - extract(epoch from '2026-07-22 06:27: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'), 47639, 'SRID=4674;POINT (-40.31097 -2.776837)', '2026-07-22 06:28:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311021 -2.776705)'), GeomFromEWKT('SRID=4674;POINT (-40.31097 -2.776837)'))) / (select extract(epoch from '2026-07-22 06:28:09'::timestamp) - extract(epoch from '2026-07-22 06:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311021 -2.776705)'), GeomFromEWKT('SRID=4674;POINT (-40.31097 -2.776837)'))) / (select extract(epoch from '2026-07-22 06:28:09'::timestamp) - extract(epoch from '2026-07-22 06:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310901 -2.776936)', '2026-07-22 06:28:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31097 -2.776837)'), GeomFromEWKT('SRID=4674;POINT (-40.310901 -2.776936)'))) / (select extract(epoch from '2026-07-22 06:28:16'::timestamp) - extract(epoch from '2026-07-22 06:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31097 -2.776837)'), GeomFromEWKT('SRID=4674;POINT (-40.310901 -2.776936)'))) / (select extract(epoch from '2026-07-22 06:28:16'::timestamp) - extract(epoch from '2026-07-22 06:28: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'), 47639, 'SRID=4674;POINT (-40.310838 -2.777082)', '2026-07-22 06:28:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310901 -2.776936)'), GeomFromEWKT('SRID=4674;POINT (-40.310838 -2.777082)'))) / (select extract(epoch from '2026-07-22 06:28:24'::timestamp) - extract(epoch from '2026-07-22 06:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310901 -2.776936)'), GeomFromEWKT('SRID=4674;POINT (-40.310838 -2.777082)'))) / (select extract(epoch from '2026-07-22 06:28:24'::timestamp) - extract(epoch from '2026-07-22 06:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310818 -2.777239)', '2026-07-22 06:28:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310838 -2.777082)'), GeomFromEWKT('SRID=4674;POINT (-40.310818 -2.777239)'))) / (select extract(epoch from '2026-07-22 06:28:32'::timestamp) - extract(epoch from '2026-07-22 06:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310838 -2.777082)'), GeomFromEWKT('SRID=4674;POINT (-40.310818 -2.777239)'))) / (select extract(epoch from '2026-07-22 06:28:32'::timestamp) - extract(epoch from '2026-07-22 06:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310786 -2.777383)', '2026-07-22 06:28:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310818 -2.777239)'), GeomFromEWKT('SRID=4674;POINT (-40.310786 -2.777383)'))) / (select extract(epoch from '2026-07-22 06:28:41'::timestamp) - extract(epoch from '2026-07-22 06:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310818 -2.777239)'), GeomFromEWKT('SRID=4674;POINT (-40.310786 -2.777383)'))) / (select extract(epoch from '2026-07-22 06:28:41'::timestamp) - extract(epoch from '2026-07-22 06:28: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'), 47639, 'SRID=4674;POINT (-40.310734 -2.777525)', '2026-07-22 06:28:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310786 -2.777383)'), GeomFromEWKT('SRID=4674;POINT (-40.310734 -2.777525)'))) / (select extract(epoch from '2026-07-22 06:28:48'::timestamp) - extract(epoch from '2026-07-22 06:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310786 -2.777383)'), GeomFromEWKT('SRID=4674;POINT (-40.310734 -2.777525)'))) / (select extract(epoch from '2026-07-22 06:28:48'::timestamp) - extract(epoch from '2026-07-22 06:28: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'), 47639, 'SRID=4674;POINT (-40.31069 -2.777659)', '2026-07-22 06:28:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310734 -2.777525)'), GeomFromEWKT('SRID=4674;POINT (-40.31069 -2.777659)'))) / (select extract(epoch from '2026-07-22 06:28:56'::timestamp) - extract(epoch from '2026-07-22 06:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310734 -2.777525)'), GeomFromEWKT('SRID=4674;POINT (-40.31069 -2.777659)'))) / (select extract(epoch from '2026-07-22 06:28:56'::timestamp) - extract(epoch from '2026-07-22 06:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310656 -2.777796)', '2026-07-22 06:29:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31069 -2.777659)'), GeomFromEWKT('SRID=4674;POINT (-40.310656 -2.777796)'))) / (select extract(epoch from '2026-07-22 06:29:04'::timestamp) - extract(epoch from '2026-07-22 06:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31069 -2.777659)'), GeomFromEWKT('SRID=4674;POINT (-40.310656 -2.777796)'))) / (select extract(epoch from '2026-07-22 06:29:04'::timestamp) - extract(epoch from '2026-07-22 06:28:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310618 -2.777925)', '2026-07-22 06:29:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310656 -2.777796)'), GeomFromEWKT('SRID=4674;POINT (-40.310618 -2.777925)'))) / (select extract(epoch from '2026-07-22 06:29:12'::timestamp) - extract(epoch from '2026-07-22 06:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310656 -2.777796)'), GeomFromEWKT('SRID=4674;POINT (-40.310618 -2.777925)'))) / (select extract(epoch from '2026-07-22 06:29:12'::timestamp) - extract(epoch from '2026-07-22 06:29: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'), 47639, 'SRID=4674;POINT (-40.310592 -2.778026)', '2026-07-22 06:29:18', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310618 -2.777925)'), GeomFromEWKT('SRID=4674;POINT (-40.310592 -2.778026)'))) / (select extract(epoch from '2026-07-22 06:29:18'::timestamp) - extract(epoch from '2026-07-22 06:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310618 -2.777925)'), GeomFromEWKT('SRID=4674;POINT (-40.310592 -2.778026)'))) / (select extract(epoch from '2026-07-22 06:29:18'::timestamp) - extract(epoch from '2026-07-22 06:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310549 -2.778129)', '2026-07-22 06:29:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310592 -2.778026)'), GeomFromEWKT('SRID=4674;POINT (-40.310549 -2.778129)'))) / (select extract(epoch from '2026-07-22 06:29:24'::timestamp) - extract(epoch from '2026-07-22 06:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310592 -2.778026)'), GeomFromEWKT('SRID=4674;POINT (-40.310549 -2.778129)'))) / (select extract(epoch from '2026-07-22 06:29:24'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.310507 -2.778295)', '2026-07-22 06:29:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310549 -2.778129)'), GeomFromEWKT('SRID=4674;POINT (-40.310507 -2.778295)'))) / (select extract(epoch from '2026-07-22 06:29:33'::timestamp) - extract(epoch from '2026-07-22 06:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310549 -2.778129)'), GeomFromEWKT('SRID=4674;POINT (-40.310507 -2.778295)'))) / (select extract(epoch from '2026-07-22 06:29:33'::timestamp) - extract(epoch from '2026-07-22 06:29: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'), 47639, 'SRID=4674;POINT (-40.310466 -2.778444)', '2026-07-22 06:29:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310507 -2.778295)'), GeomFromEWKT('SRID=4674;POINT (-40.310466 -2.778444)'))) / (select extract(epoch from '2026-07-22 06:29:41'::timestamp) - extract(epoch from '2026-07-22 06:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310507 -2.778295)'), GeomFromEWKT('SRID=4674;POINT (-40.310466 -2.778444)'))) / (select extract(epoch from '2026-07-22 06:29:41'::timestamp) - extract(epoch from '2026-07-22 06:29: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'), 47639, 'SRID=4674;POINT (-40.310471 -2.77854)', '2026-07-22 06:29:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310466 -2.778444)'), GeomFromEWKT('SRID=4674;POINT (-40.310471 -2.77854)'))) / (select extract(epoch from '2026-07-22 06:29:47'::timestamp) - extract(epoch from '2026-07-22 06:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310466 -2.778444)'), GeomFromEWKT('SRID=4674;POINT (-40.310471 -2.77854)'))) / (select extract(epoch from '2026-07-22 06:29:47'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.310447 -2.778693)', '2026-07-22 06:29:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310471 -2.77854)'), GeomFromEWKT('SRID=4674;POINT (-40.310447 -2.778693)'))) / (select extract(epoch from '2026-07-22 06:29:56'::timestamp) - extract(epoch from '2026-07-22 06:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310471 -2.77854)'), GeomFromEWKT('SRID=4674;POINT (-40.310447 -2.778693)'))) / (select extract(epoch from '2026-07-22 06:29:56'::timestamp) - extract(epoch from '2026-07-22 06:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310409 -2.778869)', '2026-07-22 06:30:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310447 -2.778693)'), GeomFromEWKT('SRID=4674;POINT (-40.310409 -2.778869)'))) / (select extract(epoch from '2026-07-22 06:30:06'::timestamp) - extract(epoch from '2026-07-22 06:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310447 -2.778693)'), GeomFromEWKT('SRID=4674;POINT (-40.310409 -2.778869)'))) / (select extract(epoch from '2026-07-22 06:30:06'::timestamp) - extract(epoch from '2026-07-22 06:29: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'), 47639, 'SRID=4674;POINT (-40.310375 -2.779012)', '2026-07-22 06:30:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310409 -2.778869)'), GeomFromEWKT('SRID=4674;POINT (-40.310375 -2.779012)'))) / (select extract(epoch from '2026-07-22 06:30:14'::timestamp) - extract(epoch from '2026-07-22 06:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310409 -2.778869)'), GeomFromEWKT('SRID=4674;POINT (-40.310375 -2.779012)'))) / (select extract(epoch from '2026-07-22 06:30:14'::timestamp) - extract(epoch from '2026-07-22 06:30:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.31035 -2.779129)', '2026-07-22 06:30:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310375 -2.779012)'), GeomFromEWKT('SRID=4674;POINT (-40.31035 -2.779129)'))) / (select extract(epoch from '2026-07-22 06:30:21'::timestamp) - extract(epoch from '2026-07-22 06:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310375 -2.779012)'), GeomFromEWKT('SRID=4674;POINT (-40.31035 -2.779129)'))) / (select extract(epoch from '2026-07-22 06:30:21'::timestamp) - extract(epoch from '2026-07-22 06:30: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'), 47639, 'SRID=4674;POINT (-40.310311 -2.779231)', '2026-07-22 06:30:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31035 -2.779129)'), GeomFromEWKT('SRID=4674;POINT (-40.310311 -2.779231)'))) / (select extract(epoch from '2026-07-22 06:30:27'::timestamp) - extract(epoch from '2026-07-22 06:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31035 -2.779129)'), GeomFromEWKT('SRID=4674;POINT (-40.310311 -2.779231)'))) / (select extract(epoch from '2026-07-22 06:30:27'::timestamp) - extract(epoch from '2026-07-22 06:30: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'), 47639, 'SRID=4674;POINT (-40.310236 -2.779373)', '2026-07-22 06:30:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310311 -2.779231)'), GeomFromEWKT('SRID=4674;POINT (-40.310236 -2.779373)'))) / (select extract(epoch from '2026-07-22 06:30:36'::timestamp) - extract(epoch from '2026-07-22 06:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310311 -2.779231)'), GeomFromEWKT('SRID=4674;POINT (-40.310236 -2.779373)'))) / (select extract(epoch from '2026-07-22 06:30:36'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.31017 -2.779517)', '2026-07-22 06:30:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310236 -2.779373)'), GeomFromEWKT('SRID=4674;POINT (-40.31017 -2.779517)'))) / (select extract(epoch from '2026-07-22 06:30:45'::timestamp) - extract(epoch from '2026-07-22 06:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310236 -2.779373)'), GeomFromEWKT('SRID=4674;POINT (-40.31017 -2.779517)'))) / (select extract(epoch from '2026-07-22 06:30:45'::timestamp) - extract(epoch from '2026-07-22 06:30: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'), 47639, 'SRID=4674;POINT (-40.310124 -2.779673)', '2026-07-22 06:30:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31017 -2.779517)'), GeomFromEWKT('SRID=4674;POINT (-40.310124 -2.779673)'))) / (select extract(epoch from '2026-07-22 06:30:55'::timestamp) - extract(epoch from '2026-07-22 06:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31017 -2.779517)'), GeomFromEWKT('SRID=4674;POINT (-40.310124 -2.779673)'))) / (select extract(epoch from '2026-07-22 06:30:55'::timestamp) - extract(epoch from '2026-07-22 06:30: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'), 47639, 'SRID=4674;POINT (-40.310092 -2.779807)', '2026-07-22 06:31:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310124 -2.779673)'), GeomFromEWKT('SRID=4674;POINT (-40.310092 -2.779807)'))) / (select extract(epoch from '2026-07-22 06:31:03'::timestamp) - extract(epoch from '2026-07-22 06:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310124 -2.779673)'), GeomFromEWKT('SRID=4674;POINT (-40.310092 -2.779807)'))) / (select extract(epoch from '2026-07-22 06:31:03'::timestamp) - extract(epoch from '2026-07-22 06:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310043 -2.779967)', '2026-07-22 06:31:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310092 -2.779807)'), GeomFromEWKT('SRID=4674;POINT (-40.310043 -2.779967)'))) / (select extract(epoch from '2026-07-22 06:31:12'::timestamp) - extract(epoch from '2026-07-22 06:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310092 -2.779807)'), GeomFromEWKT('SRID=4674;POINT (-40.310043 -2.779967)'))) / (select extract(epoch from '2026-07-22 06:31:12'::timestamp) - extract(epoch from '2026-07-22 06:31: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'), 47639, 'SRID=4674;POINT (-40.310015 -2.780113)', '2026-07-22 06:31:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310043 -2.779967)'), GeomFromEWKT('SRID=4674;POINT (-40.310015 -2.780113)'))) / (select extract(epoch from '2026-07-22 06:31:20'::timestamp) - extract(epoch from '2026-07-22 06:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310043 -2.779967)'), GeomFromEWKT('SRID=4674;POINT (-40.310015 -2.780113)'))) / (select extract(epoch from '2026-07-22 06:31:20'::timestamp) - extract(epoch from '2026-07-22 06:31:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309991 -2.780272)', '2026-07-22 06:31:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310015 -2.780113)'), GeomFromEWKT('SRID=4674;POINT (-40.309991 -2.780272)'))) / (select extract(epoch from '2026-07-22 06:31:29'::timestamp) - extract(epoch from '2026-07-22 06:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310015 -2.780113)'), GeomFromEWKT('SRID=4674;POINT (-40.309991 -2.780272)'))) / (select extract(epoch from '2026-07-22 06:31:29'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.309955 -2.780396)', '2026-07-22 06:31:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309991 -2.780272)'), GeomFromEWKT('SRID=4674;POINT (-40.309955 -2.780396)'))) / (select extract(epoch from '2026-07-22 06:31:36'::timestamp) - extract(epoch from '2026-07-22 06:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309991 -2.780272)'), GeomFromEWKT('SRID=4674;POINT (-40.309955 -2.780396)'))) / (select extract(epoch from '2026-07-22 06:31:36'::timestamp) - extract(epoch from '2026-07-22 06:31: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'), 47639, 'SRID=4674;POINT (-40.309909 -2.78054)', '2026-07-22 06:31:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309955 -2.780396)'), GeomFromEWKT('SRID=4674;POINT (-40.309909 -2.78054)'))) / (select extract(epoch from '2026-07-22 06:31:44'::timestamp) - extract(epoch from '2026-07-22 06:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309955 -2.780396)'), GeomFromEWKT('SRID=4674;POINT (-40.309909 -2.78054)'))) / (select extract(epoch from '2026-07-22 06:31:44'::timestamp) - extract(epoch from '2026-07-22 06:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.30989 -2.78069)', '2026-07-22 06:31:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309909 -2.78054)'), GeomFromEWKT('SRID=4674;POINT (-40.30989 -2.78069)'))) / (select extract(epoch from '2026-07-22 06:31:52'::timestamp) - extract(epoch from '2026-07-22 06:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309909 -2.78054)'), GeomFromEWKT('SRID=4674;POINT (-40.30989 -2.78069)'))) / (select extract(epoch from '2026-07-22 06:31:52'::timestamp) - extract(epoch from '2026-07-22 06:31: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'), 47639, 'SRID=4674;POINT (-40.309893 -2.78084)', '2026-07-22 06:32:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30989 -2.78069)'), GeomFromEWKT('SRID=4674;POINT (-40.309893 -2.78084)'))) / (select extract(epoch from '2026-07-22 06:32:00'::timestamp) - extract(epoch from '2026-07-22 06:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30989 -2.78069)'), GeomFromEWKT('SRID=4674;POINT (-40.309893 -2.78084)'))) / (select extract(epoch from '2026-07-22 06:32:00'::timestamp) - extract(epoch from '2026-07-22 06:31: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'), 47639, 'SRID=4674;POINT (-40.309872 -2.780964)', '2026-07-22 06:32:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309893 -2.78084)'), GeomFromEWKT('SRID=4674;POINT (-40.309872 -2.780964)'))) / (select extract(epoch from '2026-07-22 06:32:07'::timestamp) - extract(epoch from '2026-07-22 06:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309893 -2.78084)'), GeomFromEWKT('SRID=4674;POINT (-40.309872 -2.780964)'))) / (select extract(epoch from '2026-07-22 06:32:07'::timestamp) - extract(epoch from '2026-07-22 06:32:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309831 -2.781114)', '2026-07-22 06:32:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309872 -2.780964)'), GeomFromEWKT('SRID=4674;POINT (-40.309831 -2.781114)'))) / (select extract(epoch from '2026-07-22 06:32:16'::timestamp) - extract(epoch from '2026-07-22 06:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309872 -2.780964)'), GeomFromEWKT('SRID=4674;POINT (-40.309831 -2.781114)'))) / (select extract(epoch from '2026-07-22 06:32:16'::timestamp) - extract(epoch from '2026-07-22 06:32: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'), 47639, 'SRID=4674;POINT (-40.309816 -2.781242)', '2026-07-22 06:32:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309831 -2.781114)'), GeomFromEWKT('SRID=4674;POINT (-40.309816 -2.781242)'))) / (select extract(epoch from '2026-07-22 06:32:23'::timestamp) - extract(epoch from '2026-07-22 06:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309831 -2.781114)'), GeomFromEWKT('SRID=4674;POINT (-40.309816 -2.781242)'))) / (select extract(epoch from '2026-07-22 06:32:23'::timestamp) - extract(epoch from '2026-07-22 06:32: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'), 47639, 'SRID=4674;POINT (-40.309791 -2.781377)', '2026-07-22 06:32:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309816 -2.781242)'), GeomFromEWKT('SRID=4674;POINT (-40.309791 -2.781377)'))) / (select extract(epoch from '2026-07-22 06:32:31'::timestamp) - extract(epoch from '2026-07-22 06:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309816 -2.781242)'), GeomFromEWKT('SRID=4674;POINT (-40.309791 -2.781377)'))) / (select extract(epoch from '2026-07-22 06:32:31'::timestamp) - extract(epoch from '2026-07-22 06:32: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'), 47639, 'SRID=4674;POINT (-40.309745 -2.781527)', '2026-07-22 06:32:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309791 -2.781377)'), GeomFromEWKT('SRID=4674;POINT (-40.309745 -2.781527)'))) / (select extract(epoch from '2026-07-22 06:32:40'::timestamp) - extract(epoch from '2026-07-22 06:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309791 -2.781377)'), GeomFromEWKT('SRID=4674;POINT (-40.309745 -2.781527)'))) / (select extract(epoch from '2026-07-22 06:32:40'::timestamp) - extract(epoch from '2026-07-22 06:32: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'), 47639, 'SRID=4674;POINT (-40.309716 -2.781672)', '2026-07-22 06:32:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309745 -2.781527)'), GeomFromEWKT('SRID=4674;POINT (-40.309716 -2.781672)'))) / (select extract(epoch from '2026-07-22 06:32:49'::timestamp) - extract(epoch from '2026-07-22 06:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309745 -2.781527)'), GeomFromEWKT('SRID=4674;POINT (-40.309716 -2.781672)'))) / (select extract(epoch from '2026-07-22 06:32:49'::timestamp) - extract(epoch from '2026-07-22 06:32: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'), 47639, 'SRID=4674;POINT (-40.309666 -2.781802)', '2026-07-22 06:32:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309716 -2.781672)'), GeomFromEWKT('SRID=4674;POINT (-40.309666 -2.781802)'))) / (select extract(epoch from '2026-07-22 06:32:57'::timestamp) - extract(epoch from '2026-07-22 06:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309716 -2.781672)'), GeomFromEWKT('SRID=4674;POINT (-40.309666 -2.781802)'))) / (select extract(epoch from '2026-07-22 06:32:57'::timestamp) - extract(epoch from '2026-07-22 06:32: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'), 47639, 'SRID=4674;POINT (-40.309622 -2.781945)', '2026-07-22 06:33:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309666 -2.781802)'), GeomFromEWKT('SRID=4674;POINT (-40.309622 -2.781945)'))) / (select extract(epoch from '2026-07-22 06:33:05'::timestamp) - extract(epoch from '2026-07-22 06:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309666 -2.781802)'), GeomFromEWKT('SRID=4674;POINT (-40.309622 -2.781945)'))) / (select extract(epoch from '2026-07-22 06:33:05'::timestamp) - extract(epoch from '2026-07-22 06:32: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'), 47639, 'SRID=4674;POINT (-40.309589 -2.782068)', '2026-07-22 06:33:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309622 -2.781945)'), GeomFromEWKT('SRID=4674;POINT (-40.309589 -2.782068)'))) / (select extract(epoch from '2026-07-22 06:33:12'::timestamp) - extract(epoch from '2026-07-22 06:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309622 -2.781945)'), GeomFromEWKT('SRID=4674;POINT (-40.309589 -2.782068)'))) / (select extract(epoch from '2026-07-22 06:33:12'::timestamp) - extract(epoch from '2026-07-22 06:33: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'), 47639, 'SRID=4674;POINT (-40.309552 -2.782204)', '2026-07-22 06:33:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309589 -2.782068)'), GeomFromEWKT('SRID=4674;POINT (-40.309552 -2.782204)'))) / (select extract(epoch from '2026-07-22 06:33:20'::timestamp) - extract(epoch from '2026-07-22 06:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309589 -2.782068)'), GeomFromEWKT('SRID=4674;POINT (-40.309552 -2.782204)'))) / (select extract(epoch from '2026-07-22 06:33:20'::timestamp) - extract(epoch from '2026-07-22 06:33:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309501 -2.782358)', '2026-07-22 06:33:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309552 -2.782204)'), GeomFromEWKT('SRID=4674;POINT (-40.309501 -2.782358)'))) / (select extract(epoch from '2026-07-22 06:33:29'::timestamp) - extract(epoch from '2026-07-22 06:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309552 -2.782204)'), GeomFromEWKT('SRID=4674;POINT (-40.309501 -2.782358)'))) / (select extract(epoch from '2026-07-22 06:33:29'::timestamp) - extract(epoch from '2026-07-22 06:33:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309451 -2.782505)', '2026-07-22 06:33:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309501 -2.782358)'), GeomFromEWKT('SRID=4674;POINT (-40.309451 -2.782505)'))) / (select extract(epoch from '2026-07-22 06:33:37'::timestamp) - extract(epoch from '2026-07-22 06:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309501 -2.782358)'), GeomFromEWKT('SRID=4674;POINT (-40.309451 -2.782505)'))) / (select extract(epoch from '2026-07-22 06:33:37'::timestamp) - extract(epoch from '2026-07-22 06:33:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309414 -2.782619)', '2026-07-22 06:33:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309451 -2.782505)'), GeomFromEWKT('SRID=4674;POINT (-40.309414 -2.782619)'))) / (select extract(epoch from '2026-07-22 06:33:44'::timestamp) - extract(epoch from '2026-07-22 06:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309451 -2.782505)'), GeomFromEWKT('SRID=4674;POINT (-40.309414 -2.782619)'))) / (select extract(epoch from '2026-07-22 06:33:44'::timestamp) - extract(epoch from '2026-07-22 06:33: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'), 47639, 'SRID=4674;POINT (-40.309378 -2.782762)', '2026-07-22 06:33:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309414 -2.782619)'), GeomFromEWKT('SRID=4674;POINT (-40.309378 -2.782762)'))) / (select extract(epoch from '2026-07-22 06:33:52'::timestamp) - extract(epoch from '2026-07-22 06:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309414 -2.782619)'), GeomFromEWKT('SRID=4674;POINT (-40.309378 -2.782762)'))) / (select extract(epoch from '2026-07-22 06:33:52'::timestamp) - extract(epoch from '2026-07-22 06:33: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'), 47639, 'SRID=4674;POINT (-40.309343 -2.782898)', '2026-07-22 06:34:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309378 -2.782762)'), GeomFromEWKT('SRID=4674;POINT (-40.309343 -2.782898)'))) / (select extract(epoch from '2026-07-22 06:34:00'::timestamp) - extract(epoch from '2026-07-22 06:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309378 -2.782762)'), GeomFromEWKT('SRID=4674;POINT (-40.309343 -2.782898)'))) / (select extract(epoch from '2026-07-22 06:34:00'::timestamp) - extract(epoch from '2026-07-22 06:33: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'), 47639, 'SRID=4674;POINT (-40.309337 -2.783036)', '2026-07-22 06:34:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309343 -2.782898)'), GeomFromEWKT('SRID=4674;POINT (-40.309337 -2.783036)'))) / (select extract(epoch from '2026-07-22 06:34:07'::timestamp) - extract(epoch from '2026-07-22 06:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309343 -2.782898)'), GeomFromEWKT('SRID=4674;POINT (-40.309337 -2.783036)'))) / (select extract(epoch from '2026-07-22 06:34:07'::timestamp) - extract(epoch from '2026-07-22 06:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309337 -2.783151)', '2026-07-22 06:34:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309337 -2.783036)'), GeomFromEWKT('SRID=4674;POINT (-40.309337 -2.783151)'))) / (select extract(epoch from '2026-07-22 06:34:14'::timestamp) - extract(epoch from '2026-07-22 06:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309337 -2.783036)'), GeomFromEWKT('SRID=4674;POINT (-40.309337 -2.783151)'))) / (select extract(epoch from '2026-07-22 06:34:14'::timestamp) - extract(epoch from '2026-07-22 06:34: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'), 47639, 'SRID=4674;POINT (-40.30933 -2.783275)', '2026-07-22 06:34:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309337 -2.783151)'), GeomFromEWKT('SRID=4674;POINT (-40.30933 -2.783275)'))) / (select extract(epoch from '2026-07-22 06:34:22'::timestamp) - extract(epoch from '2026-07-22 06:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309337 -2.783151)'), GeomFromEWKT('SRID=4674;POINT (-40.30933 -2.783275)'))) / (select extract(epoch from '2026-07-22 06:34:22'::timestamp) - extract(epoch from '2026-07-22 06:34:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309281 -2.78345)', '2026-07-22 06:34:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30933 -2.783275)'), GeomFromEWKT('SRID=4674;POINT (-40.309281 -2.78345)'))) / (select extract(epoch from '2026-07-22 06:34:32'::timestamp) - extract(epoch from '2026-07-22 06:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30933 -2.783275)'), GeomFromEWKT('SRID=4674;POINT (-40.309281 -2.78345)'))) / (select extract(epoch from '2026-07-22 06:34:32'::timestamp) - extract(epoch from '2026-07-22 06:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309269 -2.783546)', '2026-07-22 06:34:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309281 -2.78345)'), GeomFromEWKT('SRID=4674;POINT (-40.309269 -2.783546)'))) / (select extract(epoch from '2026-07-22 06:34:38'::timestamp) - extract(epoch from '2026-07-22 06:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309281 -2.78345)'), GeomFromEWKT('SRID=4674;POINT (-40.309269 -2.783546)'))) / (select extract(epoch from '2026-07-22 06:34:38'::timestamp) - extract(epoch from '2026-07-22 06:34: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'), 47639, 'SRID=4674;POINT (-40.309234 -2.783701)', '2026-07-22 06:34:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309269 -2.783546)'), GeomFromEWKT('SRID=4674;POINT (-40.309234 -2.783701)'))) / (select extract(epoch from '2026-07-22 06:34:46'::timestamp) - extract(epoch from '2026-07-22 06:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309269 -2.783546)'), GeomFromEWKT('SRID=4674;POINT (-40.309234 -2.783701)'))) / (select extract(epoch from '2026-07-22 06:34:46'::timestamp) - extract(epoch from '2026-07-22 06:34: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'), 47639, 'SRID=4674;POINT (-40.309203 -2.783838)', '2026-07-22 06:34:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309234 -2.783701)'), GeomFromEWKT('SRID=4674;POINT (-40.309203 -2.783838)'))) / (select extract(epoch from '2026-07-22 06:34:54'::timestamp) - extract(epoch from '2026-07-22 06:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309234 -2.783701)'), GeomFromEWKT('SRID=4674;POINT (-40.309203 -2.783838)'))) / (select extract(epoch from '2026-07-22 06:34:54'::timestamp) - extract(epoch from '2026-07-22 06:34: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'), 47639, 'SRID=4674;POINT (-40.309169 -2.783977)', '2026-07-22 06:35:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309203 -2.783838)'), GeomFromEWKT('SRID=4674;POINT (-40.309169 -2.783977)'))) / (select extract(epoch from '2026-07-22 06:35:02'::timestamp) - extract(epoch from '2026-07-22 06:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309203 -2.783838)'), GeomFromEWKT('SRID=4674;POINT (-40.309169 -2.783977)'))) / (select extract(epoch from '2026-07-22 06:35:02'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.309145 -2.784126)', '2026-07-22 06:35:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309169 -2.783977)'), GeomFromEWKT('SRID=4674;POINT (-40.309145 -2.784126)'))) / (select extract(epoch from '2026-07-22 06:35:10'::timestamp) - extract(epoch from '2026-07-22 06:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309169 -2.783977)'), GeomFromEWKT('SRID=4674;POINT (-40.309145 -2.784126)'))) / (select extract(epoch from '2026-07-22 06:35:10'::timestamp) - extract(epoch from '2026-07-22 06:35: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'), 47639, 'SRID=4674;POINT (-40.309129 -2.784204)', '2026-07-22 06:35:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309145 -2.784126)'), GeomFromEWKT('SRID=4674;POINT (-40.309129 -2.784204)'))) / (select extract(epoch from '2026-07-22 06:35:15'::timestamp) - extract(epoch from '2026-07-22 06:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309145 -2.784126)'), GeomFromEWKT('SRID=4674;POINT (-40.309129 -2.784204)'))) / (select extract(epoch from '2026-07-22 06:35:15'::timestamp) - extract(epoch from '2026-07-22 06:35: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'), 47639, 'SRID=4674;POINT (-40.309117 -2.784237)', '2026-07-22 06:35:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309129 -2.784204)'), GeomFromEWKT('SRID=4674;POINT (-40.309117 -2.784237)'))) / (select extract(epoch from '2026-07-22 06:35:17'::timestamp) - extract(epoch from '2026-07-22 06:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309129 -2.784204)'), GeomFromEWKT('SRID=4674;POINT (-40.309117 -2.784237)'))) / (select extract(epoch from '2026-07-22 06:35:17'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.309096 -2.784358)', '2026-07-22 06:35:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309117 -2.784237)'), GeomFromEWKT('SRID=4674;POINT (-40.309096 -2.784358)'))) / (select extract(epoch from '2026-07-22 06:35:25'::timestamp) - extract(epoch from '2026-07-22 06:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309117 -2.784237)'), GeomFromEWKT('SRID=4674;POINT (-40.309096 -2.784358)'))) / (select extract(epoch from '2026-07-22 06:35:25'::timestamp) - extract(epoch from '2026-07-22 06:35: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'), 47639, 'SRID=4674;POINT (-40.309072 -2.784499)', '2026-07-22 06:35:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309096 -2.784358)'), GeomFromEWKT('SRID=4674;POINT (-40.309072 -2.784499)'))) / (select extract(epoch from '2026-07-22 06:35:32'::timestamp) - extract(epoch from '2026-07-22 06:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309096 -2.784358)'), GeomFromEWKT('SRID=4674;POINT (-40.309072 -2.784499)'))) / (select extract(epoch from '2026-07-22 06:35:32'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.309028 -2.784655)', '2026-07-22 06:35:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309072 -2.784499)'), GeomFromEWKT('SRID=4674;POINT (-40.309028 -2.784655)'))) / (select extract(epoch from '2026-07-22 06:35:41'::timestamp) - extract(epoch from '2026-07-22 06:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309072 -2.784499)'), GeomFromEWKT('SRID=4674;POINT (-40.309028 -2.784655)'))) / (select extract(epoch from '2026-07-22 06:35:41'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.308963 -2.784756)', '2026-07-22 06:35:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309028 -2.784655)'), GeomFromEWKT('SRID=4674;POINT (-40.308963 -2.784756)'))) / (select extract(epoch from '2026-07-22 06:35:48'::timestamp) - extract(epoch from '2026-07-22 06:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309028 -2.784655)'), GeomFromEWKT('SRID=4674;POINT (-40.308963 -2.784756)'))) / (select extract(epoch from '2026-07-22 06:35:48'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.308916 -2.784879)', '2026-07-22 06:35:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308963 -2.784756)'), GeomFromEWKT('SRID=4674;POINT (-40.308916 -2.784879)'))) / (select extract(epoch from '2026-07-22 06:35:55'::timestamp) - extract(epoch from '2026-07-22 06:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308963 -2.784756)'), GeomFromEWKT('SRID=4674;POINT (-40.308916 -2.784879)'))) / (select extract(epoch from '2026-07-22 06:35:55'::timestamp) - extract(epoch from '2026-07-22 06:35: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'), 47639, 'SRID=4674;POINT (-40.308874 -2.785014)', '2026-07-22 06:36:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308916 -2.784879)'), GeomFromEWKT('SRID=4674;POINT (-40.308874 -2.785014)'))) / (select extract(epoch from '2026-07-22 06:36:03'::timestamp) - extract(epoch from '2026-07-22 06:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308916 -2.784879)'), GeomFromEWKT('SRID=4674;POINT (-40.308874 -2.785014)'))) / (select extract(epoch from '2026-07-22 06:36:03'::timestamp) - extract(epoch from '2026-07-22 06:35: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'), 47639, 'SRID=4674;POINT (-40.308823 -2.785164)', '2026-07-22 06:36:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308874 -2.785014)'), GeomFromEWKT('SRID=4674;POINT (-40.308823 -2.785164)'))) / (select extract(epoch from '2026-07-22 06:36:12'::timestamp) - extract(epoch from '2026-07-22 06:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308874 -2.785014)'), GeomFromEWKT('SRID=4674;POINT (-40.308823 -2.785164)'))) / (select extract(epoch from '2026-07-22 06:36:12'::timestamp) - extract(epoch from '2026-07-22 06:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308786 -2.78529)', '2026-07-22 06:36:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308823 -2.785164)'), GeomFromEWKT('SRID=4674;POINT (-40.308786 -2.78529)'))) / (select extract(epoch from '2026-07-22 06:36:19'::timestamp) - extract(epoch from '2026-07-22 06:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308823 -2.785164)'), GeomFromEWKT('SRID=4674;POINT (-40.308786 -2.78529)'))) / (select extract(epoch from '2026-07-22 06:36:19'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.30873 -2.785455)', '2026-07-22 06:36:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308786 -2.78529)'), GeomFromEWKT('SRID=4674;POINT (-40.30873 -2.785455)'))) / (select extract(epoch from '2026-07-22 06:36:28'::timestamp) - extract(epoch from '2026-07-22 06:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308786 -2.78529)'), GeomFromEWKT('SRID=4674;POINT (-40.30873 -2.785455)'))) / (select extract(epoch from '2026-07-22 06:36:28'::timestamp) - extract(epoch from '2026-07-22 06:36: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'), 47639, 'SRID=4674;POINT (-40.308691 -2.785605)', '2026-07-22 06:36:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30873 -2.785455)'), GeomFromEWKT('SRID=4674;POINT (-40.308691 -2.785605)'))) / (select extract(epoch from '2026-07-22 06:36:37'::timestamp) - extract(epoch from '2026-07-22 06:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30873 -2.785455)'), GeomFromEWKT('SRID=4674;POINT (-40.308691 -2.785605)'))) / (select extract(epoch from '2026-07-22 06:36:37'::timestamp) - extract(epoch from '2026-07-22 06:36: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'), 47639, 'SRID=4674;POINT (-40.308647 -2.785731)', '2026-07-22 06:36:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308691 -2.785605)'), GeomFromEWKT('SRID=4674;POINT (-40.308647 -2.785731)'))) / (select extract(epoch from '2026-07-22 06:36:44'::timestamp) - extract(epoch from '2026-07-22 06:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308691 -2.785605)'), GeomFromEWKT('SRID=4674;POINT (-40.308647 -2.785731)'))) / (select extract(epoch from '2026-07-22 06:36:44'::timestamp) - extract(epoch from '2026-07-22 06:36: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'), 47639, 'SRID=4674;POINT (-40.308593 -2.78588)', '2026-07-22 06:36:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308647 -2.785731)'), GeomFromEWKT('SRID=4674;POINT (-40.308593 -2.78588)'))) / (select extract(epoch from '2026-07-22 06:36:52'::timestamp) - extract(epoch from '2026-07-22 06:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308647 -2.785731)'), GeomFromEWKT('SRID=4674;POINT (-40.308593 -2.78588)'))) / (select extract(epoch from '2026-07-22 06:36:52'::timestamp) - extract(epoch from '2026-07-22 06:36: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'), 47639, 'SRID=4674;POINT (-40.308558 -2.786037)', '2026-07-22 06:37:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308593 -2.78588)'), GeomFromEWKT('SRID=4674;POINT (-40.308558 -2.786037)'))) / (select extract(epoch from '2026-07-22 06:37:01'::timestamp) - extract(epoch from '2026-07-22 06:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308593 -2.78588)'), GeomFromEWKT('SRID=4674;POINT (-40.308558 -2.786037)'))) / (select extract(epoch from '2026-07-22 06:37:01'::timestamp) - extract(epoch from '2026-07-22 06:36:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308545 -2.786161)', '2026-07-22 06:37:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308558 -2.786037)'), GeomFromEWKT('SRID=4674;POINT (-40.308545 -2.786161)'))) / (select extract(epoch from '2026-07-22 06:37:08'::timestamp) - extract(epoch from '2026-07-22 06:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308558 -2.786037)'), GeomFromEWKT('SRID=4674;POINT (-40.308545 -2.786161)'))) / (select extract(epoch from '2026-07-22 06:37:08'::timestamp) - extract(epoch from '2026-07-22 06:37: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'), 47639, 'SRID=4674;POINT (-40.308516 -2.786301)', '2026-07-22 06:37:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308545 -2.786161)'), GeomFromEWKT('SRID=4674;POINT (-40.308516 -2.786301)'))) / (select extract(epoch from '2026-07-22 06:37:16'::timestamp) - extract(epoch from '2026-07-22 06:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308545 -2.786161)'), GeomFromEWKT('SRID=4674;POINT (-40.308516 -2.786301)'))) / (select extract(epoch from '2026-07-22 06:37:16'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.308493 -2.786419)', '2026-07-22 06:37:22', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308516 -2.786301)'), GeomFromEWKT('SRID=4674;POINT (-40.308493 -2.786419)'))) / (select extract(epoch from '2026-07-22 06:37:22'::timestamp) - extract(epoch from '2026-07-22 06:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308516 -2.786301)'), GeomFromEWKT('SRID=4674;POINT (-40.308493 -2.786419)'))) / (select extract(epoch from '2026-07-22 06:37:22'::timestamp) - extract(epoch from '2026-07-22 06:37: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'), 47639, 'SRID=4674;POINT (-40.308475 -2.786573)', '2026-07-22 06:37:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308493 -2.786419)'), GeomFromEWKT('SRID=4674;POINT (-40.308475 -2.786573)'))) / (select extract(epoch from '2026-07-22 06:37:30'::timestamp) - extract(epoch from '2026-07-22 06:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308493 -2.786419)'), GeomFromEWKT('SRID=4674;POINT (-40.308475 -2.786573)'))) / (select extract(epoch from '2026-07-22 06:37:30'::timestamp) - extract(epoch from '2026-07-22 06:37: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'), 47639, 'SRID=4674;POINT (-40.308442 -2.786718)', '2026-07-22 06:37:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308475 -2.786573)'), GeomFromEWKT('SRID=4674;POINT (-40.308442 -2.786718)'))) / (select extract(epoch from '2026-07-22 06:37:39'::timestamp) - extract(epoch from '2026-07-22 06:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308475 -2.786573)'), GeomFromEWKT('SRID=4674;POINT (-40.308442 -2.786718)'))) / (select extract(epoch from '2026-07-22 06:37:39'::timestamp) - extract(epoch from '2026-07-22 06:37: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'), 47639, 'SRID=4674;POINT (-40.308395 -2.786879)', '2026-07-22 06:37:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308442 -2.786718)'), GeomFromEWKT('SRID=4674;POINT (-40.308395 -2.786879)'))) / (select extract(epoch from '2026-07-22 06:37:48'::timestamp) - extract(epoch from '2026-07-22 06:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308442 -2.786718)'), GeomFromEWKT('SRID=4674;POINT (-40.308395 -2.786879)'))) / (select extract(epoch from '2026-07-22 06:37:48'::timestamp) - extract(epoch from '2026-07-22 06:37: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'), 47639, 'SRID=4674;POINT (-40.308364 -2.787002)', '2026-07-22 06:37:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308395 -2.786879)'), GeomFromEWKT('SRID=4674;POINT (-40.308364 -2.787002)'))) / (select extract(epoch from '2026-07-22 06:37:55'::timestamp) - extract(epoch from '2026-07-22 06:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308395 -2.786879)'), GeomFromEWKT('SRID=4674;POINT (-40.308364 -2.787002)'))) / (select extract(epoch from '2026-07-22 06:37:55'::timestamp) - extract(epoch from '2026-07-22 06:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308353 -2.787139)', '2026-07-22 06:38:02', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308364 -2.787002)'), GeomFromEWKT('SRID=4674;POINT (-40.308353 -2.787139)'))) / (select extract(epoch from '2026-07-22 06:38:02'::timestamp) - extract(epoch from '2026-07-22 06:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308364 -2.787002)'), GeomFromEWKT('SRID=4674;POINT (-40.308353 -2.787139)'))) / (select extract(epoch from '2026-07-22 06:38:02'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.308312 -2.787308)', '2026-07-22 06:38:11', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308353 -2.787139)'), GeomFromEWKT('SRID=4674;POINT (-40.308312 -2.787308)'))) / (select extract(epoch from '2026-07-22 06:38:11'::timestamp) - extract(epoch from '2026-07-22 06:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308353 -2.787139)'), GeomFromEWKT('SRID=4674;POINT (-40.308312 -2.787308)'))) / (select extract(epoch from '2026-07-22 06:38:11'::timestamp) - extract(epoch from '2026-07-22 06:38: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'), 47639, 'SRID=4674;POINT (-40.308311 -2.787436)', '2026-07-22 06:38:18', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308312 -2.787308)'), GeomFromEWKT('SRID=4674;POINT (-40.308311 -2.787436)'))) / (select extract(epoch from '2026-07-22 06:38:18'::timestamp) - extract(epoch from '2026-07-22 06:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308312 -2.787308)'), GeomFromEWKT('SRID=4674;POINT (-40.308311 -2.787436)'))) / (select extract(epoch from '2026-07-22 06:38:18'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.30831 -2.787588)', '2026-07-22 06:38:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308311 -2.787436)'), GeomFromEWKT('SRID=4674;POINT (-40.30831 -2.787588)'))) / (select extract(epoch from '2026-07-22 06:38:26'::timestamp) - extract(epoch from '2026-07-22 06:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308311 -2.787436)'), GeomFromEWKT('SRID=4674;POINT (-40.30831 -2.787588)'))) / (select extract(epoch from '2026-07-22 06:38:26'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.308293 -2.787686)', '2026-07-22 06:38:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30831 -2.787588)'), GeomFromEWKT('SRID=4674;POINT (-40.308293 -2.787686)'))) / (select extract(epoch from '2026-07-22 06:38:32'::timestamp) - extract(epoch from '2026-07-22 06:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30831 -2.787588)'), GeomFromEWKT('SRID=4674;POINT (-40.308293 -2.787686)'))) / (select extract(epoch from '2026-07-22 06:38:32'::timestamp) - extract(epoch from '2026-07-22 06:38: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'), 47639, 'SRID=4674;POINT (-40.308264 -2.787838)', '2026-07-22 06:38:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308293 -2.787686)'), GeomFromEWKT('SRID=4674;POINT (-40.308264 -2.787838)'))) / (select extract(epoch from '2026-07-22 06:38:41'::timestamp) - extract(epoch from '2026-07-22 06:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308293 -2.787686)'), GeomFromEWKT('SRID=4674;POINT (-40.308264 -2.787838)'))) / (select extract(epoch from '2026-07-22 06:38:41'::timestamp) - extract(epoch from '2026-07-22 06:38: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'), 47639, 'SRID=4674;POINT (-40.308239 -2.788006)', '2026-07-22 06:38:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308264 -2.787838)'), GeomFromEWKT('SRID=4674;POINT (-40.308239 -2.788006)'))) / (select extract(epoch from '2026-07-22 06:38:49'::timestamp) - extract(epoch from '2026-07-22 06:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308264 -2.787838)'), GeomFromEWKT('SRID=4674;POINT (-40.308239 -2.788006)'))) / (select extract(epoch from '2026-07-22 06:38:49'::timestamp) - extract(epoch from '2026-07-22 06:38: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'), 47639, 'SRID=4674;POINT (-40.308236 -2.78814)', '2026-07-22 06:38:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308239 -2.788006)'), GeomFromEWKT('SRID=4674;POINT (-40.308236 -2.78814)'))) / (select extract(epoch from '2026-07-22 06:38:56'::timestamp) - extract(epoch from '2026-07-22 06:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308239 -2.788006)'), GeomFromEWKT('SRID=4674;POINT (-40.308236 -2.78814)'))) / (select extract(epoch from '2026-07-22 06:38:56'::timestamp) - extract(epoch from '2026-07-22 06:38: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'), 47639, 'SRID=4674;POINT (-40.308231 -2.788262)', '2026-07-22 06:39:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308236 -2.78814)'), GeomFromEWKT('SRID=4674;POINT (-40.308231 -2.788262)'))) / (select extract(epoch from '2026-07-22 06:39:03'::timestamp) - extract(epoch from '2026-07-22 06:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308236 -2.78814)'), GeomFromEWKT('SRID=4674;POINT (-40.308231 -2.788262)'))) / (select extract(epoch from '2026-07-22 06:39:03'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.308209 -2.788381)', '2026-07-22 06:39:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308231 -2.788262)'), GeomFromEWKT('SRID=4674;POINT (-40.308209 -2.788381)'))) / (select extract(epoch from '2026-07-22 06:39:09'::timestamp) - extract(epoch from '2026-07-22 06:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308231 -2.788262)'), GeomFromEWKT('SRID=4674;POINT (-40.308209 -2.788381)'))) / (select extract(epoch from '2026-07-22 06:39:09'::timestamp) - extract(epoch from '2026-07-22 06:39: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'), 47639, 'SRID=4674;POINT (-40.308225 -2.788495)', '2026-07-22 06:39:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308209 -2.788381)'), GeomFromEWKT('SRID=4674;POINT (-40.308225 -2.788495)'))) / (select extract(epoch from '2026-07-22 06:39:16'::timestamp) - extract(epoch from '2026-07-22 06:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308209 -2.788381)'), GeomFromEWKT('SRID=4674;POINT (-40.308225 -2.788495)'))) / (select extract(epoch from '2026-07-22 06:39:16'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.308228 -2.788698)', '2026-07-22 06:39:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308225 -2.788495)'), GeomFromEWKT('SRID=4674;POINT (-40.308228 -2.788698)'))) / (select extract(epoch from '2026-07-22 06:39:25'::timestamp) - extract(epoch from '2026-07-22 06:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308225 -2.788495)'), GeomFromEWKT('SRID=4674;POINT (-40.308228 -2.788698)'))) / (select extract(epoch from '2026-07-22 06:39:25'::timestamp) - extract(epoch from '2026-07-22 06:39: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'), 47639, 'SRID=4674;POINT (-40.308234 -2.788834)', '2026-07-22 06:39:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308228 -2.788698)'), GeomFromEWKT('SRID=4674;POINT (-40.308234 -2.788834)'))) / (select extract(epoch from '2026-07-22 06:39:33'::timestamp) - extract(epoch from '2026-07-22 06:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308228 -2.788698)'), GeomFromEWKT('SRID=4674;POINT (-40.308234 -2.788834)'))) / (select extract(epoch from '2026-07-22 06:39:33'::timestamp) - extract(epoch from '2026-07-22 06:39: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'), 47639, 'SRID=4674;POINT (-40.308241 -2.788992)', '2026-07-22 06:39:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308234 -2.788834)'), GeomFromEWKT('SRID=4674;POINT (-40.308241 -2.788992)'))) / (select extract(epoch from '2026-07-22 06:39:41'::timestamp) - extract(epoch from '2026-07-22 06:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308234 -2.788834)'), GeomFromEWKT('SRID=4674;POINT (-40.308241 -2.788992)'))) / (select extract(epoch from '2026-07-22 06:39:41'::timestamp) - extract(epoch from '2026-07-22 06:39: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'), 47639, 'SRID=4674;POINT (-40.308259 -2.789146)', '2026-07-22 06:39:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308241 -2.788992)'), GeomFromEWKT('SRID=4674;POINT (-40.308259 -2.789146)'))) / (select extract(epoch from '2026-07-22 06:39:49'::timestamp) - extract(epoch from '2026-07-22 06:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308241 -2.788992)'), GeomFromEWKT('SRID=4674;POINT (-40.308259 -2.789146)'))) / (select extract(epoch from '2026-07-22 06:39:49'::timestamp) - extract(epoch from '2026-07-22 06:39: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'), 47639, 'SRID=4674;POINT (-40.308257 -2.789289)', '2026-07-22 06:39:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308259 -2.789146)'), GeomFromEWKT('SRID=4674;POINT (-40.308257 -2.789289)'))) / (select extract(epoch from '2026-07-22 06:39:56'::timestamp) - extract(epoch from '2026-07-22 06:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308259 -2.789146)'), GeomFromEWKT('SRID=4674;POINT (-40.308257 -2.789289)'))) / (select extract(epoch from '2026-07-22 06:39:56'::timestamp) - extract(epoch from '2026-07-22 06:39: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'), 47639, 'SRID=4674;POINT (-40.308267 -2.789439)', '2026-07-22 06:40:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308257 -2.789289)'), GeomFromEWKT('SRID=4674;POINT (-40.308267 -2.789439)'))) / (select extract(epoch from '2026-07-22 06:40:04'::timestamp) - extract(epoch from '2026-07-22 06:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308257 -2.789289)'), GeomFromEWKT('SRID=4674;POINT (-40.308267 -2.789439)'))) / (select extract(epoch from '2026-07-22 06:40:04'::timestamp) - extract(epoch from '2026-07-22 06:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308272 -2.789645)', '2026-07-22 06:40:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308267 -2.789439)'), GeomFromEWKT('SRID=4674;POINT (-40.308272 -2.789645)'))) / (select extract(epoch from '2026-07-22 06:40:14'::timestamp) - extract(epoch from '2026-07-22 06:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308267 -2.789439)'), GeomFromEWKT('SRID=4674;POINT (-40.308272 -2.789645)'))) / (select extract(epoch from '2026-07-22 06:40:14'::timestamp) - extract(epoch from '2026-07-22 06:40: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'), 47639, 'SRID=4674;POINT (-40.308281 -2.7898)', '2026-07-22 06:40:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308272 -2.789645)'), GeomFromEWKT('SRID=4674;POINT (-40.308281 -2.7898)'))) / (select extract(epoch from '2026-07-22 06:40:22'::timestamp) - extract(epoch from '2026-07-22 06:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308272 -2.789645)'), GeomFromEWKT('SRID=4674;POINT (-40.308281 -2.7898)'))) / (select extract(epoch from '2026-07-22 06:40:22'::timestamp) - extract(epoch from '2026-07-22 06:40: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'), 47639, 'SRID=4674;POINT (-40.308277 -2.78997)', '2026-07-22 06:40:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308281 -2.7898)'), GeomFromEWKT('SRID=4674;POINT (-40.308277 -2.78997)'))) / (select extract(epoch from '2026-07-22 06:40:31'::timestamp) - extract(epoch from '2026-07-22 06:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308281 -2.7898)'), GeomFromEWKT('SRID=4674;POINT (-40.308277 -2.78997)'))) / (select extract(epoch from '2026-07-22 06:40:31'::timestamp) - extract(epoch from '2026-07-22 06:40: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'), 47639, 'SRID=4674;POINT (-40.308293 -2.790112)', '2026-07-22 06:40:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308277 -2.78997)'), GeomFromEWKT('SRID=4674;POINT (-40.308293 -2.790112)'))) / (select extract(epoch from '2026-07-22 06:40:39'::timestamp) - extract(epoch from '2026-07-22 06:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308277 -2.78997)'), GeomFromEWKT('SRID=4674;POINT (-40.308293 -2.790112)'))) / (select extract(epoch from '2026-07-22 06:40:39'::timestamp) - extract(epoch from '2026-07-22 06:40: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'), 47639, 'SRID=4674;POINT (-40.308295 -2.79026)', '2026-07-22 06:40:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308293 -2.790112)'), GeomFromEWKT('SRID=4674;POINT (-40.308295 -2.79026)'))) / (select extract(epoch from '2026-07-22 06:40:46'::timestamp) - extract(epoch from '2026-07-22 06:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308293 -2.790112)'), GeomFromEWKT('SRID=4674;POINT (-40.308295 -2.79026)'))) / (select extract(epoch from '2026-07-22 06:40:46'::timestamp) - extract(epoch from '2026-07-22 06:40:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308288 -2.790393)', '2026-07-22 06:40:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308295 -2.79026)'), GeomFromEWKT('SRID=4674;POINT (-40.308288 -2.790393)'))) / (select extract(epoch from '2026-07-22 06:40:53'::timestamp) - extract(epoch from '2026-07-22 06:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308295 -2.79026)'), GeomFromEWKT('SRID=4674;POINT (-40.308288 -2.790393)'))) / (select extract(epoch from '2026-07-22 06:40:53'::timestamp) - extract(epoch from '2026-07-22 06:40: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'), 47639, 'SRID=4674;POINT (-40.308292 -2.790548)', '2026-07-22 06:41:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308288 -2.790393)'), GeomFromEWKT('SRID=4674;POINT (-40.308292 -2.790548)'))) / (select extract(epoch from '2026-07-22 06:41:01'::timestamp) - extract(epoch from '2026-07-22 06:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308288 -2.790393)'), GeomFromEWKT('SRID=4674;POINT (-40.308292 -2.790548)'))) / (select extract(epoch from '2026-07-22 06:41:01'::timestamp) - extract(epoch from '2026-07-22 06:40: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'), 47639, 'SRID=4674;POINT (-40.308302 -2.790673)', '2026-07-22 06:41:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308292 -2.790548)'), GeomFromEWKT('SRID=4674;POINT (-40.308302 -2.790673)'))) / (select extract(epoch from '2026-07-22 06:41:08'::timestamp) - extract(epoch from '2026-07-22 06:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308292 -2.790548)'), GeomFromEWKT('SRID=4674;POINT (-40.308302 -2.790673)'))) / (select extract(epoch from '2026-07-22 06:41:08'::timestamp) - extract(epoch from '2026-07-22 06:41: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'), 47639, 'SRID=4674;POINT (-40.308282 -2.790775)', '2026-07-22 06:41:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308302 -2.790673)'), GeomFromEWKT('SRID=4674;POINT (-40.308282 -2.790775)'))) / (select extract(epoch from '2026-07-22 06:41:15'::timestamp) - extract(epoch from '2026-07-22 06:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308302 -2.790673)'), GeomFromEWKT('SRID=4674;POINT (-40.308282 -2.790775)'))) / (select extract(epoch from '2026-07-22 06:41:15'::timestamp) - extract(epoch from '2026-07-22 06:41: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'), 47639, 'SRID=4674;POINT (-40.308244 -2.790803)', '2026-07-22 06:41:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308282 -2.790775)'), GeomFromEWKT('SRID=4674;POINT (-40.308244 -2.790803)'))) / (select extract(epoch from '2026-07-22 06:41:19'::timestamp) - extract(epoch from '2026-07-22 06:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308282 -2.790775)'), GeomFromEWKT('SRID=4674;POINT (-40.308244 -2.790803)'))) / (select extract(epoch from '2026-07-22 06:41:19'::timestamp) - extract(epoch from '2026-07-22 06:41: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'), 47639, 'SRID=4674;POINT (-40.308227 -2.790808)', '2026-07-22 06:41:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308244 -2.790803)'), GeomFromEWKT('SRID=4674;POINT (-40.308227 -2.790808)'))) / (select extract(epoch from '2026-07-22 06:41:21'::timestamp) - extract(epoch from '2026-07-22 06:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308244 -2.790803)'), GeomFromEWKT('SRID=4674;POINT (-40.308227 -2.790808)'))) / (select extract(epoch from '2026-07-22 06:41:21'::timestamp) - extract(epoch from '2026-07-22 06:41: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'), 47639, 'SRID=4674;POINT (-40.308181 -2.790793)', '2026-07-22 06:41:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308227 -2.790808)'), GeomFromEWKT('SRID=4674;POINT (-40.308181 -2.790793)'))) / (select extract(epoch from '2026-07-22 06:41:29'::timestamp) - extract(epoch from '2026-07-22 06:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308227 -2.790808)'), GeomFromEWKT('SRID=4674;POINT (-40.308181 -2.790793)'))) / (select extract(epoch from '2026-07-22 06:41:29'::timestamp) - extract(epoch from '2026-07-22 06:41: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'), 47639, 'SRID=4674;POINT (-40.308185 -2.790765)', '2026-07-22 06:41:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308181 -2.790793)'), GeomFromEWKT('SRID=4674;POINT (-40.308185 -2.790765)'))) / (select extract(epoch from '2026-07-22 06:41:37'::timestamp) - extract(epoch from '2026-07-22 06:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308181 -2.790793)'), GeomFromEWKT('SRID=4674;POINT (-40.308185 -2.790765)'))) / (select extract(epoch from '2026-07-22 06:41:37'::timestamp) - extract(epoch from '2026-07-22 06:41: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'), 47639, 'SRID=4674;POINT (-40.308185 -2.790711)', '2026-07-22 06:41:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308185 -2.790765)'), GeomFromEWKT('SRID=4674;POINT (-40.308185 -2.790711)'))) / (select extract(epoch from '2026-07-22 06:41:46'::timestamp) - extract(epoch from '2026-07-22 06:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308185 -2.790765)'), GeomFromEWKT('SRID=4674;POINT (-40.308185 -2.790711)'))) / (select extract(epoch from '2026-07-22 06:41:46'::timestamp) - extract(epoch from '2026-07-22 06:41: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'), 47639, 'SRID=4674;POINT (-40.308194 -2.790687)', '2026-07-22 06:42:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308185 -2.790711)'), GeomFromEWKT('SRID=4674;POINT (-40.308194 -2.790687)'))) / (select extract(epoch from '2026-07-22 06:42:00'::timestamp) - extract(epoch from '2026-07-22 06:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308185 -2.790711)'), GeomFromEWKT('SRID=4674;POINT (-40.308194 -2.790687)'))) / (select extract(epoch from '2026-07-22 06:42:00'::timestamp) - extract(epoch from '2026-07-22 06:41: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'), 47639, 'SRID=4674;POINT (-40.30821 -2.790675)', '2026-07-22 06:42:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308194 -2.790687)'), GeomFromEWKT('SRID=4674;POINT (-40.30821 -2.790675)'))) / (select extract(epoch from '2026-07-22 06:42:12'::timestamp) - extract(epoch from '2026-07-22 06:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308194 -2.790687)'), GeomFromEWKT('SRID=4674;POINT (-40.30821 -2.790675)'))) / (select extract(epoch from '2026-07-22 06:42:12'::timestamp) - extract(epoch from '2026-07-22 06:42: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'), 47639, 'SRID=4674;POINT (-40.308243 -2.79068)', '2026-07-22 06:42:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30821 -2.790675)'), GeomFromEWKT('SRID=4674;POINT (-40.308243 -2.79068)'))) / (select extract(epoch from '2026-07-22 06:42:29'::timestamp) - extract(epoch from '2026-07-22 06:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30821 -2.790675)'), GeomFromEWKT('SRID=4674;POINT (-40.308243 -2.79068)'))) / (select extract(epoch from '2026-07-22 06:42:29'::timestamp) - extract(epoch from '2026-07-22 06:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308256 -2.790678)', '2026-07-22 06:42:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308243 -2.79068)'), GeomFromEWKT('SRID=4674;POINT (-40.308256 -2.790678)'))) / (select extract(epoch from '2026-07-22 06:42:40'::timestamp) - extract(epoch from '2026-07-22 06:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308243 -2.79068)'), GeomFromEWKT('SRID=4674;POINT (-40.308256 -2.790678)'))) / (select extract(epoch from '2026-07-22 06:42:40'::timestamp) - extract(epoch from '2026-07-22 06:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308298 -2.790669)', '2026-07-22 06:42:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308256 -2.790678)'), GeomFromEWKT('SRID=4674;POINT (-40.308298 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:42:58'::timestamp) - extract(epoch from '2026-07-22 06:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308256 -2.790678)'), GeomFromEWKT('SRID=4674;POINT (-40.308298 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:42:58'::timestamp) - extract(epoch from '2026-07-22 06:42: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'), 47639, 'SRID=4674;POINT (-40.308315 -2.790659)', '2026-07-22 06:43:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308298 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.308315 -2.790659)'))) / (select extract(epoch from '2026-07-22 06:43:12'::timestamp) - extract(epoch from '2026-07-22 06:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308298 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.308315 -2.790659)'))) / (select extract(epoch from '2026-07-22 06:43:12'::timestamp) - extract(epoch from '2026-07-22 06:42: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'), 47639, 'SRID=4674;POINT (-40.308331 -2.790666)', '2026-07-22 06:43:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308315 -2.790659)'), GeomFromEWKT('SRID=4674;POINT (-40.308331 -2.790666)'))) / (select extract(epoch from '2026-07-22 06:43:19'::timestamp) - extract(epoch from '2026-07-22 06:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308315 -2.790659)'), GeomFromEWKT('SRID=4674;POINT (-40.308331 -2.790666)'))) / (select extract(epoch from '2026-07-22 06:43:19'::timestamp) - extract(epoch from '2026-07-22 06:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.30834 -2.790662)', '2026-07-22 06:43:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308331 -2.790666)'), GeomFromEWKT('SRID=4674;POINT (-40.30834 -2.790662)'))) / (select extract(epoch from '2026-07-22 06:43:30'::timestamp) - extract(epoch from '2026-07-22 06:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308331 -2.790666)'), GeomFromEWKT('SRID=4674;POINT (-40.30834 -2.790662)'))) / (select extract(epoch from '2026-07-22 06:43:30'::timestamp) - extract(epoch from '2026-07-22 06:43: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'), 47639, 'SRID=4674;POINT (-40.308344 -2.790662)', '2026-07-22 06:43:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30834 -2.790662)'), GeomFromEWKT('SRID=4674;POINT (-40.308344 -2.790662)'))) / (select extract(epoch from '2026-07-22 06:43:39'::timestamp) - extract(epoch from '2026-07-22 06:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30834 -2.790662)'), GeomFromEWKT('SRID=4674;POINT (-40.308344 -2.790662)'))) / (select extract(epoch from '2026-07-22 06:43:39'::timestamp) - extract(epoch from '2026-07-22 06:43: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'), 47639, 'SRID=4674;POINT (-40.308356 -2.790668)', '2026-07-22 06:43:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308344 -2.790662)'), GeomFromEWKT('SRID=4674;POINT (-40.308356 -2.790668)'))) / (select extract(epoch from '2026-07-22 06:43:50'::timestamp) - extract(epoch from '2026-07-22 06:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308344 -2.790662)'), GeomFromEWKT('SRID=4674;POINT (-40.308356 -2.790668)'))) / (select extract(epoch from '2026-07-22 06:43:50'::timestamp) - extract(epoch from '2026-07-22 06:43: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'), 47639, 'SRID=4674;POINT (-40.30835 -2.790676)', '2026-07-22 06:44:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308356 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.30835 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:44:06'::timestamp) - extract(epoch from '2026-07-22 06:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308356 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.30835 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:44:06'::timestamp) - extract(epoch from '2026-07-22 06:43: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'), 47639, 'SRID=4674;POINT (-40.308358 -2.790684)', '2026-07-22 06:44:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30835 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.308358 -2.790684)'))) / (select extract(epoch from '2026-07-22 06:44:19'::timestamp) - extract(epoch from '2026-07-22 06:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30835 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.308358 -2.790684)'))) / (select extract(epoch from '2026-07-22 06:44:19'::timestamp) - extract(epoch from '2026-07-22 06:44:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308383 -2.790678)', '2026-07-22 06:44:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308358 -2.790684)'), GeomFromEWKT('SRID=4674;POINT (-40.308383 -2.790678)'))) / (select extract(epoch from '2026-07-22 06:44:34'::timestamp) - extract(epoch from '2026-07-22 06:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308358 -2.790684)'), GeomFromEWKT('SRID=4674;POINT (-40.308383 -2.790678)'))) / (select extract(epoch from '2026-07-22 06:44:34'::timestamp) - extract(epoch from '2026-07-22 06:44: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'), 47639, 'SRID=4674;POINT (-40.308388 -2.790682)', '2026-07-22 06:44:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308383 -2.790678)'), GeomFromEWKT('SRID=4674;POINT (-40.308388 -2.790682)'))) / (select extract(epoch from '2026-07-22 06:44:43'::timestamp) - extract(epoch from '2026-07-22 06:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308383 -2.790678)'), GeomFromEWKT('SRID=4674;POINT (-40.308388 -2.790682)'))) / (select extract(epoch from '2026-07-22 06:44:43'::timestamp) - extract(epoch from '2026-07-22 06:44: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'), 47639, 'SRID=4674;POINT (-40.308394 -2.790672)', '2026-07-22 06:44:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308388 -2.790682)'), GeomFromEWKT('SRID=4674;POINT (-40.308394 -2.790672)'))) / (select extract(epoch from '2026-07-22 06:44:56'::timestamp) - extract(epoch from '2026-07-22 06:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308388 -2.790682)'), GeomFromEWKT('SRID=4674;POINT (-40.308394 -2.790672)'))) / (select extract(epoch from '2026-07-22 06:44:56'::timestamp) - extract(epoch from '2026-07-22 06:44:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308398 -2.790664)', '2026-07-22 06:45:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308394 -2.790672)'), GeomFromEWKT('SRID=4674;POINT (-40.308398 -2.790664)'))) / (select extract(epoch from '2026-07-22 06:45:07'::timestamp) - extract(epoch from '2026-07-22 06:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308394 -2.790672)'), GeomFromEWKT('SRID=4674;POINT (-40.308398 -2.790664)'))) / (select extract(epoch from '2026-07-22 06:45:07'::timestamp) - extract(epoch from '2026-07-22 06:44: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'), 47639, 'SRID=4674;POINT (-40.308406 -2.790664)', '2026-07-22 06:45:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308398 -2.790664)'), GeomFromEWKT('SRID=4674;POINT (-40.308406 -2.790664)'))) / (select extract(epoch from '2026-07-22 06:45:18'::timestamp) - extract(epoch from '2026-07-22 06:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308398 -2.790664)'), GeomFromEWKT('SRID=4674;POINT (-40.308406 -2.790664)'))) / (select extract(epoch from '2026-07-22 06:45:18'::timestamp) - extract(epoch from '2026-07-22 06:45:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308415 -2.790675)', '2026-07-22 06:45:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308406 -2.790664)'), GeomFromEWKT('SRID=4674;POINT (-40.308415 -2.790675)'))) / (select extract(epoch from '2026-07-22 06:45:28'::timestamp) - extract(epoch from '2026-07-22 06:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308406 -2.790664)'), GeomFromEWKT('SRID=4674;POINT (-40.308415 -2.790675)'))) / (select extract(epoch from '2026-07-22 06:45:28'::timestamp) - extract(epoch from '2026-07-22 06:45: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'), 47639, 'SRID=4674;POINT (-40.308429 -2.790676)', '2026-07-22 06:45:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308415 -2.790675)'), GeomFromEWKT('SRID=4674;POINT (-40.308429 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:45:40'::timestamp) - extract(epoch from '2026-07-22 06:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308415 -2.790675)'), GeomFromEWKT('SRID=4674;POINT (-40.308429 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:45:40'::timestamp) - extract(epoch from '2026-07-22 06:45: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'), 47639, 'SRID=4674;POINT (-40.308435 -2.790682)', '2026-07-22 06:45:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308429 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.308435 -2.790682)'))) / (select extract(epoch from '2026-07-22 06:45:53'::timestamp) - extract(epoch from '2026-07-22 06:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308429 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.308435 -2.790682)'))) / (select extract(epoch from '2026-07-22 06:45:53'::timestamp) - extract(epoch from '2026-07-22 06:45: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'), 47639, 'SRID=4674;POINT (-40.308439 -2.790686)', '2026-07-22 06:46:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308435 -2.790682)'), GeomFromEWKT('SRID=4674;POINT (-40.308439 -2.790686)'))) / (select extract(epoch from '2026-07-22 06:46:08'::timestamp) - extract(epoch from '2026-07-22 06:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308435 -2.790682)'), GeomFromEWKT('SRID=4674;POINT (-40.308439 -2.790686)'))) / (select extract(epoch from '2026-07-22 06:46:08'::timestamp) - extract(epoch from '2026-07-22 06:45: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'), 47639, 'SRID=4674;POINT (-40.30844 -2.790688)', '2026-07-22 06:46:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308439 -2.790686)'), GeomFromEWKT('SRID=4674;POINT (-40.30844 -2.790688)'))) / (select extract(epoch from '2026-07-22 06:46:24'::timestamp) - extract(epoch from '2026-07-22 06:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308439 -2.790686)'), GeomFromEWKT('SRID=4674;POINT (-40.30844 -2.790688)'))) / (select extract(epoch from '2026-07-22 06:46:24'::timestamp) - extract(epoch from '2026-07-22 06:46: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'), 47639, 'SRID=4674;POINT (-40.308453 -2.790687)', '2026-07-22 06:46:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30844 -2.790688)'), GeomFromEWKT('SRID=4674;POINT (-40.308453 -2.790687)'))) / (select extract(epoch from '2026-07-22 06:46:36'::timestamp) - extract(epoch from '2026-07-22 06:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30844 -2.790688)'), GeomFromEWKT('SRID=4674;POINT (-40.308453 -2.790687)'))) / (select extract(epoch from '2026-07-22 06:46:36'::timestamp) - extract(epoch from '2026-07-22 06:46:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.30846 -2.790683)', '2026-07-22 06:46:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308453 -2.790687)'), GeomFromEWKT('SRID=4674;POINT (-40.30846 -2.790683)'))) / (select extract(epoch from '2026-07-22 06:46:47'::timestamp) - extract(epoch from '2026-07-22 06:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308453 -2.790687)'), GeomFromEWKT('SRID=4674;POINT (-40.30846 -2.790683)'))) / (select extract(epoch from '2026-07-22 06:46:47'::timestamp) - extract(epoch from '2026-07-22 06:46: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'), 47639, 'SRID=4674;POINT (-40.308469 -2.790684)', '2026-07-22 06:47:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30846 -2.790683)'), GeomFromEWKT('SRID=4674;POINT (-40.308469 -2.790684)'))) / (select extract(epoch from '2026-07-22 06:47:00'::timestamp) - extract(epoch from '2026-07-22 06:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30846 -2.790683)'), GeomFromEWKT('SRID=4674;POINT (-40.308469 -2.790684)'))) / (select extract(epoch from '2026-07-22 06:47:00'::timestamp) - extract(epoch from '2026-07-22 06:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308473 -2.790686)', '2026-07-22 06:47:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308469 -2.790684)'), GeomFromEWKT('SRID=4674;POINT (-40.308473 -2.790686)'))) / (select extract(epoch from '2026-07-22 06:47:13'::timestamp) - extract(epoch from '2026-07-22 06:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308469 -2.790684)'), GeomFromEWKT('SRID=4674;POINT (-40.308473 -2.790686)'))) / (select extract(epoch from '2026-07-22 06:47:13'::timestamp) - extract(epoch from '2026-07-22 06:47: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'), 47639, 'SRID=4674;POINT (-40.308484 -2.790679)', '2026-07-22 06:47:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308473 -2.790686)'), GeomFromEWKT('SRID=4674;POINT (-40.308484 -2.790679)'))) / (select extract(epoch from '2026-07-22 06:47:26'::timestamp) - extract(epoch from '2026-07-22 06:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308473 -2.790686)'), GeomFromEWKT('SRID=4674;POINT (-40.308484 -2.790679)'))) / (select extract(epoch from '2026-07-22 06:47:26'::timestamp) - extract(epoch from '2026-07-22 06:47: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'), 47639, 'SRID=4674;POINT (-40.308497 -2.790673)', '2026-07-22 06:47:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308484 -2.790679)'), GeomFromEWKT('SRID=4674;POINT (-40.308497 -2.790673)'))) / (select extract(epoch from '2026-07-22 06:47:36'::timestamp) - extract(epoch from '2026-07-22 06:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308484 -2.790679)'), GeomFromEWKT('SRID=4674;POINT (-40.308497 -2.790673)'))) / (select extract(epoch from '2026-07-22 06:47:36'::timestamp) - extract(epoch from '2026-07-22 06:47: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'), 47639, 'SRID=4674;POINT (-40.308509 -2.790669)', '2026-07-22 06:47:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308497 -2.790673)'), GeomFromEWKT('SRID=4674;POINT (-40.308509 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:47:44'::timestamp) - extract(epoch from '2026-07-22 06:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308497 -2.790673)'), GeomFromEWKT('SRID=4674;POINT (-40.308509 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:47:44'::timestamp) - extract(epoch from '2026-07-22 06:47:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308518 -2.790667)', '2026-07-22 06:47:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308509 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.308518 -2.790667)'))) / (select extract(epoch from '2026-07-22 06:47:50'::timestamp) - extract(epoch from '2026-07-22 06:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308509 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.308518 -2.790667)'))) / (select extract(epoch from '2026-07-22 06:47:50'::timestamp) - extract(epoch from '2026-07-22 06:47: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'), 47639, 'SRID=4674;POINT (-40.308533 -2.790662)', '2026-07-22 06:47:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308518 -2.790667)'), GeomFromEWKT('SRID=4674;POINT (-40.308533 -2.790662)'))) / (select extract(epoch from '2026-07-22 06:47:59'::timestamp) - extract(epoch from '2026-07-22 06:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308518 -2.790667)'), GeomFromEWKT('SRID=4674;POINT (-40.308533 -2.790662)'))) / (select extract(epoch from '2026-07-22 06:47:59'::timestamp) - extract(epoch from '2026-07-22 06:47: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'), 47639, 'SRID=4674;POINT (-40.308538 -2.790665)', '2026-07-22 06:48:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308533 -2.790662)'), GeomFromEWKT('SRID=4674;POINT (-40.308538 -2.790665)'))) / (select extract(epoch from '2026-07-22 06:48:10'::timestamp) - extract(epoch from '2026-07-22 06:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308533 -2.790662)'), GeomFromEWKT('SRID=4674;POINT (-40.308538 -2.790665)'))) / (select extract(epoch from '2026-07-22 06:48:10'::timestamp) - extract(epoch from '2026-07-22 06:47: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'), 47639, 'SRID=4674;POINT (-40.308552 -2.790667)', '2026-07-22 06:48:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308538 -2.790665)'), GeomFromEWKT('SRID=4674;POINT (-40.308552 -2.790667)'))) / (select extract(epoch from '2026-07-22 06:48:23'::timestamp) - extract(epoch from '2026-07-22 06:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308538 -2.790665)'), GeomFromEWKT('SRID=4674;POINT (-40.308552 -2.790667)'))) / (select extract(epoch from '2026-07-22 06:48:23'::timestamp) - extract(epoch from '2026-07-22 06:48:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308562 -2.790671)', '2026-07-22 06:48:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308552 -2.790667)'), GeomFromEWKT('SRID=4674;POINT (-40.308562 -2.790671)'))) / (select extract(epoch from '2026-07-22 06:48:33'::timestamp) - extract(epoch from '2026-07-22 06:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308552 -2.790667)'), GeomFromEWKT('SRID=4674;POINT (-40.308562 -2.790671)'))) / (select extract(epoch from '2026-07-22 06:48:33'::timestamp) - extract(epoch from '2026-07-22 06:48:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308572 -2.790676)', '2026-07-22 06:48:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308562 -2.790671)'), GeomFromEWKT('SRID=4674;POINT (-40.308572 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:48:43'::timestamp) - extract(epoch from '2026-07-22 06:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308562 -2.790671)'), GeomFromEWKT('SRID=4674;POINT (-40.308572 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:48:43'::timestamp) - extract(epoch from '2026-07-22 06:48: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'), 47639, 'SRID=4674;POINT (-40.308578 -2.790676)', '2026-07-22 06:48:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308572 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.308578 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:48:55'::timestamp) - extract(epoch from '2026-07-22 06:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308572 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.308578 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:48:55'::timestamp) - extract(epoch from '2026-07-22 06:48: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'), 47639, 'SRID=4674;POINT (-40.308585 -2.79067)', '2026-07-22 06:49:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308578 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.308585 -2.79067)'))) / (select extract(epoch from '2026-07-22 06:49:03'::timestamp) - extract(epoch from '2026-07-22 06:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308578 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.308585 -2.79067)'))) / (select extract(epoch from '2026-07-22 06:49:03'::timestamp) - extract(epoch from '2026-07-22 06:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308592 -2.790669)', '2026-07-22 06:49:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308585 -2.79067)'), GeomFromEWKT('SRID=4674;POINT (-40.308592 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:49:14'::timestamp) - extract(epoch from '2026-07-22 06:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308585 -2.79067)'), GeomFromEWKT('SRID=4674;POINT (-40.308592 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:49:14'::timestamp) - extract(epoch from '2026-07-22 06:49: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'), 47639, 'SRID=4674;POINT (-40.308596 -2.790666)', '2026-07-22 06:49:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308592 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.308596 -2.790666)'))) / (select extract(epoch from '2026-07-22 06:49:28'::timestamp) - extract(epoch from '2026-07-22 06:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308592 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.308596 -2.790666)'))) / (select extract(epoch from '2026-07-22 06:49:28'::timestamp) - extract(epoch from '2026-07-22 06:49: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'), 47639, 'SRID=4674;POINT (-40.30861 -2.790667)', '2026-07-22 06:49:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308596 -2.790666)'), GeomFromEWKT('SRID=4674;POINT (-40.30861 -2.790667)'))) / (select extract(epoch from '2026-07-22 06:49:37'::timestamp) - extract(epoch from '2026-07-22 06:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308596 -2.790666)'), GeomFromEWKT('SRID=4674;POINT (-40.30861 -2.790667)'))) / (select extract(epoch from '2026-07-22 06:49:37'::timestamp) - extract(epoch from '2026-07-22 06:49: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'), 47639, 'SRID=4674;POINT (-40.308674 -2.790658)', '2026-07-22 06:49:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30861 -2.790667)'), GeomFromEWKT('SRID=4674;POINT (-40.308674 -2.790658)'))) / (select extract(epoch from '2026-07-22 06:49:53'::timestamp) - extract(epoch from '2026-07-22 06:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30861 -2.790667)'), GeomFromEWKT('SRID=4674;POINT (-40.308674 -2.790658)'))) / (select extract(epoch from '2026-07-22 06:49:53'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.308721 -2.790641)', '2026-07-22 06:50:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308674 -2.790658)'), GeomFromEWKT('SRID=4674;POINT (-40.308721 -2.790641)'))) / (select extract(epoch from '2026-07-22 06:50:03'::timestamp) - extract(epoch from '2026-07-22 06:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308674 -2.790658)'), GeomFromEWKT('SRID=4674;POINT (-40.308721 -2.790641)'))) / (select extract(epoch from '2026-07-22 06:50:03'::timestamp) - extract(epoch from '2026-07-22 06:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308788 -2.79064)', '2026-07-22 06:50:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308721 -2.790641)'), GeomFromEWKT('SRID=4674;POINT (-40.308788 -2.79064)'))) / (select extract(epoch from '2026-07-22 06:50:17'::timestamp) - extract(epoch from '2026-07-22 06:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308721 -2.790641)'), GeomFromEWKT('SRID=4674;POINT (-40.308788 -2.79064)'))) / (select extract(epoch from '2026-07-22 06:50:17'::timestamp) - extract(epoch from '2026-07-22 06:50:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308795 -2.790642)', '2026-07-22 06:50:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308788 -2.79064)'), GeomFromEWKT('SRID=4674;POINT (-40.308795 -2.790642)'))) / (select extract(epoch from '2026-07-22 06:50:27'::timestamp) - extract(epoch from '2026-07-22 06:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308788 -2.79064)'), GeomFromEWKT('SRID=4674;POINT (-40.308795 -2.790642)'))) / (select extract(epoch from '2026-07-22 06:50:27'::timestamp) - extract(epoch from '2026-07-22 06:50: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'), 47639, 'SRID=4674;POINT (-40.30881 -2.790648)', '2026-07-22 06:50:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308795 -2.790642)'), GeomFromEWKT('SRID=4674;POINT (-40.30881 -2.790648)'))) / (select extract(epoch from '2026-07-22 06:50:43'::timestamp) - extract(epoch from '2026-07-22 06:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308795 -2.790642)'), GeomFromEWKT('SRID=4674;POINT (-40.30881 -2.790648)'))) / (select extract(epoch from '2026-07-22 06:50:43'::timestamp) - extract(epoch from '2026-07-22 06:50: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'), 47639, 'SRID=4674;POINT (-40.30884 -2.790656)', '2026-07-22 06:50:54', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30881 -2.790648)'), GeomFromEWKT('SRID=4674;POINT (-40.30884 -2.790656)'))) / (select extract(epoch from '2026-07-22 06:50:54'::timestamp) - extract(epoch from '2026-07-22 06:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30881 -2.790648)'), GeomFromEWKT('SRID=4674;POINT (-40.30884 -2.790656)'))) / (select extract(epoch from '2026-07-22 06:50:54'::timestamp) - extract(epoch from '2026-07-22 06:50: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'), 47639, 'SRID=4674;POINT (-40.308877 -2.790656)', '2026-07-22 06:51:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30884 -2.790656)'), GeomFromEWKT('SRID=4674;POINT (-40.308877 -2.790656)'))) / (select extract(epoch from '2026-07-22 06:51:06'::timestamp) - extract(epoch from '2026-07-22 06:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30884 -2.790656)'), GeomFromEWKT('SRID=4674;POINT (-40.308877 -2.790656)'))) / (select extract(epoch from '2026-07-22 06:51:06'::timestamp) - extract(epoch from '2026-07-22 06:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308895 -2.790658)', '2026-07-22 06:51:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308877 -2.790656)'), GeomFromEWKT('SRID=4674;POINT (-40.308895 -2.790658)'))) / (select extract(epoch from '2026-07-22 06:51:21'::timestamp) - extract(epoch from '2026-07-22 06:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308877 -2.790656)'), GeomFromEWKT('SRID=4674;POINT (-40.308895 -2.790658)'))) / (select extract(epoch from '2026-07-22 06:51:21'::timestamp) - extract(epoch from '2026-07-22 06:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308901 -2.790658)', '2026-07-22 06:51:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308895 -2.790658)'), GeomFromEWKT('SRID=4674;POINT (-40.308901 -2.790658)'))) / (select extract(epoch from '2026-07-22 06:51:37'::timestamp) - extract(epoch from '2026-07-22 06:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308895 -2.790658)'), GeomFromEWKT('SRID=4674;POINT (-40.308901 -2.790658)'))) / (select extract(epoch from '2026-07-22 06:51:37'::timestamp) - extract(epoch from '2026-07-22 06:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308912 -2.790669)', '2026-07-22 06:51:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308901 -2.790658)'), GeomFromEWKT('SRID=4674;POINT (-40.308912 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:51:49'::timestamp) - extract(epoch from '2026-07-22 06:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308901 -2.790658)'), GeomFromEWKT('SRID=4674;POINT (-40.308912 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:51:49'::timestamp) - extract(epoch from '2026-07-22 06:51:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308935 -2.790677)', '2026-07-22 06:52:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308912 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.308935 -2.790677)'))) / (select extract(epoch from '2026-07-22 06:52:03'::timestamp) - extract(epoch from '2026-07-22 06:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308912 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.308935 -2.790677)'))) / (select extract(epoch from '2026-07-22 06:52:03'::timestamp) - extract(epoch from '2026-07-22 06:51: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'), 47639, 'SRID=4674;POINT (-40.308953 -2.790672)', '2026-07-22 06:52:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308935 -2.790677)'), GeomFromEWKT('SRID=4674;POINT (-40.308953 -2.790672)'))) / (select extract(epoch from '2026-07-22 06:52:20'::timestamp) - extract(epoch from '2026-07-22 06:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308935 -2.790677)'), GeomFromEWKT('SRID=4674;POINT (-40.308953 -2.790672)'))) / (select extract(epoch from '2026-07-22 06:52:20'::timestamp) - extract(epoch from '2026-07-22 06:52: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'), 47639, 'SRID=4674;POINT (-40.308957 -2.790668)', '2026-07-22 06:52:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308953 -2.790672)'), GeomFromEWKT('SRID=4674;POINT (-40.308957 -2.790668)'))) / (select extract(epoch from '2026-07-22 06:52:31'::timestamp) - extract(epoch from '2026-07-22 06:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308953 -2.790672)'), GeomFromEWKT('SRID=4674;POINT (-40.308957 -2.790668)'))) / (select extract(epoch from '2026-07-22 06:52:31'::timestamp) - extract(epoch from '2026-07-22 06:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308965 -2.790668)', '2026-07-22 06:52:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308957 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.308965 -2.790668)'))) / (select extract(epoch from '2026-07-22 06:52:42'::timestamp) - extract(epoch from '2026-07-22 06:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308957 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.308965 -2.790668)'))) / (select extract(epoch from '2026-07-22 06:52:42'::timestamp) - extract(epoch from '2026-07-22 06:52:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.308996 -2.790667)', '2026-07-22 06:52:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308965 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.308996 -2.790667)'))) / (select extract(epoch from '2026-07-22 06:52:51'::timestamp) - extract(epoch from '2026-07-22 06:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308965 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.308996 -2.790667)'))) / (select extract(epoch from '2026-07-22 06:52:51'::timestamp) - extract(epoch from '2026-07-22 06:52: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'), 47639, 'SRID=4674;POINT (-40.309004 -2.790666)', '2026-07-22 06:53:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308996 -2.790667)'), GeomFromEWKT('SRID=4674;POINT (-40.309004 -2.790666)'))) / (select extract(epoch from '2026-07-22 06:53:00'::timestamp) - extract(epoch from '2026-07-22 06:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308996 -2.790667)'), GeomFromEWKT('SRID=4674;POINT (-40.309004 -2.790666)'))) / (select extract(epoch from '2026-07-22 06:53:00'::timestamp) - extract(epoch from '2026-07-22 06:52: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'), 47639, 'SRID=4674;POINT (-40.309009 -2.790669)', '2026-07-22 06:53:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309004 -2.790666)'), GeomFromEWKT('SRID=4674;POINT (-40.309009 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:53:11'::timestamp) - extract(epoch from '2026-07-22 06:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309004 -2.790666)'), GeomFromEWKT('SRID=4674;POINT (-40.309009 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:53:11'::timestamp) - extract(epoch from '2026-07-22 06:53: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'), 47639, 'SRID=4674;POINT (-40.309027 -2.790671)', '2026-07-22 06:53:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309009 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.309027 -2.790671)'))) / (select extract(epoch from '2026-07-22 06:53:25'::timestamp) - extract(epoch from '2026-07-22 06:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309009 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.309027 -2.790671)'))) / (select extract(epoch from '2026-07-22 06:53:25'::timestamp) - extract(epoch from '2026-07-22 06:53: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'), 47639, 'SRID=4674;POINT (-40.309033 -2.790668)', '2026-07-22 06:53:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309027 -2.790671)'), GeomFromEWKT('SRID=4674;POINT (-40.309033 -2.790668)'))) / (select extract(epoch from '2026-07-22 06:53:40'::timestamp) - extract(epoch from '2026-07-22 06:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309027 -2.790671)'), GeomFromEWKT('SRID=4674;POINT (-40.309033 -2.790668)'))) / (select extract(epoch from '2026-07-22 06:53:40'::timestamp) - extract(epoch from '2026-07-22 06:53: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'), 47639, 'SRID=4674;POINT (-40.309042 -2.790671)', '2026-07-22 06:53:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309033 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.309042 -2.790671)'))) / (select extract(epoch from '2026-07-22 06:53:52'::timestamp) - extract(epoch from '2026-07-22 06:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309033 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.309042 -2.790671)'))) / (select extract(epoch from '2026-07-22 06:53:52'::timestamp) - extract(epoch from '2026-07-22 06:53: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'), 47639, 'SRID=4674;POINT (-40.309046 -2.790674)', '2026-07-22 06:54:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309042 -2.790671)'), GeomFromEWKT('SRID=4674;POINT (-40.309046 -2.790674)'))) / (select extract(epoch from '2026-07-22 06:54:01'::timestamp) - extract(epoch from '2026-07-22 06:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309042 -2.790671)'), GeomFromEWKT('SRID=4674;POINT (-40.309046 -2.790674)'))) / (select extract(epoch from '2026-07-22 06:54:01'::timestamp) - extract(epoch from '2026-07-22 06:53: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'), 47639, 'SRID=4674;POINT (-40.309063 -2.790675)', '2026-07-22 06:54:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309046 -2.790674)'), GeomFromEWKT('SRID=4674;POINT (-40.309063 -2.790675)'))) / (select extract(epoch from '2026-07-22 06:54:13'::timestamp) - extract(epoch from '2026-07-22 06:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309046 -2.790674)'), GeomFromEWKT('SRID=4674;POINT (-40.309063 -2.790675)'))) / (select extract(epoch from '2026-07-22 06:54:13'::timestamp) - extract(epoch from '2026-07-22 06:54: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'), 47639, 'SRID=4674;POINT (-40.309098 -2.790683)', '2026-07-22 06:54:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309063 -2.790675)'), GeomFromEWKT('SRID=4674;POINT (-40.309098 -2.790683)'))) / (select extract(epoch from '2026-07-22 06:54:26'::timestamp) - extract(epoch from '2026-07-22 06:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309063 -2.790675)'), GeomFromEWKT('SRID=4674;POINT (-40.309098 -2.790683)'))) / (select extract(epoch from '2026-07-22 06:54:26'::timestamp) - extract(epoch from '2026-07-22 06:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309192 -2.790668)', '2026-07-22 06:54:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309098 -2.790683)'), GeomFromEWKT('SRID=4674;POINT (-40.309192 -2.790668)'))) / (select extract(epoch from '2026-07-22 06:54:41'::timestamp) - extract(epoch from '2026-07-22 06:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309098 -2.790683)'), GeomFromEWKT('SRID=4674;POINT (-40.309192 -2.790668)'))) / (select extract(epoch from '2026-07-22 06:54:41'::timestamp) - extract(epoch from '2026-07-22 06:54: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'), 47639, 'SRID=4674;POINT (-40.309236 -2.790659)', '2026-07-22 06:54:44', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309192 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.309236 -2.790659)'))) / (select extract(epoch from '2026-07-22 06:54:44'::timestamp) - extract(epoch from '2026-07-22 06:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309192 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.309236 -2.790659)'))) / (select extract(epoch from '2026-07-22 06:54:44'::timestamp) - extract(epoch from '2026-07-22 06:54:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309273 -2.790658)', '2026-07-22 06:54:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309236 -2.790659)'), GeomFromEWKT('SRID=4674;POINT (-40.309273 -2.790658)'))) / (select extract(epoch from '2026-07-22 06:54:50'::timestamp) - extract(epoch from '2026-07-22 06:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309236 -2.790659)'), GeomFromEWKT('SRID=4674;POINT (-40.309273 -2.790658)'))) / (select extract(epoch from '2026-07-22 06:54:50'::timestamp) - extract(epoch from '2026-07-22 06:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309282 -2.790662)', '2026-07-22 06:55:00', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309273 -2.790658)'), GeomFromEWKT('SRID=4674;POINT (-40.309282 -2.790662)'))) / (select extract(epoch from '2026-07-22 06:55:00'::timestamp) - extract(epoch from '2026-07-22 06:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309273 -2.790658)'), GeomFromEWKT('SRID=4674;POINT (-40.309282 -2.790662)'))) / (select extract(epoch from '2026-07-22 06:55:00'::timestamp) - extract(epoch from '2026-07-22 06:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309283 -2.790669)', '2026-07-22 06:55:10', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309282 -2.790662)'), GeomFromEWKT('SRID=4674;POINT (-40.309283 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:55:10'::timestamp) - extract(epoch from '2026-07-22 06:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309282 -2.790662)'), GeomFromEWKT('SRID=4674;POINT (-40.309283 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:55:10'::timestamp) - extract(epoch from '2026-07-22 06:55:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309298 -2.790672)', '2026-07-22 06:55:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309283 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.309298 -2.790672)'))) / (select extract(epoch from '2026-07-22 06:55:19'::timestamp) - extract(epoch from '2026-07-22 06:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309283 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.309298 -2.790672)'))) / (select extract(epoch from '2026-07-22 06:55:19'::timestamp) - extract(epoch from '2026-07-22 06:55:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309317 -2.790675)', '2026-07-22 06:55:34', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309298 -2.790672)'), GeomFromEWKT('SRID=4674;POINT (-40.309317 -2.790675)'))) / (select extract(epoch from '2026-07-22 06:55:34'::timestamp) - extract(epoch from '2026-07-22 06:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309298 -2.790672)'), GeomFromEWKT('SRID=4674;POINT (-40.309317 -2.790675)'))) / (select extract(epoch from '2026-07-22 06:55:34'::timestamp) - extract(epoch from '2026-07-22 06:55: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'), 47639, 'SRID=4674;POINT (-40.309346 -2.790677)', '2026-07-22 06:55:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309317 -2.790675)'), GeomFromEWKT('SRID=4674;POINT (-40.309346 -2.790677)'))) / (select extract(epoch from '2026-07-22 06:55:48'::timestamp) - extract(epoch from '2026-07-22 06:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309317 -2.790675)'), GeomFromEWKT('SRID=4674;POINT (-40.309346 -2.790677)'))) / (select extract(epoch from '2026-07-22 06:55:48'::timestamp) - extract(epoch from '2026-07-22 06:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309355 -2.790676)', '2026-07-22 06:55:59', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309346 -2.790677)'), GeomFromEWKT('SRID=4674;POINT (-40.309355 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:55:59'::timestamp) - extract(epoch from '2026-07-22 06:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309346 -2.790677)'), GeomFromEWKT('SRID=4674;POINT (-40.309355 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:55:59'::timestamp) - extract(epoch from '2026-07-22 06:55: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'), 47639, 'SRID=4674;POINT (-40.30937 -2.790676)', '2026-07-22 06:56:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309355 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.30937 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:56:13'::timestamp) - extract(epoch from '2026-07-22 06:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309355 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.30937 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:56:13'::timestamp) - extract(epoch from '2026-07-22 06:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309386 -2.790675)', '2026-07-22 06:56:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30937 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.309386 -2.790675)'))) / (select extract(epoch from '2026-07-22 06:56:26'::timestamp) - extract(epoch from '2026-07-22 06:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30937 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.309386 -2.790675)'))) / (select extract(epoch from '2026-07-22 06:56:26'::timestamp) - extract(epoch from '2026-07-22 06:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309411 -2.790674)', '2026-07-22 06:56:38', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309386 -2.790675)'), GeomFromEWKT('SRID=4674;POINT (-40.309411 -2.790674)'))) / (select extract(epoch from '2026-07-22 06:56:38'::timestamp) - extract(epoch from '2026-07-22 06:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309386 -2.790675)'), GeomFromEWKT('SRID=4674;POINT (-40.309411 -2.790674)'))) / (select extract(epoch from '2026-07-22 06:56:38'::timestamp) - extract(epoch from '2026-07-22 06:56:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309427 -2.790673)', '2026-07-22 06:56:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309411 -2.790674)'), GeomFromEWKT('SRID=4674;POINT (-40.309427 -2.790673)'))) / (select extract(epoch from '2026-07-22 06:56:55'::timestamp) - extract(epoch from '2026-07-22 06:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309411 -2.790674)'), GeomFromEWKT('SRID=4674;POINT (-40.309427 -2.790673)'))) / (select extract(epoch from '2026-07-22 06:56:55'::timestamp) - extract(epoch from '2026-07-22 06:56: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'), 47639, 'SRID=4674;POINT (-40.309434 -2.790674)', '2026-07-22 06:57:04', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309427 -2.790673)'), GeomFromEWKT('SRID=4674;POINT (-40.309434 -2.790674)'))) / (select extract(epoch from '2026-07-22 06:57:04'::timestamp) - extract(epoch from '2026-07-22 06:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309427 -2.790673)'), GeomFromEWKT('SRID=4674;POINT (-40.309434 -2.790674)'))) / (select extract(epoch from '2026-07-22 06:57:04'::timestamp) - extract(epoch from '2026-07-22 06:56: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'), 47639, 'SRID=4674;POINT (-40.309439 -2.790669)', '2026-07-22 06:57:21', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309434 -2.790674)'), GeomFromEWKT('SRID=4674;POINT (-40.309439 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:57:21'::timestamp) - extract(epoch from '2026-07-22 06:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309434 -2.790674)'), GeomFromEWKT('SRID=4674;POINT (-40.309439 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:57:21'::timestamp) - extract(epoch from '2026-07-22 06:57: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'), 47639, 'SRID=4674;POINT (-40.309444 -2.79067)', '2026-07-22 06:57:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309439 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.309444 -2.79067)'))) / (select extract(epoch from '2026-07-22 06:57:33'::timestamp) - extract(epoch from '2026-07-22 06:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309439 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.309444 -2.79067)'))) / (select extract(epoch from '2026-07-22 06:57:33'::timestamp) - extract(epoch from '2026-07-22 06:57:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309458 -2.790668)', '2026-07-22 06:57:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309444 -2.79067)'), GeomFromEWKT('SRID=4674;POINT (-40.309458 -2.790668)'))) / (select extract(epoch from '2026-07-22 06:57:45'::timestamp) - extract(epoch from '2026-07-22 06:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309444 -2.79067)'), GeomFromEWKT('SRID=4674;POINT (-40.309458 -2.790668)'))) / (select extract(epoch from '2026-07-22 06:57:45'::timestamp) - extract(epoch from '2026-07-22 06:57:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309477 -2.79067)', '2026-07-22 06:57:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309458 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.309477 -2.79067)'))) / (select extract(epoch from '2026-07-22 06:57:58'::timestamp) - extract(epoch from '2026-07-22 06:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309458 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.309477 -2.79067)'))) / (select extract(epoch from '2026-07-22 06:57:58'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.309501 -2.790683)', '2026-07-22 06:58:13', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309477 -2.79067)'), GeomFromEWKT('SRID=4674;POINT (-40.309501 -2.790683)'))) / (select extract(epoch from '2026-07-22 06:58:13'::timestamp) - extract(epoch from '2026-07-22 06:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309477 -2.79067)'), GeomFromEWKT('SRID=4674;POINT (-40.309501 -2.790683)'))) / (select extract(epoch from '2026-07-22 06:58:13'::timestamp) - extract(epoch from '2026-07-22 06:57: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'), 47639, 'SRID=4674;POINT (-40.309516 -2.790684)', '2026-07-22 06:58:28', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309501 -2.790683)'), GeomFromEWKT('SRID=4674;POINT (-40.309516 -2.790684)'))) / (select extract(epoch from '2026-07-22 06:58:28'::timestamp) - extract(epoch from '2026-07-22 06:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309501 -2.790683)'), GeomFromEWKT('SRID=4674;POINT (-40.309516 -2.790684)'))) / (select extract(epoch from '2026-07-22 06:58:28'::timestamp) - extract(epoch from '2026-07-22 06:58: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'), 47639, 'SRID=4674;POINT (-40.309519 -2.790688)', '2026-07-22 06:58:40', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309516 -2.790684)'), GeomFromEWKT('SRID=4674;POINT (-40.309519 -2.790688)'))) / (select extract(epoch from '2026-07-22 06:58:40'::timestamp) - extract(epoch from '2026-07-22 06:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309516 -2.790684)'), GeomFromEWKT('SRID=4674;POINT (-40.309519 -2.790688)'))) / (select extract(epoch from '2026-07-22 06:58:40'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47639, 'SRID=4674;POINT (-40.309527 -2.790682)', '2026-07-22 06:58:51', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309519 -2.790688)'), GeomFromEWKT('SRID=4674;POINT (-40.309527 -2.790682)'))) / (select extract(epoch from '2026-07-22 06:58:51'::timestamp) - extract(epoch from '2026-07-22 06:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309519 -2.790688)'), GeomFromEWKT('SRID=4674;POINT (-40.309527 -2.790682)'))) / (select extract(epoch from '2026-07-22 06:58:51'::timestamp) - extract(epoch from '2026-07-22 06:58: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'), 47639, 'SRID=4674;POINT (-40.309543 -2.790676)', '2026-07-22 06:59:01', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309527 -2.790682)'), GeomFromEWKT('SRID=4674;POINT (-40.309543 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:59:01'::timestamp) - extract(epoch from '2026-07-22 06:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309527 -2.790682)'), GeomFromEWKT('SRID=4674;POINT (-40.309543 -2.790676)'))) / (select extract(epoch from '2026-07-22 06:59:01'::timestamp) - extract(epoch from '2026-07-22 06:58: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'), 47639, 'SRID=4674;POINT (-40.30957 -2.790669)', '2026-07-22 06:59:13', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309543 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.30957 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:59:13'::timestamp) - extract(epoch from '2026-07-22 06:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309543 -2.790676)'), GeomFromEWKT('SRID=4674;POINT (-40.30957 -2.790669)'))) / (select extract(epoch from '2026-07-22 06:59:13'::timestamp) - extract(epoch from '2026-07-22 06:59: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'), 47639, 'SRID=4674;POINT (-40.309578 -2.790678)', '2026-07-22 06:59:25', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30957 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.309578 -2.790678)'))) / (select extract(epoch from '2026-07-22 06:59:25'::timestamp) - extract(epoch from '2026-07-22 06:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30957 -2.790669)'), GeomFromEWKT('SRID=4674;POINT (-40.309578 -2.790678)'))) / (select extract(epoch from '2026-07-22 06:59:25'::timestamp) - extract(epoch from '2026-07-22 06:59: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'), 47639, 'SRID=4674;POINT (-40.30963 -2.790691)', '2026-07-22 06:59:37', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309578 -2.790678)'), GeomFromEWKT('SRID=4674;POINT (-40.30963 -2.790691)'))) / (select extract(epoch from '2026-07-22 06:59:37'::timestamp) - extract(epoch from '2026-07-22 06:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309578 -2.790678)'), GeomFromEWKT('SRID=4674;POINT (-40.30963 -2.790691)'))) / (select extract(epoch from '2026-07-22 06:59:37'::timestamp) - extract(epoch from '2026-07-22 06:59: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'), 47639, 'SRID=4674;POINT (-40.30966 -2.790688)', '2026-07-22 06:59:51', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30963 -2.790691)'), GeomFromEWKT('SRID=4674;POINT (-40.30966 -2.790688)'))) / (select extract(epoch from '2026-07-22 06:59:51'::timestamp) - extract(epoch from '2026-07-22 06:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30963 -2.790691)'), GeomFromEWKT('SRID=4674;POINT (-40.30966 -2.790688)'))) / (select extract(epoch from '2026-07-22 06:59:51'::timestamp) - extract(epoch from '2026-07-22 06:59: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'), 47639, 'SRID=4674;POINT (-40.309664 -2.790687)', '2026-07-22 07:00:04', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30966 -2.790688)'), GeomFromEWKT('SRID=4674;POINT (-40.309664 -2.790687)'))) / (select extract(epoch from '2026-07-22 07:00:04'::timestamp) - extract(epoch from '2026-07-22 06:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30966 -2.790688)'), GeomFromEWKT('SRID=4674;POINT (-40.309664 -2.790687)'))) / (select extract(epoch from '2026-07-22 07:00:04'::timestamp) - extract(epoch from '2026-07-22 06:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309673 -2.790689)', '2026-07-22 07:00:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309664 -2.790687)'), GeomFromEWKT('SRID=4674;POINT (-40.309673 -2.790689)'))) / (select extract(epoch from '2026-07-22 07:00:19'::timestamp) - extract(epoch from '2026-07-22 07:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309664 -2.790687)'), GeomFromEWKT('SRID=4674;POINT (-40.309673 -2.790689)'))) / (select extract(epoch from '2026-07-22 07:00:19'::timestamp) - extract(epoch from '2026-07-22 07:00: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'), 47639, 'SRID=4674;POINT (-40.309686 -2.790685)', '2026-07-22 07:00:31', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309673 -2.790689)'), GeomFromEWKT('SRID=4674;POINT (-40.309686 -2.790685)'))) / (select extract(epoch from '2026-07-22 07:00:31'::timestamp) - extract(epoch from '2026-07-22 07:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309673 -2.790689)'), GeomFromEWKT('SRID=4674;POINT (-40.309686 -2.790685)'))) / (select extract(epoch from '2026-07-22 07:00:31'::timestamp) - extract(epoch from '2026-07-22 07:00: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'), 47639, 'SRID=4674;POINT (-40.309697 -2.790679)', '2026-07-22 07:00:47', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309686 -2.790685)'), GeomFromEWKT('SRID=4674;POINT (-40.309697 -2.790679)'))) / (select extract(epoch from '2026-07-22 07:00:47'::timestamp) - extract(epoch from '2026-07-22 07:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309686 -2.790685)'), GeomFromEWKT('SRID=4674;POINT (-40.309697 -2.790679)'))) / (select extract(epoch from '2026-07-22 07:00:47'::timestamp) - extract(epoch from '2026-07-22 07:00: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'), 47639, 'SRID=4674;POINT (-40.309699 -2.790671)', '2026-07-22 07:01:00', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309697 -2.790679)'), GeomFromEWKT('SRID=4674;POINT (-40.309699 -2.790671)'))) / (select extract(epoch from '2026-07-22 07:01:00'::timestamp) - extract(epoch from '2026-07-22 07:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309697 -2.790679)'), GeomFromEWKT('SRID=4674;POINT (-40.309699 -2.790671)'))) / (select extract(epoch from '2026-07-22 07:01:00'::timestamp) - extract(epoch from '2026-07-22 07:00:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309703 -2.790659)', '2026-07-22 07:01:12', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309699 -2.790671)'), GeomFromEWKT('SRID=4674;POINT (-40.309703 -2.790659)'))) / (select extract(epoch from '2026-07-22 07:01:12'::timestamp) - extract(epoch from '2026-07-22 07:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309699 -2.790671)'), GeomFromEWKT('SRID=4674;POINT (-40.309703 -2.790659)'))) / (select extract(epoch from '2026-07-22 07:01:12'::timestamp) - extract(epoch from '2026-07-22 07:01: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'), 47639, 'SRID=4674;POINT (-40.309711 -2.790655)', '2026-07-22 07:01:24', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309703 -2.790659)'), GeomFromEWKT('SRID=4674;POINT (-40.309711 -2.790655)'))) / (select extract(epoch from '2026-07-22 07:01:24'::timestamp) - extract(epoch from '2026-07-22 07:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309703 -2.790659)'), GeomFromEWKT('SRID=4674;POINT (-40.309711 -2.790655)'))) / (select extract(epoch from '2026-07-22 07:01:24'::timestamp) - extract(epoch from '2026-07-22 07:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309774 -2.790613)', '2026-07-22 07:01:40', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309711 -2.790655)'), GeomFromEWKT('SRID=4674;POINT (-40.309774 -2.790613)'))) / (select extract(epoch from '2026-07-22 07:01:40'::timestamp) - extract(epoch from '2026-07-22 07:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309711 -2.790655)'), GeomFromEWKT('SRID=4674;POINT (-40.309774 -2.790613)'))) / (select extract(epoch from '2026-07-22 07:01:40'::timestamp) - extract(epoch from '2026-07-22 07:01: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'), 47639, 'SRID=4674;POINT (-40.309841 -2.790613)', '2026-07-22 07:01:55', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309774 -2.790613)'), GeomFromEWKT('SRID=4674;POINT (-40.309841 -2.790613)'))) / (select extract(epoch from '2026-07-22 07:01:55'::timestamp) - extract(epoch from '2026-07-22 07:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309774 -2.790613)'), GeomFromEWKT('SRID=4674;POINT (-40.309841 -2.790613)'))) / (select extract(epoch from '2026-07-22 07:01:55'::timestamp) - extract(epoch from '2026-07-22 07:01:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309948 -2.790619)', '2026-07-22 07:02:10', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309841 -2.790613)'), GeomFromEWKT('SRID=4674;POINT (-40.309948 -2.790619)'))) / (select extract(epoch from '2026-07-22 07:02:10'::timestamp) - extract(epoch from '2026-07-22 07:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309841 -2.790613)'), GeomFromEWKT('SRID=4674;POINT (-40.309948 -2.790619)'))) / (select extract(epoch from '2026-07-22 07:02:10'::timestamp) - extract(epoch from '2026-07-22 07:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.309968 -2.79062)', '2026-07-22 07:02:19', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309948 -2.790619)'), GeomFromEWKT('SRID=4674;POINT (-40.309968 -2.79062)'))) / (select extract(epoch from '2026-07-22 07:02:19'::timestamp) - extract(epoch from '2026-07-22 07:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309948 -2.790619)'), GeomFromEWKT('SRID=4674;POINT (-40.309968 -2.79062)'))) / (select extract(epoch from '2026-07-22 07:02:19'::timestamp) - extract(epoch from '2026-07-22 07:02: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'), 47639, 'SRID=4674;POINT (-40.310047 -2.790609)', '2026-07-22 07:02:29', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309968 -2.79062)'), GeomFromEWKT('SRID=4674;POINT (-40.310047 -2.790609)'))) / (select extract(epoch from '2026-07-22 07:02:29'::timestamp) - extract(epoch from '2026-07-22 07:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309968 -2.79062)'), GeomFromEWKT('SRID=4674;POINT (-40.310047 -2.790609)'))) / (select extract(epoch from '2026-07-22 07:02:29'::timestamp) - extract(epoch from '2026-07-22 07:02: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'), 47639, 'SRID=4674;POINT (-40.310135 -2.790607)', '2026-07-22 07:02:42', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310047 -2.790609)'), GeomFromEWKT('SRID=4674;POINT (-40.310135 -2.790607)'))) / (select extract(epoch from '2026-07-22 07:02:42'::timestamp) - extract(epoch from '2026-07-22 07:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310047 -2.790609)'), GeomFromEWKT('SRID=4674;POINT (-40.310135 -2.790607)'))) / (select extract(epoch from '2026-07-22 07:02:42'::timestamp) - extract(epoch from '2026-07-22 07:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.3103 -2.790542)', '2026-07-22 07:03:01', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310135 -2.790607)'), GeomFromEWKT('SRID=4674;POINT (-40.3103 -2.790542)'))) / (select extract(epoch from '2026-07-22 07:03:01'::timestamp) - extract(epoch from '2026-07-22 07:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310135 -2.790607)'), GeomFromEWKT('SRID=4674;POINT (-40.3103 -2.790542)'))) / (select extract(epoch from '2026-07-22 07:03:01'::timestamp) - extract(epoch from '2026-07-22 07:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310478 -2.790437)', '2026-07-22 07:03:15', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3103 -2.790542)'), GeomFromEWKT('SRID=4674;POINT (-40.310478 -2.790437)'))) / (select extract(epoch from '2026-07-22 07:03:15'::timestamp) - extract(epoch from '2026-07-22 07:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3103 -2.790542)'), GeomFromEWKT('SRID=4674;POINT (-40.310478 -2.790437)'))) / (select extract(epoch from '2026-07-22 07:03:15'::timestamp) - extract(epoch from '2026-07-22 07:03: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'), 47639, 'SRID=4674;POINT (-40.310496 -2.790406)', '2026-07-22 07:03:24', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310478 -2.790437)'), GeomFromEWKT('SRID=4674;POINT (-40.310496 -2.790406)'))) / (select extract(epoch from '2026-07-22 07:03:24'::timestamp) - extract(epoch from '2026-07-22 07:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310478 -2.790437)'), GeomFromEWKT('SRID=4674;POINT (-40.310496 -2.790406)'))) / (select extract(epoch from '2026-07-22 07:03:24'::timestamp) - extract(epoch from '2026-07-22 07:03: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'), 47639, 'SRID=4674;POINT (-40.310508 -2.790468)', '2026-07-22 07:03:31', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310496 -2.790406)'), GeomFromEWKT('SRID=4674;POINT (-40.310508 -2.790468)'))) / (select extract(epoch from '2026-07-22 07:03:31'::timestamp) - extract(epoch from '2026-07-22 07:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310496 -2.790406)'), GeomFromEWKT('SRID=4674;POINT (-40.310508 -2.790468)'))) / (select extract(epoch from '2026-07-22 07:03:31'::timestamp) - extract(epoch from '2026-07-22 07:03: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'), 47639, 'SRID=4674;POINT (-40.310535 -2.790624)', '2026-07-22 07:03:39', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310508 -2.790468)'), GeomFromEWKT('SRID=4674;POINT (-40.310535 -2.790624)'))) / (select extract(epoch from '2026-07-22 07:03:39'::timestamp) - extract(epoch from '2026-07-22 07:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310508 -2.790468)'), GeomFromEWKT('SRID=4674;POINT (-40.310535 -2.790624)'))) / (select extract(epoch from '2026-07-22 07:03:39'::timestamp) - extract(epoch from '2026-07-22 07:03: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'), 47639, 'SRID=4674;POINT (-40.310572 -2.790792)', '2026-07-22 07:03:46', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310535 -2.790624)'), GeomFromEWKT('SRID=4674;POINT (-40.310572 -2.790792)'))) / (select extract(epoch from '2026-07-22 07:03:46'::timestamp) - extract(epoch from '2026-07-22 07:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310535 -2.790624)'), GeomFromEWKT('SRID=4674;POINT (-40.310572 -2.790792)'))) / (select extract(epoch from '2026-07-22 07:03:46'::timestamp) - extract(epoch from '2026-07-22 07:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310624 -2.790944)', '2026-07-22 07:03:53', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310572 -2.790792)'), GeomFromEWKT('SRID=4674;POINT (-40.310624 -2.790944)'))) / (select extract(epoch from '2026-07-22 07:03:53'::timestamp) - extract(epoch from '2026-07-22 07:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310572 -2.790792)'), GeomFromEWKT('SRID=4674;POINT (-40.310624 -2.790944)'))) / (select extract(epoch from '2026-07-22 07:03:53'::timestamp) - extract(epoch from '2026-07-22 07:03: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'), 47639, 'SRID=4674;POINT (-40.310647 -2.79107)', '2026-07-22 07:03:59', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310624 -2.790944)'), GeomFromEWKT('SRID=4674;POINT (-40.310647 -2.79107)'))) / (select extract(epoch from '2026-07-22 07:03:59'::timestamp) - extract(epoch from '2026-07-22 07:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310624 -2.790944)'), GeomFromEWKT('SRID=4674;POINT (-40.310647 -2.79107)'))) / (select extract(epoch from '2026-07-22 07:03:59'::timestamp) - extract(epoch from '2026-07-22 07:03: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'), 47639, 'SRID=4674;POINT (-40.310656 -2.79128)', '2026-07-22 07:04:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310647 -2.79107)'), GeomFromEWKT('SRID=4674;POINT (-40.310656 -2.79128)'))) / (select extract(epoch from '2026-07-22 07:04:09'::timestamp) - extract(epoch from '2026-07-22 07:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310647 -2.79107)'), GeomFromEWKT('SRID=4674;POINT (-40.310656 -2.79128)'))) / (select extract(epoch from '2026-07-22 07:04:09'::timestamp) - extract(epoch from '2026-07-22 07:03: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'), 47639, 'SRID=4674;POINT (-40.310681 -2.791484)', '2026-07-22 07:04:19', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310656 -2.79128)'), GeomFromEWKT('SRID=4674;POINT (-40.310681 -2.791484)'))) / (select extract(epoch from '2026-07-22 07:04:19'::timestamp) - extract(epoch from '2026-07-22 07:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310656 -2.79128)'), GeomFromEWKT('SRID=4674;POINT (-40.310681 -2.791484)'))) / (select extract(epoch from '2026-07-22 07:04:19'::timestamp) - extract(epoch from '2026-07-22 07:04: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'), 47639, 'SRID=4674;POINT (-40.310725 -2.791609)', '2026-07-22 07:04:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310681 -2.791484)'), GeomFromEWKT('SRID=4674;POINT (-40.310725 -2.791609)'))) / (select extract(epoch from '2026-07-22 07:04:26'::timestamp) - extract(epoch from '2026-07-22 07:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310681 -2.791484)'), GeomFromEWKT('SRID=4674;POINT (-40.310725 -2.791609)'))) / (select extract(epoch from '2026-07-22 07:04:26'::timestamp) - extract(epoch from '2026-07-22 07:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310779 -2.791739)', '2026-07-22 07:04:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310725 -2.791609)'), GeomFromEWKT('SRID=4674;POINT (-40.310779 -2.791739)'))) / (select extract(epoch from '2026-07-22 07:04:33'::timestamp) - extract(epoch from '2026-07-22 07:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310725 -2.791609)'), GeomFromEWKT('SRID=4674;POINT (-40.310779 -2.791739)'))) / (select extract(epoch from '2026-07-22 07:04:33'::timestamp) - extract(epoch from '2026-07-22 07:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310802 -2.791878)', '2026-07-22 07:04:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310779 -2.791739)'), GeomFromEWKT('SRID=4674;POINT (-40.310802 -2.791878)'))) / (select extract(epoch from '2026-07-22 07:04:40'::timestamp) - extract(epoch from '2026-07-22 07:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310779 -2.791739)'), GeomFromEWKT('SRID=4674;POINT (-40.310802 -2.791878)'))) / (select extract(epoch from '2026-07-22 07:04:40'::timestamp) - extract(epoch from '2026-07-22 07:04:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310832 -2.792025)', '2026-07-22 07:04:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310802 -2.791878)'), GeomFromEWKT('SRID=4674;POINT (-40.310832 -2.792025)'))) / (select extract(epoch from '2026-07-22 07:04:48'::timestamp) - extract(epoch from '2026-07-22 07:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310802 -2.791878)'), GeomFromEWKT('SRID=4674;POINT (-40.310832 -2.792025)'))) / (select extract(epoch from '2026-07-22 07:04:48'::timestamp) - extract(epoch from '2026-07-22 07:04: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'), 47639, 'SRID=4674;POINT (-40.310867 -2.792179)', '2026-07-22 07:04:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310832 -2.792025)'), GeomFromEWKT('SRID=4674;POINT (-40.310867 -2.792179)'))) / (select extract(epoch from '2026-07-22 07:04:56'::timestamp) - extract(epoch from '2026-07-22 07:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310832 -2.792025)'), GeomFromEWKT('SRID=4674;POINT (-40.310867 -2.792179)'))) / (select extract(epoch from '2026-07-22 07:04:56'::timestamp) - extract(epoch from '2026-07-22 07:04: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'), 47639, 'SRID=4674;POINT (-40.310893 -2.79231)', '2026-07-22 07:05:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310867 -2.792179)'), GeomFromEWKT('SRID=4674;POINT (-40.310893 -2.79231)'))) / (select extract(epoch from '2026-07-22 07:05:03'::timestamp) - extract(epoch from '2026-07-22 07:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310867 -2.792179)'), GeomFromEWKT('SRID=4674;POINT (-40.310893 -2.79231)'))) / (select extract(epoch from '2026-07-22 07:05:03'::timestamp) - extract(epoch from '2026-07-22 07:04: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'), 47639, 'SRID=4674;POINT (-40.310923 -2.79244)', '2026-07-22 07:05:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310893 -2.79231)'), GeomFromEWKT('SRID=4674;POINT (-40.310923 -2.79244)'))) / (select extract(epoch from '2026-07-22 07:05:10'::timestamp) - extract(epoch from '2026-07-22 07:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310893 -2.79231)'), GeomFromEWKT('SRID=4674;POINT (-40.310923 -2.79244)'))) / (select extract(epoch from '2026-07-22 07:05:10'::timestamp) - extract(epoch from '2026-07-22 07:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310969 -2.792602)', '2026-07-22 07:05:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310923 -2.79244)'), GeomFromEWKT('SRID=4674;POINT (-40.310969 -2.792602)'))) / (select extract(epoch from '2026-07-22 07:05:18'::timestamp) - extract(epoch from '2026-07-22 07:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310923 -2.79244)'), GeomFromEWKT('SRID=4674;POINT (-40.310969 -2.792602)'))) / (select extract(epoch from '2026-07-22 07:05:18'::timestamp) - extract(epoch from '2026-07-22 07:05: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'), 47639, 'SRID=4674;POINT (-40.310986 -2.792738)', '2026-07-22 07:05:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310969 -2.792602)'), GeomFromEWKT('SRID=4674;POINT (-40.310986 -2.792738)'))) / (select extract(epoch from '2026-07-22 07:05:25'::timestamp) - extract(epoch from '2026-07-22 07:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310969 -2.792602)'), GeomFromEWKT('SRID=4674;POINT (-40.310986 -2.792738)'))) / (select extract(epoch from '2026-07-22 07:05:25'::timestamp) - extract(epoch from '2026-07-22 07:05: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'), 47639, 'SRID=4674;POINT (-40.310961 -2.792945)', '2026-07-22 07:05:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310986 -2.792738)'), GeomFromEWKT('SRID=4674;POINT (-40.310961 -2.792945)'))) / (select extract(epoch from '2026-07-22 07:05:36'::timestamp) - extract(epoch from '2026-07-22 07:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310986 -2.792738)'), GeomFromEWKT('SRID=4674;POINT (-40.310961 -2.792945)'))) / (select extract(epoch from '2026-07-22 07:05:36'::timestamp) - extract(epoch from '2026-07-22 07:05: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'), 47639, 'SRID=4674;POINT (-40.31096 -2.793085)', '2026-07-22 07:05:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310961 -2.792945)'), GeomFromEWKT('SRID=4674;POINT (-40.31096 -2.793085)'))) / (select extract(epoch from '2026-07-22 07:05:44'::timestamp) - extract(epoch from '2026-07-22 07:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310961 -2.792945)'), GeomFromEWKT('SRID=4674;POINT (-40.31096 -2.793085)'))) / (select extract(epoch from '2026-07-22 07:05:44'::timestamp) - extract(epoch from '2026-07-22 07:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.310997 -2.793238)', '2026-07-22 07:05:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31096 -2.793085)'), GeomFromEWKT('SRID=4674;POINT (-40.310997 -2.793238)'))) / (select extract(epoch from '2026-07-22 07:05:52'::timestamp) - extract(epoch from '2026-07-22 07:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31096 -2.793085)'), GeomFromEWKT('SRID=4674;POINT (-40.310997 -2.793238)'))) / (select extract(epoch from '2026-07-22 07:05:52'::timestamp) - extract(epoch from '2026-07-22 07:05:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311014 -2.793397)', '2026-07-22 07:06:00', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310997 -2.793238)'), GeomFromEWKT('SRID=4674;POINT (-40.311014 -2.793397)'))) / (select extract(epoch from '2026-07-22 07:06:00'::timestamp) - extract(epoch from '2026-07-22 07:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310997 -2.793238)'), GeomFromEWKT('SRID=4674;POINT (-40.311014 -2.793397)'))) / (select extract(epoch from '2026-07-22 07:06:00'::timestamp) - extract(epoch from '2026-07-22 07:05: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'), 47639, 'SRID=4674;POINT (-40.311022 -2.793539)', '2026-07-22 07:06:07', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311014 -2.793397)'), GeomFromEWKT('SRID=4674;POINT (-40.311022 -2.793539)'))) / (select extract(epoch from '2026-07-22 07:06:07'::timestamp) - extract(epoch from '2026-07-22 07:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311014 -2.793397)'), GeomFromEWKT('SRID=4674;POINT (-40.311022 -2.793539)'))) / (select extract(epoch from '2026-07-22 07:06:07'::timestamp) - extract(epoch from '2026-07-22 07:06: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'), 47639, 'SRID=4674;POINT (-40.311078 -2.793702)', '2026-07-22 07:06:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311022 -2.793539)'), GeomFromEWKT('SRID=4674;POINT (-40.311078 -2.793702)'))) / (select extract(epoch from '2026-07-22 07:06:15'::timestamp) - extract(epoch from '2026-07-22 07:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311022 -2.793539)'), GeomFromEWKT('SRID=4674;POINT (-40.311078 -2.793702)'))) / (select extract(epoch from '2026-07-22 07:06:15'::timestamp) - extract(epoch from '2026-07-22 07:06: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'), 47639, 'SRID=4674;POINT (-40.311141 -2.793864)', '2026-07-22 07:06:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311078 -2.793702)'), GeomFromEWKT('SRID=4674;POINT (-40.311141 -2.793864)'))) / (select extract(epoch from '2026-07-22 07:06:24'::timestamp) - extract(epoch from '2026-07-22 07:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311078 -2.793702)'), GeomFromEWKT('SRID=4674;POINT (-40.311141 -2.793864)'))) / (select extract(epoch from '2026-07-22 07:06:24'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.311184 -2.794067)', '2026-07-22 07:06:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311141 -2.793864)'), GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.794067)'))) / (select extract(epoch from '2026-07-22 07:06:35'::timestamp) - extract(epoch from '2026-07-22 07:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311141 -2.793864)'), GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.794067)'))) / (select extract(epoch from '2026-07-22 07:06:35'::timestamp) - extract(epoch from '2026-07-22 07:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311181 -2.794222)', '2026-07-22 07:06:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.794067)'), GeomFromEWKT('SRID=4674;POINT (-40.311181 -2.794222)'))) / (select extract(epoch from '2026-07-22 07:06:43'::timestamp) - extract(epoch from '2026-07-22 07:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.794067)'), GeomFromEWKT('SRID=4674;POINT (-40.311181 -2.794222)'))) / (select extract(epoch from '2026-07-22 07:06:43'::timestamp) - extract(epoch from '2026-07-22 07:06:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311198 -2.794389)', '2026-07-22 07:06:51', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311181 -2.794222)'), GeomFromEWKT('SRID=4674;POINT (-40.311198 -2.794389)'))) / (select extract(epoch from '2026-07-22 07:06:51'::timestamp) - extract(epoch from '2026-07-22 07:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311181 -2.794222)'), GeomFromEWKT('SRID=4674;POINT (-40.311198 -2.794389)'))) / (select extract(epoch from '2026-07-22 07:06:51'::timestamp) - extract(epoch from '2026-07-22 07:06: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'), 47639, 'SRID=4674;POINT (-40.311212 -2.794535)', '2026-07-22 07:06:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311198 -2.794389)'), GeomFromEWKT('SRID=4674;POINT (-40.311212 -2.794535)'))) / (select extract(epoch from '2026-07-22 07:06:58'::timestamp) - extract(epoch from '2026-07-22 07:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311198 -2.794389)'), GeomFromEWKT('SRID=4674;POINT (-40.311212 -2.794535)'))) / (select extract(epoch from '2026-07-22 07:06:58'::timestamp) - extract(epoch from '2026-07-22 07:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311194 -2.794635)', '2026-07-22 07:07:04', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311212 -2.794535)'), GeomFromEWKT('SRID=4674;POINT (-40.311194 -2.794635)'))) / (select extract(epoch from '2026-07-22 07:07:04'::timestamp) - extract(epoch from '2026-07-22 07:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311212 -2.794535)'), GeomFromEWKT('SRID=4674;POINT (-40.311194 -2.794635)'))) / (select extract(epoch from '2026-07-22 07:07:04'::timestamp) - extract(epoch from '2026-07-22 07:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311182 -2.794646)', '2026-07-22 07:07:05', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311194 -2.794635)'), GeomFromEWKT('SRID=4674;POINT (-40.311182 -2.794646)'))) / (select extract(epoch from '2026-07-22 07:07:05'::timestamp) - extract(epoch from '2026-07-22 07:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311194 -2.794635)'), GeomFromEWKT('SRID=4674;POINT (-40.311182 -2.794646)'))) / (select extract(epoch from '2026-07-22 07:07:05'::timestamp) - extract(epoch from '2026-07-22 07:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311164 -2.794668)', '2026-07-22 07:07:11', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311182 -2.794646)'), GeomFromEWKT('SRID=4674;POINT (-40.311164 -2.794668)'))) / (select extract(epoch from '2026-07-22 07:07:11'::timestamp) - extract(epoch from '2026-07-22 07:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311182 -2.794646)'), GeomFromEWKT('SRID=4674;POINT (-40.311164 -2.794668)'))) / (select extract(epoch from '2026-07-22 07:07:11'::timestamp) - extract(epoch from '2026-07-22 07:07:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311141 -2.794673)', '2026-07-22 07:07:24', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311164 -2.794668)'), GeomFromEWKT('SRID=4674;POINT (-40.311141 -2.794673)'))) / (select extract(epoch from '2026-07-22 07:07:24'::timestamp) - extract(epoch from '2026-07-22 07:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311164 -2.794668)'), GeomFromEWKT('SRID=4674;POINT (-40.311141 -2.794673)'))) / (select extract(epoch from '2026-07-22 07:07:24'::timestamp) - extract(epoch from '2026-07-22 07:07: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'), 47639, 'SRID=4674;POINT (-40.311142 -2.794627)', '2026-07-22 07:07:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311141 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.311142 -2.794627)'))) / (select extract(epoch from '2026-07-22 07:07:42'::timestamp) - extract(epoch from '2026-07-22 07:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311141 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.311142 -2.794627)'))) / (select extract(epoch from '2026-07-22 07:07:42'::timestamp) - extract(epoch from '2026-07-22 07:07: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'), 47639, 'SRID=4674;POINT (-40.311164 -2.794618)', '2026-07-22 07:07:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311142 -2.794627)'), GeomFromEWKT('SRID=4674;POINT (-40.311164 -2.794618)'))) / (select extract(epoch from '2026-07-22 07:07:53'::timestamp) - extract(epoch from '2026-07-22 07:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311142 -2.794627)'), GeomFromEWKT('SRID=4674;POINT (-40.311164 -2.794618)'))) / (select extract(epoch from '2026-07-22 07:07:53'::timestamp) - extract(epoch from '2026-07-22 07:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311174 -2.794615)', '2026-07-22 07:08:02', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311164 -2.794618)'), GeomFromEWKT('SRID=4674;POINT (-40.311174 -2.794615)'))) / (select extract(epoch from '2026-07-22 07:08:02'::timestamp) - extract(epoch from '2026-07-22 07:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311164 -2.794618)'), GeomFromEWKT('SRID=4674;POINT (-40.311174 -2.794615)'))) / (select extract(epoch from '2026-07-22 07:08:02'::timestamp) - extract(epoch from '2026-07-22 07:07: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'), 47639, 'SRID=4674;POINT (-40.311198 -2.79463)', '2026-07-22 07:08:15', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311174 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.311198 -2.79463)'))) / (select extract(epoch from '2026-07-22 07:08:15'::timestamp) - extract(epoch from '2026-07-22 07:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311174 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.311198 -2.79463)'))) / (select extract(epoch from '2026-07-22 07:08:15'::timestamp) - extract(epoch from '2026-07-22 07:08:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311256 -2.79463)', '2026-07-22 07:08:29', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311198 -2.79463)'), GeomFromEWKT('SRID=4674;POINT (-40.311256 -2.79463)'))) / (select extract(epoch from '2026-07-22 07:08:29'::timestamp) - extract(epoch from '2026-07-22 07:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311198 -2.79463)'), GeomFromEWKT('SRID=4674;POINT (-40.311256 -2.79463)'))) / (select extract(epoch from '2026-07-22 07:08:29'::timestamp) - extract(epoch from '2026-07-22 07:08: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'), 47639, 'SRID=4674;POINT (-40.311298 -2.794635)', '2026-07-22 07:08:43', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311256 -2.79463)'), GeomFromEWKT('SRID=4674;POINT (-40.311298 -2.794635)'))) / (select extract(epoch from '2026-07-22 07:08:43'::timestamp) - extract(epoch from '2026-07-22 07:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311256 -2.79463)'), GeomFromEWKT('SRID=4674;POINT (-40.311298 -2.794635)'))) / (select extract(epoch from '2026-07-22 07:08:43'::timestamp) - extract(epoch from '2026-07-22 07:08: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'), 47639, 'SRID=4674;POINT (-40.311303 -2.794642)', '2026-07-22 07:08:56', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311298 -2.794635)'), GeomFromEWKT('SRID=4674;POINT (-40.311303 -2.794642)'))) / (select extract(epoch from '2026-07-22 07:08:56'::timestamp) - extract(epoch from '2026-07-22 07:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311298 -2.794635)'), GeomFromEWKT('SRID=4674;POINT (-40.311303 -2.794642)'))) / (select extract(epoch from '2026-07-22 07:08:56'::timestamp) - extract(epoch from '2026-07-22 07:08: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'), 47639, 'SRID=4674;POINT (-40.31132 -2.794645)', '2026-07-22 07:09:06', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311303 -2.794642)'), GeomFromEWKT('SRID=4674;POINT (-40.31132 -2.794645)'))) / (select extract(epoch from '2026-07-22 07:09:06'::timestamp) - extract(epoch from '2026-07-22 07:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311303 -2.794642)'), GeomFromEWKT('SRID=4674;POINT (-40.31132 -2.794645)'))) / (select extract(epoch from '2026-07-22 07:09:06'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.311345 -2.794647)', '2026-07-22 07:09:20', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31132 -2.794645)'), GeomFromEWKT('SRID=4674;POINT (-40.311345 -2.794647)'))) / (select extract(epoch from '2026-07-22 07:09:20'::timestamp) - extract(epoch from '2026-07-22 07:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31132 -2.794645)'), GeomFromEWKT('SRID=4674;POINT (-40.311345 -2.794647)'))) / (select extract(epoch from '2026-07-22 07:09:20'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47639, 'SRID=4674;POINT (-40.311358 -2.794657)', '2026-07-22 07:09:37', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311345 -2.794647)'), GeomFromEWKT('SRID=4674;POINT (-40.311358 -2.794657)'))) / (select extract(epoch from '2026-07-22 07:09:37'::timestamp) - extract(epoch from '2026-07-22 07:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311345 -2.794647)'), GeomFromEWKT('SRID=4674;POINT (-40.311358 -2.794657)'))) / (select extract(epoch from '2026-07-22 07:09:37'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47639, 'SRID=4674;POINT (-40.311365 -2.794656)', '2026-07-22 07:09:49', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311358 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.311365 -2.794656)'))) / (select extract(epoch from '2026-07-22 07:09:49'::timestamp) - extract(epoch from '2026-07-22 07:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311358 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.311365 -2.794656)'))) / (select extract(epoch from '2026-07-22 07:09:49'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47639, 'SRID=4674;POINT (-40.311387 -2.794655)', '2026-07-22 07:09:59', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311365 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.311387 -2.794655)'))) / (select extract(epoch from '2026-07-22 07:09:59'::timestamp) - extract(epoch from '2026-07-22 07:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311365 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.311387 -2.794655)'))) / (select extract(epoch from '2026-07-22 07:09:59'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47639, 'SRID=4674;POINT (-40.311476 -2.794643)', '2026-07-22 07:10:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311387 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.311476 -2.794643)'))) / (select extract(epoch from '2026-07-22 07:10:16'::timestamp) - extract(epoch from '2026-07-22 07:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311387 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.311476 -2.794643)'))) / (select extract(epoch from '2026-07-22 07:10:16'::timestamp) - extract(epoch from '2026-07-22 07:09: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'), 47639, 'SRID=4674;POINT (-40.311502 -2.794634)', '2026-07-22 07:10:30', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311476 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.311502 -2.794634)'))) / (select extract(epoch from '2026-07-22 07:10:30'::timestamp) - extract(epoch from '2026-07-22 07:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311476 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.311502 -2.794634)'))) / (select extract(epoch from '2026-07-22 07:10:30'::timestamp) - extract(epoch from '2026-07-22 07:10: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'), 47639, 'SRID=4674;POINT (-40.311515 -2.794638)', '2026-07-22 07:10:43', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311502 -2.794634)'), GeomFromEWKT('SRID=4674;POINT (-40.311515 -2.794638)'))) / (select extract(epoch from '2026-07-22 07:10:43'::timestamp) - extract(epoch from '2026-07-22 07:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311502 -2.794634)'), GeomFromEWKT('SRID=4674;POINT (-40.311515 -2.794638)'))) / (select extract(epoch from '2026-07-22 07:10:43'::timestamp) - extract(epoch from '2026-07-22 07:10: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'), 47639, 'SRID=4674;POINT (-40.311528 -2.794639)', '2026-07-22 07:10:58', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311515 -2.794638)'), GeomFromEWKT('SRID=4674;POINT (-40.311528 -2.794639)'))) / (select extract(epoch from '2026-07-22 07:10:58'::timestamp) - extract(epoch from '2026-07-22 07:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311515 -2.794638)'), GeomFromEWKT('SRID=4674;POINT (-40.311528 -2.794639)'))) / (select extract(epoch from '2026-07-22 07:10:58'::timestamp) - extract(epoch from '2026-07-22 07:10: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'), 47639, 'SRID=4674;POINT (-40.311549 -2.794644)', '2026-07-22 07:11:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311528 -2.794639)'), GeomFromEWKT('SRID=4674;POINT (-40.311549 -2.794644)'))) / (select extract(epoch from '2026-07-22 07:11:11'::timestamp) - extract(epoch from '2026-07-22 07:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311528 -2.794639)'), GeomFromEWKT('SRID=4674;POINT (-40.311549 -2.794644)'))) / (select extract(epoch from '2026-07-22 07:11:11'::timestamp) - extract(epoch from '2026-07-22 07:10: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'), 47639, 'SRID=4674;POINT (-40.311559 -2.794643)', '2026-07-22 07:11:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311549 -2.794644)'), GeomFromEWKT('SRID=4674;POINT (-40.311559 -2.794643)'))) / (select extract(epoch from '2026-07-22 07:11:23'::timestamp) - extract(epoch from '2026-07-22 07:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311549 -2.794644)'), GeomFromEWKT('SRID=4674;POINT (-40.311559 -2.794643)'))) / (select extract(epoch from '2026-07-22 07:11:23'::timestamp) - extract(epoch from '2026-07-22 07:11: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'), 47639, 'SRID=4674;POINT (-40.311565 -2.794644)', '2026-07-22 07:11:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311559 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.311565 -2.794644)'))) / (select extract(epoch from '2026-07-22 07:11:36'::timestamp) - extract(epoch from '2026-07-22 07:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311559 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.311565 -2.794644)'))) / (select extract(epoch from '2026-07-22 07:11:36'::timestamp) - extract(epoch from '2026-07-22 07:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311586 -2.794651)', '2026-07-22 07:11:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311565 -2.794644)'), GeomFromEWKT('SRID=4674;POINT (-40.311586 -2.794651)'))) / (select extract(epoch from '2026-07-22 07:11:47'::timestamp) - extract(epoch from '2026-07-22 07:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311565 -2.794644)'), GeomFromEWKT('SRID=4674;POINT (-40.311586 -2.794651)'))) / (select extract(epoch from '2026-07-22 07:11:47'::timestamp) - extract(epoch from '2026-07-22 07:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.31167 -2.794615)', '2026-07-22 07:12:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311586 -2.794651)'), GeomFromEWKT('SRID=4674;POINT (-40.31167 -2.794615)'))) / (select extract(epoch from '2026-07-22 07:12:05'::timestamp) - extract(epoch from '2026-07-22 07:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311586 -2.794651)'), GeomFromEWKT('SRID=4674;POINT (-40.31167 -2.794615)'))) / (select extract(epoch from '2026-07-22 07:12:05'::timestamp) - extract(epoch from '2026-07-22 07:11:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311719 -2.794615)', '2026-07-22 07:12:23', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31167 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.311719 -2.794615)'))) / (select extract(epoch from '2026-07-22 07:12:23'::timestamp) - extract(epoch from '2026-07-22 07:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31167 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.311719 -2.794615)'))) / (select extract(epoch from '2026-07-22 07:12:23'::timestamp) - extract(epoch from '2026-07-22 07:12: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'), 47639, 'SRID=4674;POINT (-40.311734 -2.794612)', '2026-07-22 07:12:36', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311719 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.311734 -2.794612)'))) / (select extract(epoch from '2026-07-22 07:12:36'::timestamp) - extract(epoch from '2026-07-22 07:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311719 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.311734 -2.794612)'))) / (select extract(epoch from '2026-07-22 07:12:36'::timestamp) - extract(epoch from '2026-07-22 07:12: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'), 47639, 'SRID=4674;POINT (-40.311749 -2.794615)', '2026-07-22 07:12:49', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311734 -2.794612)'), GeomFromEWKT('SRID=4674;POINT (-40.311749 -2.794615)'))) / (select extract(epoch from '2026-07-22 07:12:49'::timestamp) - extract(epoch from '2026-07-22 07:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311734 -2.794612)'), GeomFromEWKT('SRID=4674;POINT (-40.311749 -2.794615)'))) / (select extract(epoch from '2026-07-22 07:12:49'::timestamp) - extract(epoch from '2026-07-22 07:12:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311764 -2.794617)', '2026-07-22 07:13:03', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311749 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.311764 -2.794617)'))) / (select extract(epoch from '2026-07-22 07:13:03'::timestamp) - extract(epoch from '2026-07-22 07:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311749 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.311764 -2.794617)'))) / (select extract(epoch from '2026-07-22 07:13:03'::timestamp) - extract(epoch from '2026-07-22 07:12: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'), 47639, 'SRID=4674;POINT (-40.311773 -2.794621)', '2026-07-22 07:13:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311764 -2.794617)'), GeomFromEWKT('SRID=4674;POINT (-40.311773 -2.794621)'))) / (select extract(epoch from '2026-07-22 07:13:13'::timestamp) - extract(epoch from '2026-07-22 07:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311764 -2.794617)'), GeomFromEWKT('SRID=4674;POINT (-40.311773 -2.794621)'))) / (select extract(epoch from '2026-07-22 07:13:13'::timestamp) - extract(epoch from '2026-07-22 07:13: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'), 47639, 'SRID=4674;POINT (-40.311808 -2.794626)', '2026-07-22 07:13:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311773 -2.794621)'), GeomFromEWKT('SRID=4674;POINT (-40.311808 -2.794626)'))) / (select extract(epoch from '2026-07-22 07:13:28'::timestamp) - extract(epoch from '2026-07-22 07:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311773 -2.794621)'), GeomFromEWKT('SRID=4674;POINT (-40.311808 -2.794626)'))) / (select extract(epoch from '2026-07-22 07:13:28'::timestamp) - extract(epoch from '2026-07-22 07:13: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'), 47639, 'SRID=4674;POINT (-40.311817 -2.794622)', '2026-07-22 07:13:40', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311808 -2.794626)'), GeomFromEWKT('SRID=4674;POINT (-40.311817 -2.794622)'))) / (select extract(epoch from '2026-07-22 07:13:40'::timestamp) - extract(epoch from '2026-07-22 07:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311808 -2.794626)'), GeomFromEWKT('SRID=4674;POINT (-40.311817 -2.794622)'))) / (select extract(epoch from '2026-07-22 07:13:40'::timestamp) - extract(epoch from '2026-07-22 07:13: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'), 47639, 'SRID=4674;POINT (-40.311827 -2.79462)', '2026-07-22 07:13:53', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311817 -2.794622)'), GeomFromEWKT('SRID=4674;POINT (-40.311827 -2.79462)'))) / (select extract(epoch from '2026-07-22 07:13:53'::timestamp) - extract(epoch from '2026-07-22 07:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311817 -2.794622)'), GeomFromEWKT('SRID=4674;POINT (-40.311827 -2.79462)'))) / (select extract(epoch from '2026-07-22 07:13:53'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.311837 -2.79462)', '2026-07-22 07:14:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311827 -2.79462)'), GeomFromEWKT('SRID=4674;POINT (-40.311837 -2.79462)'))) / (select extract(epoch from '2026-07-22 07:14:04'::timestamp) - extract(epoch from '2026-07-22 07:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311827 -2.79462)'), GeomFromEWKT('SRID=4674;POINT (-40.311837 -2.79462)'))) / (select extract(epoch from '2026-07-22 07:14:04'::timestamp) - extract(epoch from '2026-07-22 07:13: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'), 47639, 'SRID=4674;POINT (-40.311842 -2.794617)', '2026-07-22 07:14:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311837 -2.79462)'), GeomFromEWKT('SRID=4674;POINT (-40.311842 -2.794617)'))) / (select extract(epoch from '2026-07-22 07:14:17'::timestamp) - extract(epoch from '2026-07-22 07:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311837 -2.79462)'), GeomFromEWKT('SRID=4674;POINT (-40.311842 -2.794617)'))) / (select extract(epoch from '2026-07-22 07:14:17'::timestamp) - extract(epoch from '2026-07-22 07:14: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'), 47639, 'SRID=4674;POINT (-40.311853 -2.794614)', '2026-07-22 07:14:31', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311842 -2.794617)'), GeomFromEWKT('SRID=4674;POINT (-40.311853 -2.794614)'))) / (select extract(epoch from '2026-07-22 07:14:31'::timestamp) - extract(epoch from '2026-07-22 07:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311842 -2.794617)'), GeomFromEWKT('SRID=4674;POINT (-40.311853 -2.794614)'))) / (select extract(epoch from '2026-07-22 07:14:31'::timestamp) - extract(epoch from '2026-07-22 07:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311858 -2.79462)', '2026-07-22 07:14:43', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311853 -2.794614)'), GeomFromEWKT('SRID=4674;POINT (-40.311858 -2.79462)'))) / (select extract(epoch from '2026-07-22 07:14:43'::timestamp) - extract(epoch from '2026-07-22 07:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311853 -2.794614)'), GeomFromEWKT('SRID=4674;POINT (-40.311858 -2.79462)'))) / (select extract(epoch from '2026-07-22 07:14:43'::timestamp) - extract(epoch from '2026-07-22 07:14: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'), 47639, 'SRID=4674;POINT (-40.311879 -2.794635)', '2026-07-22 07:14:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311858 -2.79462)'), GeomFromEWKT('SRID=4674;POINT (-40.311879 -2.794635)'))) / (select extract(epoch from '2026-07-22 07:14:58'::timestamp) - extract(epoch from '2026-07-22 07:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311858 -2.79462)'), GeomFromEWKT('SRID=4674;POINT (-40.311879 -2.794635)'))) / (select extract(epoch from '2026-07-22 07:14:58'::timestamp) - extract(epoch from '2026-07-22 07:14: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'), 47639, 'SRID=4674;POINT (-40.311904 -2.794639)', '2026-07-22 07:15:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311879 -2.794635)'), GeomFromEWKT('SRID=4674;POINT (-40.311904 -2.794639)'))) / (select extract(epoch from '2026-07-22 07:15:07'::timestamp) - extract(epoch from '2026-07-22 07:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311879 -2.794635)'), GeomFromEWKT('SRID=4674;POINT (-40.311904 -2.794639)'))) / (select extract(epoch from '2026-07-22 07:15:07'::timestamp) - extract(epoch from '2026-07-22 07:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311973 -2.794625)', '2026-07-22 07:15:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311904 -2.794639)'), GeomFromEWKT('SRID=4674;POINT (-40.311973 -2.794625)'))) / (select extract(epoch from '2026-07-22 07:15:23'::timestamp) - extract(epoch from '2026-07-22 07:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311904 -2.794639)'), GeomFromEWKT('SRID=4674;POINT (-40.311973 -2.794625)'))) / (select extract(epoch from '2026-07-22 07:15:23'::timestamp) - extract(epoch from '2026-07-22 07:15:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311984 -2.794628)', '2026-07-22 07:15:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311973 -2.794625)'), GeomFromEWKT('SRID=4674;POINT (-40.311984 -2.794628)'))) / (select extract(epoch from '2026-07-22 07:15:33'::timestamp) - extract(epoch from '2026-07-22 07:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311973 -2.794625)'), GeomFromEWKT('SRID=4674;POINT (-40.311984 -2.794628)'))) / (select extract(epoch from '2026-07-22 07:15:33'::timestamp) - extract(epoch from '2026-07-22 07:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.311995 -2.794634)', '2026-07-22 07:15:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311984 -2.794628)'), GeomFromEWKT('SRID=4674;POINT (-40.311995 -2.794634)'))) / (select extract(epoch from '2026-07-22 07:15:46'::timestamp) - extract(epoch from '2026-07-22 07:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311984 -2.794628)'), GeomFromEWKT('SRID=4674;POINT (-40.311995 -2.794634)'))) / (select extract(epoch from '2026-07-22 07:15:46'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.312007 -2.794641)', '2026-07-22 07:16:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311995 -2.794634)'), GeomFromEWKT('SRID=4674;POINT (-40.312007 -2.794641)'))) / (select extract(epoch from '2026-07-22 07:16:01'::timestamp) - extract(epoch from '2026-07-22 07:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311995 -2.794634)'), GeomFromEWKT('SRID=4674;POINT (-40.312007 -2.794641)'))) / (select extract(epoch from '2026-07-22 07:16:01'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.312012 -2.794643)', '2026-07-22 07:16:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312007 -2.794641)'), GeomFromEWKT('SRID=4674;POINT (-40.312012 -2.794643)'))) / (select extract(epoch from '2026-07-22 07:16:14'::timestamp) - extract(epoch from '2026-07-22 07:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312007 -2.794641)'), GeomFromEWKT('SRID=4674;POINT (-40.312012 -2.794643)'))) / (select extract(epoch from '2026-07-22 07:16:14'::timestamp) - extract(epoch from '2026-07-22 07:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.31202 -2.794646)', '2026-07-22 07:16:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312012 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.31202 -2.794646)'))) / (select extract(epoch from '2026-07-22 07:16:24'::timestamp) - extract(epoch from '2026-07-22 07:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312012 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.31202 -2.794646)'))) / (select extract(epoch from '2026-07-22 07:16:24'::timestamp) - extract(epoch from '2026-07-22 07:16: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'), 47639, 'SRID=4674;POINT (-40.312024 -2.794645)', '2026-07-22 07:16:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31202 -2.794646)'), GeomFromEWKT('SRID=4674;POINT (-40.312024 -2.794645)'))) / (select extract(epoch from '2026-07-22 07:16:32'::timestamp) - extract(epoch from '2026-07-22 07:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31202 -2.794646)'), GeomFromEWKT('SRID=4674;POINT (-40.312024 -2.794645)'))) / (select extract(epoch from '2026-07-22 07:16:32'::timestamp) - extract(epoch from '2026-07-22 07:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312033 -2.794646)', '2026-07-22 07:16:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312024 -2.794645)'), GeomFromEWKT('SRID=4674;POINT (-40.312033 -2.794646)'))) / (select extract(epoch from '2026-07-22 07:16:41'::timestamp) - extract(epoch from '2026-07-22 07:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312024 -2.794645)'), GeomFromEWKT('SRID=4674;POINT (-40.312033 -2.794646)'))) / (select extract(epoch from '2026-07-22 07:16:41'::timestamp) - extract(epoch from '2026-07-22 07:16:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312042 -2.794642)', '2026-07-22 07:16:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312033 -2.794646)'), GeomFromEWKT('SRID=4674;POINT (-40.312042 -2.794642)'))) / (select extract(epoch from '2026-07-22 07:16:53'::timestamp) - extract(epoch from '2026-07-22 07:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312033 -2.794646)'), GeomFromEWKT('SRID=4674;POINT (-40.312042 -2.794642)'))) / (select extract(epoch from '2026-07-22 07:16:53'::timestamp) - extract(epoch from '2026-07-22 07:16: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'), 47639, 'SRID=4674;POINT (-40.312051 -2.794648)', '2026-07-22 07:17:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312042 -2.794642)'), GeomFromEWKT('SRID=4674;POINT (-40.312051 -2.794648)'))) / (select extract(epoch from '2026-07-22 07:17:02'::timestamp) - extract(epoch from '2026-07-22 07:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312042 -2.794642)'), GeomFromEWKT('SRID=4674;POINT (-40.312051 -2.794648)'))) / (select extract(epoch from '2026-07-22 07:17:02'::timestamp) - extract(epoch from '2026-07-22 07:16: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'), 47639, 'SRID=4674;POINT (-40.31207 -2.794652)', '2026-07-22 07:17:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312051 -2.794648)'), GeomFromEWKT('SRID=4674;POINT (-40.31207 -2.794652)'))) / (select extract(epoch from '2026-07-22 07:17:18'::timestamp) - extract(epoch from '2026-07-22 07:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312051 -2.794648)'), GeomFromEWKT('SRID=4674;POINT (-40.31207 -2.794652)'))) / (select extract(epoch from '2026-07-22 07:17:18'::timestamp) - extract(epoch from '2026-07-22 07:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312077 -2.794657)', '2026-07-22 07:17:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31207 -2.794652)'), GeomFromEWKT('SRID=4674;POINT (-40.312077 -2.794657)'))) / (select extract(epoch from '2026-07-22 07:17:31'::timestamp) - extract(epoch from '2026-07-22 07:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31207 -2.794652)'), GeomFromEWKT('SRID=4674;POINT (-40.312077 -2.794657)'))) / (select extract(epoch from '2026-07-22 07:17:31'::timestamp) - extract(epoch from '2026-07-22 07:17: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'), 47639, 'SRID=4674;POINT (-40.312087 -2.794659)', '2026-07-22 07:17:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312077 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.312087 -2.794659)'))) / (select extract(epoch from '2026-07-22 07:17:47'::timestamp) - extract(epoch from '2026-07-22 07:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312077 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.312087 -2.794659)'))) / (select extract(epoch from '2026-07-22 07:17:47'::timestamp) - extract(epoch from '2026-07-22 07:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312094 -2.794661)', '2026-07-22 07:17:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312087 -2.794659)'), GeomFromEWKT('SRID=4674;POINT (-40.312094 -2.794661)'))) / (select extract(epoch from '2026-07-22 07:17:59'::timestamp) - extract(epoch from '2026-07-22 07:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312087 -2.794659)'), GeomFromEWKT('SRID=4674;POINT (-40.312094 -2.794661)'))) / (select extract(epoch from '2026-07-22 07:17:59'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.312102 -2.794669)', '2026-07-22 07:18:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312094 -2.794661)'), GeomFromEWKT('SRID=4674;POINT (-40.312102 -2.794669)'))) / (select extract(epoch from '2026-07-22 07:18:12'::timestamp) - extract(epoch from '2026-07-22 07:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312094 -2.794661)'), GeomFromEWKT('SRID=4674;POINT (-40.312102 -2.794669)'))) / (select extract(epoch from '2026-07-22 07:18:12'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.312114 -2.794671)', '2026-07-22 07:18:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312102 -2.794669)'), GeomFromEWKT('SRID=4674;POINT (-40.312114 -2.794671)'))) / (select extract(epoch from '2026-07-22 07:18:24'::timestamp) - extract(epoch from '2026-07-22 07:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312102 -2.794669)'), GeomFromEWKT('SRID=4674;POINT (-40.312114 -2.794671)'))) / (select extract(epoch from '2026-07-22 07:18:24'::timestamp) - extract(epoch from '2026-07-22 07:18: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'), 47639, 'SRID=4674;POINT (-40.312134 -2.794676)', '2026-07-22 07:18:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312114 -2.794671)'), GeomFromEWKT('SRID=4674;POINT (-40.312134 -2.794676)'))) / (select extract(epoch from '2026-07-22 07:18:34'::timestamp) - extract(epoch from '2026-07-22 07:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312114 -2.794671)'), GeomFromEWKT('SRID=4674;POINT (-40.312134 -2.794676)'))) / (select extract(epoch from '2026-07-22 07:18:34'::timestamp) - extract(epoch from '2026-07-22 07:18: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'), 47639, 'SRID=4674;POINT (-40.31215 -2.794675)', '2026-07-22 07:18:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312134 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.31215 -2.794675)'))) / (select extract(epoch from '2026-07-22 07:18:47'::timestamp) - extract(epoch from '2026-07-22 07:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312134 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.31215 -2.794675)'))) / (select extract(epoch from '2026-07-22 07:18:47'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.31216 -2.794676)', '2026-07-22 07:18:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31215 -2.794675)'), GeomFromEWKT('SRID=4674;POINT (-40.31216 -2.794676)'))) / (select extract(epoch from '2026-07-22 07:18:59'::timestamp) - extract(epoch from '2026-07-22 07:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31215 -2.794675)'), GeomFromEWKT('SRID=4674;POINT (-40.31216 -2.794676)'))) / (select extract(epoch from '2026-07-22 07:18:59'::timestamp) - extract(epoch from '2026-07-22 07:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312178 -2.794676)', '2026-07-22 07:19:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31216 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.312178 -2.794676)'))) / (select extract(epoch from '2026-07-22 07:19:13'::timestamp) - extract(epoch from '2026-07-22 07:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31216 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.312178 -2.794676)'))) / (select extract(epoch from '2026-07-22 07:19:13'::timestamp) - extract(epoch from '2026-07-22 07:18: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'), 47639, 'SRID=4674;POINT (-40.31218 -2.794681)', '2026-07-22 07:19:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312178 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.31218 -2.794681)'))) / (select extract(epoch from '2026-07-22 07:19:21'::timestamp) - extract(epoch from '2026-07-22 07:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312178 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.31218 -2.794681)'))) / (select extract(epoch from '2026-07-22 07:19:21'::timestamp) - extract(epoch from '2026-07-22 07:19: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'), 47639, 'SRID=4674;POINT (-40.312187 -2.794686)', '2026-07-22 07:19:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31218 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.312187 -2.794686)'))) / (select extract(epoch from '2026-07-22 07:19:31'::timestamp) - extract(epoch from '2026-07-22 07:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31218 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.312187 -2.794686)'))) / (select extract(epoch from '2026-07-22 07:19:31'::timestamp) - extract(epoch from '2026-07-22 07:19: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'), 47639, 'SRID=4674;POINT (-40.312221 -2.794694)', '2026-07-22 07:19:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312187 -2.794686)'), GeomFromEWKT('SRID=4674;POINT (-40.312221 -2.794694)'))) / (select extract(epoch from '2026-07-22 07:19:43'::timestamp) - extract(epoch from '2026-07-22 07:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312187 -2.794686)'), GeomFromEWKT('SRID=4674;POINT (-40.312221 -2.794694)'))) / (select extract(epoch from '2026-07-22 07:19:43'::timestamp) - extract(epoch from '2026-07-22 07:19:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312227 -2.794694)', '2026-07-22 07:19:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312221 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.312227 -2.794694)'))) / (select extract(epoch from '2026-07-22 07:19:57'::timestamp) - extract(epoch from '2026-07-22 07:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312221 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.312227 -2.794694)'))) / (select extract(epoch from '2026-07-22 07:19:57'::timestamp) - extract(epoch from '2026-07-22 07:19: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'), 47639, 'SRID=4674;POINT (-40.312276 -2.794696)', '2026-07-22 07:20:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312227 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.312276 -2.794696)'))) / (select extract(epoch from '2026-07-22 07:20:09'::timestamp) - extract(epoch from '2026-07-22 07:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312227 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.312276 -2.794696)'))) / (select extract(epoch from '2026-07-22 07:20:09'::timestamp) - extract(epoch from '2026-07-22 07:19: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'), 47639, 'SRID=4674;POINT (-40.312318 -2.79468)', '2026-07-22 07:20:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312276 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.312318 -2.79468)'))) / (select extract(epoch from '2026-07-22 07:20:20'::timestamp) - extract(epoch from '2026-07-22 07:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312276 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.312318 -2.79468)'))) / (select extract(epoch from '2026-07-22 07:20:20'::timestamp) - extract(epoch from '2026-07-22 07:20: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'), 47639, 'SRID=4674;POINT (-40.312325 -2.794679)', '2026-07-22 07:20:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312318 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.312325 -2.794679)'))) / (select extract(epoch from '2026-07-22 07:20:34'::timestamp) - extract(epoch from '2026-07-22 07:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312318 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.312325 -2.794679)'))) / (select extract(epoch from '2026-07-22 07:20:34'::timestamp) - extract(epoch from '2026-07-22 07:20: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'), 47639, 'SRID=4674;POINT (-40.312331 -2.794677)', '2026-07-22 07:20:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312325 -2.794679)'), GeomFromEWKT('SRID=4674;POINT (-40.312331 -2.794677)'))) / (select extract(epoch from '2026-07-22 07:20:50'::timestamp) - extract(epoch from '2026-07-22 07:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312325 -2.794679)'), GeomFromEWKT('SRID=4674;POINT (-40.312331 -2.794677)'))) / (select extract(epoch from '2026-07-22 07:20:50'::timestamp) - extract(epoch from '2026-07-22 07:20:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312347 -2.794676)', '2026-07-22 07:21:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312331 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.312347 -2.794676)'))) / (select extract(epoch from '2026-07-22 07:21:01'::timestamp) - extract(epoch from '2026-07-22 07:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312331 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.312347 -2.794676)'))) / (select extract(epoch from '2026-07-22 07:21:01'::timestamp) - extract(epoch from '2026-07-22 07:20: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'), 47639, 'SRID=4674;POINT (-40.312466 -2.794632)', '2026-07-22 07:21:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312347 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.312466 -2.794632)'))) / (select extract(epoch from '2026-07-22 07:21:15'::timestamp) - extract(epoch from '2026-07-22 07:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312347 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.312466 -2.794632)'))) / (select extract(epoch from '2026-07-22 07:21:15'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.312535 -2.794615)', '2026-07-22 07:21:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312466 -2.794632)'), GeomFromEWKT('SRID=4674;POINT (-40.312535 -2.794615)'))) / (select extract(epoch from '2026-07-22 07:21:28'::timestamp) - extract(epoch from '2026-07-22 07:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312466 -2.794632)'), GeomFromEWKT('SRID=4674;POINT (-40.312535 -2.794615)'))) / (select extract(epoch from '2026-07-22 07:21:28'::timestamp) - extract(epoch from '2026-07-22 07:21: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'), 47639, 'SRID=4674;POINT (-40.312623 -2.794612)', '2026-07-22 07:21:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312535 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.312623 -2.794612)'))) / (select extract(epoch from '2026-07-22 07:21:43'::timestamp) - extract(epoch from '2026-07-22 07:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312535 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.312623 -2.794612)'))) / (select extract(epoch from '2026-07-22 07:21:43'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.312732 -2.794563)', '2026-07-22 07:21:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312623 -2.794612)'), GeomFromEWKT('SRID=4674;POINT (-40.312732 -2.794563)'))) / (select extract(epoch from '2026-07-22 07:21:58'::timestamp) - extract(epoch from '2026-07-22 07:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312623 -2.794612)'), GeomFromEWKT('SRID=4674;POINT (-40.312732 -2.794563)'))) / (select extract(epoch from '2026-07-22 07:21:58'::timestamp) - extract(epoch from '2026-07-22 07:21: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'), 47639, 'SRID=4674;POINT (-40.312731 -2.794567)', '2026-07-22 07:22:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312732 -2.794563)'), GeomFromEWKT('SRID=4674;POINT (-40.312731 -2.794567)'))) / (select extract(epoch from '2026-07-22 07:22:03'::timestamp) - extract(epoch from '2026-07-22 07:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312732 -2.794563)'), GeomFromEWKT('SRID=4674;POINT (-40.312731 -2.794567)'))) / (select extract(epoch from '2026-07-22 07:22:03'::timestamp) - extract(epoch from '2026-07-22 07:21:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312745 -2.794571)', '2026-07-22 07:22:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312731 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.312745 -2.794571)'))) / (select extract(epoch from '2026-07-22 07:22:10'::timestamp) - extract(epoch from '2026-07-22 07:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312731 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.312745 -2.794571)'))) / (select extract(epoch from '2026-07-22 07:22:10'::timestamp) - extract(epoch from '2026-07-22 07:22: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'), 47639, 'SRID=4674;POINT (-40.31282 -2.794562)', '2026-07-22 07:22:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312745 -2.794571)'), GeomFromEWKT('SRID=4674;POINT (-40.31282 -2.794562)'))) / (select extract(epoch from '2026-07-22 07:22:19'::timestamp) - extract(epoch from '2026-07-22 07:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312745 -2.794571)'), GeomFromEWKT('SRID=4674;POINT (-40.31282 -2.794562)'))) / (select extract(epoch from '2026-07-22 07:22:19'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.312927 -2.794543)', '2026-07-22 07:22:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31282 -2.794562)'), GeomFromEWKT('SRID=4674;POINT (-40.312927 -2.794543)'))) / (select extract(epoch from '2026-07-22 07:22:28'::timestamp) - extract(epoch from '2026-07-22 07:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31282 -2.794562)'), GeomFromEWKT('SRID=4674;POINT (-40.312927 -2.794543)'))) / (select extract(epoch from '2026-07-22 07:22:28'::timestamp) - extract(epoch from '2026-07-22 07:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.312989 -2.79454)', '2026-07-22 07:22:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312927 -2.794543)'), GeomFromEWKT('SRID=4674;POINT (-40.312989 -2.79454)'))) / (select extract(epoch from '2026-07-22 07:22:40'::timestamp) - extract(epoch from '2026-07-22 07:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312927 -2.794543)'), GeomFromEWKT('SRID=4674;POINT (-40.312989 -2.79454)'))) / (select extract(epoch from '2026-07-22 07:22:40'::timestamp) - extract(epoch from '2026-07-22 07:22: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'), 47639, 'SRID=4674;POINT (-40.313027 -2.794553)', '2026-07-22 07:22:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312989 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.313027 -2.794553)'))) / (select extract(epoch from '2026-07-22 07:22:48'::timestamp) - extract(epoch from '2026-07-22 07:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312989 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.313027 -2.794553)'))) / (select extract(epoch from '2026-07-22 07:22:48'::timestamp) - extract(epoch from '2026-07-22 07:22: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'), 47639, 'SRID=4674;POINT (-40.313095 -2.794567)', '2026-07-22 07:22:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313027 -2.794553)'), GeomFromEWKT('SRID=4674;POINT (-40.313095 -2.794567)'))) / (select extract(epoch from '2026-07-22 07:22:58'::timestamp) - extract(epoch from '2026-07-22 07:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313027 -2.794553)'), GeomFromEWKT('SRID=4674;POINT (-40.313095 -2.794567)'))) / (select extract(epoch from '2026-07-22 07:22:58'::timestamp) - extract(epoch from '2026-07-22 07:22: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'), 47639, 'SRID=4674;POINT (-40.313119 -2.794566)', '2026-07-22 07:23:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313095 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.313119 -2.794566)'))) / (select extract(epoch from '2026-07-22 07:23:01'::timestamp) - extract(epoch from '2026-07-22 07:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313095 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.313119 -2.794566)'))) / (select extract(epoch from '2026-07-22 07:23:01'::timestamp) - extract(epoch from '2026-07-22 07:22: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'), 47639, 'SRID=4674;POINT (-40.313162 -2.79456)', '2026-07-22 07:23:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313119 -2.794566)'), GeomFromEWKT('SRID=4674;POINT (-40.313162 -2.79456)'))) / (select extract(epoch from '2026-07-22 07:23:08'::timestamp) - extract(epoch from '2026-07-22 07:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313119 -2.794566)'), GeomFromEWKT('SRID=4674;POINT (-40.313162 -2.79456)'))) / (select extract(epoch from '2026-07-22 07:23:08'::timestamp) - extract(epoch from '2026-07-22 07:23: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'), 47639, 'SRID=4674;POINT (-40.313198 -2.79454)', '2026-07-22 07:23:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313162 -2.79456)'), GeomFromEWKT('SRID=4674;POINT (-40.313198 -2.79454)'))) / (select extract(epoch from '2026-07-22 07:23:17'::timestamp) - extract(epoch from '2026-07-22 07:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313162 -2.79456)'), GeomFromEWKT('SRID=4674;POINT (-40.313198 -2.79454)'))) / (select extract(epoch from '2026-07-22 07:23:17'::timestamp) - extract(epoch from '2026-07-22 07:23: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'), 47639, 'SRID=4674;POINT (-40.313216 -2.79454)', '2026-07-22 07:23:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313198 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.313216 -2.79454)'))) / (select extract(epoch from '2026-07-22 07:23:28'::timestamp) - extract(epoch from '2026-07-22 07:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313198 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.313216 -2.79454)'))) / (select extract(epoch from '2026-07-22 07:23:28'::timestamp) - extract(epoch from '2026-07-22 07:23: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'), 47639, 'SRID=4674;POINT (-40.313271 -2.794526)', '2026-07-22 07:23:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313216 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.313271 -2.794526)'))) / (select extract(epoch from '2026-07-22 07:23:38'::timestamp) - extract(epoch from '2026-07-22 07:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313216 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.313271 -2.794526)'))) / (select extract(epoch from '2026-07-22 07:23:38'::timestamp) - extract(epoch from '2026-07-22 07:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.31328 -2.794522)', '2026-07-22 07:23:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313271 -2.794526)'), GeomFromEWKT('SRID=4674;POINT (-40.31328 -2.794522)'))) / (select extract(epoch from '2026-07-22 07:23:47'::timestamp) - extract(epoch from '2026-07-22 07:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313271 -2.794526)'), GeomFromEWKT('SRID=4674;POINT (-40.31328 -2.794522)'))) / (select extract(epoch from '2026-07-22 07:23:47'::timestamp) - extract(epoch from '2026-07-22 07:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.3133 -2.794517)', '2026-07-22 07:24:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31328 -2.794522)'), GeomFromEWKT('SRID=4674;POINT (-40.3133 -2.794517)'))) / (select extract(epoch from '2026-07-22 07:24:01'::timestamp) - extract(epoch from '2026-07-22 07:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31328 -2.794522)'), GeomFromEWKT('SRID=4674;POINT (-40.3133 -2.794517)'))) / (select extract(epoch from '2026-07-22 07:24:01'::timestamp) - extract(epoch from '2026-07-22 07:23: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'), 47639, 'SRID=4674;POINT (-40.313305 -2.794523)', '2026-07-22 07:24:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3133 -2.794517)'), GeomFromEWKT('SRID=4674;POINT (-40.313305 -2.794523)'))) / (select extract(epoch from '2026-07-22 07:24:15'::timestamp) - extract(epoch from '2026-07-22 07:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3133 -2.794517)'), GeomFromEWKT('SRID=4674;POINT (-40.313305 -2.794523)'))) / (select extract(epoch from '2026-07-22 07:24:15'::timestamp) - extract(epoch from '2026-07-22 07:24: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'), 47639, 'SRID=4674;POINT (-40.313323 -2.794522)', '2026-07-22 07:24:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313305 -2.794523)'), GeomFromEWKT('SRID=4674;POINT (-40.313323 -2.794522)'))) / (select extract(epoch from '2026-07-22 07:24:22'::timestamp) - extract(epoch from '2026-07-22 07:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313305 -2.794523)'), GeomFromEWKT('SRID=4674;POINT (-40.313323 -2.794522)'))) / (select extract(epoch from '2026-07-22 07:24:22'::timestamp) - extract(epoch from '2026-07-22 07:24: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'), 47639, 'SRID=4674;POINT (-40.313381 -2.794512)', '2026-07-22 07:24:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313323 -2.794522)'), GeomFromEWKT('SRID=4674;POINT (-40.313381 -2.794512)'))) / (select extract(epoch from '2026-07-22 07:24:39'::timestamp) - extract(epoch from '2026-07-22 07:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313323 -2.794522)'), GeomFromEWKT('SRID=4674;POINT (-40.313381 -2.794512)'))) / (select extract(epoch from '2026-07-22 07:24:39'::timestamp) - extract(epoch from '2026-07-22 07:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.313391 -2.794518)', '2026-07-22 07:24:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313381 -2.794512)'), GeomFromEWKT('SRID=4674;POINT (-40.313391 -2.794518)'))) / (select extract(epoch from '2026-07-22 07:24:51'::timestamp) - extract(epoch from '2026-07-22 07:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313381 -2.794512)'), GeomFromEWKT('SRID=4674;POINT (-40.313391 -2.794518)'))) / (select extract(epoch from '2026-07-22 07:24:51'::timestamp) - extract(epoch from '2026-07-22 07:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.313452 -2.794515)', '2026-07-22 07:25:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313391 -2.794518)'), GeomFromEWKT('SRID=4674;POINT (-40.313452 -2.794515)'))) / (select extract(epoch from '2026-07-22 07:25:05'::timestamp) - extract(epoch from '2026-07-22 07:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313391 -2.794518)'), GeomFromEWKT('SRID=4674;POINT (-40.313452 -2.794515)'))) / (select extract(epoch from '2026-07-22 07:25:05'::timestamp) - extract(epoch from '2026-07-22 07:24: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'), 47639, 'SRID=4674;POINT (-40.31349 -2.794526)', '2026-07-22 07:25:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313452 -2.794515)'), GeomFromEWKT('SRID=4674;POINT (-40.31349 -2.794526)'))) / (select extract(epoch from '2026-07-22 07:25:21'::timestamp) - extract(epoch from '2026-07-22 07:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313452 -2.794515)'), GeomFromEWKT('SRID=4674;POINT (-40.31349 -2.794526)'))) / (select extract(epoch from '2026-07-22 07:25:21'::timestamp) - extract(epoch from '2026-07-22 07:25: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'), 47639, 'SRID=4674;POINT (-40.313501 -2.794531)', '2026-07-22 07:25:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31349 -2.794526)'), GeomFromEWKT('SRID=4674;POINT (-40.313501 -2.794531)'))) / (select extract(epoch from '2026-07-22 07:25:33'::timestamp) - extract(epoch from '2026-07-22 07:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31349 -2.794526)'), GeomFromEWKT('SRID=4674;POINT (-40.313501 -2.794531)'))) / (select extract(epoch from '2026-07-22 07:25:33'::timestamp) - extract(epoch from '2026-07-22 07:25: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'), 47639, 'SRID=4674;POINT (-40.313511 -2.794526)', '2026-07-22 07:25:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313501 -2.794531)'), GeomFromEWKT('SRID=4674;POINT (-40.313511 -2.794526)'))) / (select extract(epoch from '2026-07-22 07:25:47'::timestamp) - extract(epoch from '2026-07-22 07:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313501 -2.794531)'), GeomFromEWKT('SRID=4674;POINT (-40.313511 -2.794526)'))) / (select extract(epoch from '2026-07-22 07:25:47'::timestamp) - extract(epoch from '2026-07-22 07:25: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'), 47639, 'SRID=4674;POINT (-40.313518 -2.794532)', '2026-07-22 07:25:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313511 -2.794526)'), GeomFromEWKT('SRID=4674;POINT (-40.313518 -2.794532)'))) / (select extract(epoch from '2026-07-22 07:25:57'::timestamp) - extract(epoch from '2026-07-22 07:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313511 -2.794526)'), GeomFromEWKT('SRID=4674;POINT (-40.313518 -2.794532)'))) / (select extract(epoch from '2026-07-22 07:25:57'::timestamp) - extract(epoch from '2026-07-22 07:25: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'), 47639, 'SRID=4674;POINT (-40.313535 -2.794537)', '2026-07-22 07:26:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313518 -2.794532)'), GeomFromEWKT('SRID=4674;POINT (-40.313535 -2.794537)'))) / (select extract(epoch from '2026-07-22 07:26:10'::timestamp) - extract(epoch from '2026-07-22 07:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313518 -2.794532)'), GeomFromEWKT('SRID=4674;POINT (-40.313535 -2.794537)'))) / (select extract(epoch from '2026-07-22 07:26:10'::timestamp) - extract(epoch from '2026-07-22 07:25: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'), 47639, 'SRID=4674;POINT (-40.313559 -2.794546)', '2026-07-22 07:26:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313535 -2.794537)'), GeomFromEWKT('SRID=4674;POINT (-40.313559 -2.794546)'))) / (select extract(epoch from '2026-07-22 07:26:22'::timestamp) - extract(epoch from '2026-07-22 07:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313535 -2.794537)'), GeomFromEWKT('SRID=4674;POINT (-40.313559 -2.794546)'))) / (select extract(epoch from '2026-07-22 07:26:22'::timestamp) - extract(epoch from '2026-07-22 07:26:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.313572 -2.794552)', '2026-07-22 07:26:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313559 -2.794546)'), GeomFromEWKT('SRID=4674;POINT (-40.313572 -2.794552)'))) / (select extract(epoch from '2026-07-22 07:26:34'::timestamp) - extract(epoch from '2026-07-22 07:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313559 -2.794546)'), GeomFromEWKT('SRID=4674;POINT (-40.313572 -2.794552)'))) / (select extract(epoch from '2026-07-22 07:26:34'::timestamp) - extract(epoch from '2026-07-22 07:26: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'), 47639, 'SRID=4674;POINT (-40.313582 -2.794558)', '2026-07-22 07:26:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313572 -2.794552)'), GeomFromEWKT('SRID=4674;POINT (-40.313582 -2.794558)'))) / (select extract(epoch from '2026-07-22 07:26:43'::timestamp) - extract(epoch from '2026-07-22 07:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313572 -2.794552)'), GeomFromEWKT('SRID=4674;POINT (-40.313582 -2.794558)'))) / (select extract(epoch from '2026-07-22 07:26:43'::timestamp) - extract(epoch from '2026-07-22 07:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.313585 -2.794567)', '2026-07-22 07:26:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313582 -2.794558)'), GeomFromEWKT('SRID=4674;POINT (-40.313585 -2.794567)'))) / (select extract(epoch from '2026-07-22 07:26:54'::timestamp) - extract(epoch from '2026-07-22 07:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313582 -2.794558)'), GeomFromEWKT('SRID=4674;POINT (-40.313585 -2.794567)'))) / (select extract(epoch from '2026-07-22 07:26:54'::timestamp) - extract(epoch from '2026-07-22 07:26: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'), 47639, 'SRID=4674;POINT (-40.313586 -2.794582)', '2026-07-22 07:27:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313585 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.313586 -2.794582)'))) / (select extract(epoch from '2026-07-22 07:27:04'::timestamp) - extract(epoch from '2026-07-22 07:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313585 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.313586 -2.794582)'))) / (select extract(epoch from '2026-07-22 07:27:04'::timestamp) - extract(epoch from '2026-07-22 07:26: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'), 47639, 'SRID=4674;POINT (-40.313595 -2.794588)', '2026-07-22 07:27:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313586 -2.794582)'), GeomFromEWKT('SRID=4674;POINT (-40.313595 -2.794588)'))) / (select extract(epoch from '2026-07-22 07:27:16'::timestamp) - extract(epoch from '2026-07-22 07:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313586 -2.794582)'), GeomFromEWKT('SRID=4674;POINT (-40.313595 -2.794588)'))) / (select extract(epoch from '2026-07-22 07:27:16'::timestamp) - extract(epoch from '2026-07-22 07:27: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'), 47639, 'SRID=4674;POINT (-40.3136 -2.794606)', '2026-07-22 07:27:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313595 -2.794588)'), GeomFromEWKT('SRID=4674;POINT (-40.3136 -2.794606)'))) / (select extract(epoch from '2026-07-22 07:27:31'::timestamp) - extract(epoch from '2026-07-22 07:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313595 -2.794588)'), GeomFromEWKT('SRID=4674;POINT (-40.3136 -2.794606)'))) / (select extract(epoch from '2026-07-22 07:27:31'::timestamp) - extract(epoch from '2026-07-22 07:27: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'), 47639, 'SRID=4674;POINT (-40.313616 -2.794607)', '2026-07-22 07:27:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3136 -2.794606)'), GeomFromEWKT('SRID=4674;POINT (-40.313616 -2.794607)'))) / (select extract(epoch from '2026-07-22 07:27:47'::timestamp) - extract(epoch from '2026-07-22 07:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3136 -2.794606)'), GeomFromEWKT('SRID=4674;POINT (-40.313616 -2.794607)'))) / (select extract(epoch from '2026-07-22 07:27:47'::timestamp) - extract(epoch from '2026-07-22 07:27: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'), 47639, 'SRID=4674;POINT (-40.31362 -2.794604)', '2026-07-22 07:27:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313616 -2.794607)'), GeomFromEWKT('SRID=4674;POINT (-40.31362 -2.794604)'))) / (select extract(epoch from '2026-07-22 07:27:56'::timestamp) - extract(epoch from '2026-07-22 07:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313616 -2.794607)'), GeomFromEWKT('SRID=4674;POINT (-40.31362 -2.794604)'))) / (select extract(epoch from '2026-07-22 07:27:56'::timestamp) - extract(epoch from '2026-07-22 07:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.313638 -2.794609)', '2026-07-22 07:28:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31362 -2.794604)'), GeomFromEWKT('SRID=4674;POINT (-40.313638 -2.794609)'))) / (select extract(epoch from '2026-07-22 07:28:11'::timestamp) - extract(epoch from '2026-07-22 07:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31362 -2.794604)'), GeomFromEWKT('SRID=4674;POINT (-40.313638 -2.794609)'))) / (select extract(epoch from '2026-07-22 07:28:11'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.313654 -2.794619)', '2026-07-22 07:28:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313638 -2.794609)'), GeomFromEWKT('SRID=4674;POINT (-40.313654 -2.794619)'))) / (select extract(epoch from '2026-07-22 07:28:20'::timestamp) - extract(epoch from '2026-07-22 07:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313638 -2.794609)'), GeomFromEWKT('SRID=4674;POINT (-40.313654 -2.794619)'))) / (select extract(epoch from '2026-07-22 07:28:20'::timestamp) - extract(epoch from '2026-07-22 07:28: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'), 47639, 'SRID=4674;POINT (-40.313673 -2.794626)', '2026-07-22 07:28:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313654 -2.794619)'), GeomFromEWKT('SRID=4674;POINT (-40.313673 -2.794626)'))) / (select extract(epoch from '2026-07-22 07:28:33'::timestamp) - extract(epoch from '2026-07-22 07:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313654 -2.794619)'), GeomFromEWKT('SRID=4674;POINT (-40.313673 -2.794626)'))) / (select extract(epoch from '2026-07-22 07:28:33'::timestamp) - extract(epoch from '2026-07-22 07:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.313695 -2.794638)', '2026-07-22 07:28:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313673 -2.794626)'), GeomFromEWKT('SRID=4674;POINT (-40.313695 -2.794638)'))) / (select extract(epoch from '2026-07-22 07:28:47'::timestamp) - extract(epoch from '2026-07-22 07:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313673 -2.794626)'), GeomFromEWKT('SRID=4674;POINT (-40.313695 -2.794638)'))) / (select extract(epoch from '2026-07-22 07:28:47'::timestamp) - extract(epoch from '2026-07-22 07:28:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
