BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128335 -2.850049)', '2026-07-20 13:31:08', 2.2, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12854 -2.850142)', '2026-07-20 13:31:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128335 -2.850049)'), GeomFromEWKT('SRID=4674;POINT (-40.12854 -2.850142)'))) / (select extract(epoch from '2026-07-20 13:31:26'::timestamp) - extract(epoch from '2026-07-20 13:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128335 -2.850049)'), GeomFromEWKT('SRID=4674;POINT (-40.12854 -2.850142)'))) / (select extract(epoch from '2026-07-20 13:31:26'::timestamp) - extract(epoch from '2026-07-20 13:31:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128701 -2.850223)', '2026-07-20 13:31:40', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12854 -2.850142)'), GeomFromEWKT('SRID=4674;POINT (-40.128701 -2.850223)'))) / (select extract(epoch from '2026-07-20 13:31:40'::timestamp) - extract(epoch from '2026-07-20 13:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12854 -2.850142)'), GeomFromEWKT('SRID=4674;POINT (-40.128701 -2.850223)'))) / (select extract(epoch from '2026-07-20 13:31:40'::timestamp) - extract(epoch from '2026-07-20 13:31: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'), 47632, 'SRID=4674;POINT (-40.128836 -2.850293)', '2026-07-20 13:31:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128701 -2.850223)'), GeomFromEWKT('SRID=4674;POINT (-40.128836 -2.850293)'))) / (select extract(epoch from '2026-07-20 13:31:57'::timestamp) - extract(epoch from '2026-07-20 13:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128701 -2.850223)'), GeomFromEWKT('SRID=4674;POINT (-40.128836 -2.850293)'))) / (select extract(epoch from '2026-07-20 13:31:57'::timestamp) - extract(epoch from '2026-07-20 13:31: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'), 47632, 'SRID=4674;POINT (-40.129013 -2.850355)', '2026-07-20 13:32:14', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128836 -2.850293)'), GeomFromEWKT('SRID=4674;POINT (-40.129013 -2.850355)'))) / (select extract(epoch from '2026-07-20 13:32:14'::timestamp) - extract(epoch from '2026-07-20 13:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128836 -2.850293)'), GeomFromEWKT('SRID=4674;POINT (-40.129013 -2.850355)'))) / (select extract(epoch from '2026-07-20 13:32:14'::timestamp) - extract(epoch from '2026-07-20 13:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129258 -2.850409)', '2026-07-20 13:32:34', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129013 -2.850355)'), GeomFromEWKT('SRID=4674;POINT (-40.129258 -2.850409)'))) / (select extract(epoch from '2026-07-20 13:32:34'::timestamp) - extract(epoch from '2026-07-20 13:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129013 -2.850355)'), GeomFromEWKT('SRID=4674;POINT (-40.129258 -2.850409)'))) / (select extract(epoch from '2026-07-20 13:32:34'::timestamp) - extract(epoch from '2026-07-20 13:32: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'), 47632, 'SRID=4674;POINT (-40.129479 -2.850509)', '2026-07-20 13:32:53', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129258 -2.850409)'), GeomFromEWKT('SRID=4674;POINT (-40.129479 -2.850509)'))) / (select extract(epoch from '2026-07-20 13:32:53'::timestamp) - extract(epoch from '2026-07-20 13:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129258 -2.850409)'), GeomFromEWKT('SRID=4674;POINT (-40.129479 -2.850509)'))) / (select extract(epoch from '2026-07-20 13:32:53'::timestamp) - extract(epoch from '2026-07-20 13:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129679 -2.850531)', '2026-07-20 13:33:09', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129479 -2.850509)'), GeomFromEWKT('SRID=4674;POINT (-40.129679 -2.850531)'))) / (select extract(epoch from '2026-07-20 13:33:09'::timestamp) - extract(epoch from '2026-07-20 13:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129479 -2.850509)'), GeomFromEWKT('SRID=4674;POINT (-40.129679 -2.850531)'))) / (select extract(epoch from '2026-07-20 13:33:09'::timestamp) - extract(epoch from '2026-07-20 13:32: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'), 47632, 'SRID=4674;POINT (-40.129803 -2.850554)', '2026-07-20 13:33:19', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129679 -2.850531)'), GeomFromEWKT('SRID=4674;POINT (-40.129803 -2.850554)'))) / (select extract(epoch from '2026-07-20 13:33:19'::timestamp) - extract(epoch from '2026-07-20 13:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129679 -2.850531)'), GeomFromEWKT('SRID=4674;POINT (-40.129803 -2.850554)'))) / (select extract(epoch from '2026-07-20 13:33:19'::timestamp) - extract(epoch from '2026-07-20 13:33: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'), 47632, 'SRID=4674;POINT (-40.129907 -2.850585)', '2026-07-20 13:33:27', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129803 -2.850554)'), GeomFromEWKT('SRID=4674;POINT (-40.129907 -2.850585)'))) / (select extract(epoch from '2026-07-20 13:33:27'::timestamp) - extract(epoch from '2026-07-20 13:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129803 -2.850554)'), GeomFromEWKT('SRID=4674;POINT (-40.129907 -2.850585)'))) / (select extract(epoch from '2026-07-20 13:33:27'::timestamp) - extract(epoch from '2026-07-20 13:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129995 -2.850674)', '2026-07-20 13:33:36', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129907 -2.850585)'), GeomFromEWKT('SRID=4674;POINT (-40.129995 -2.850674)'))) / (select extract(epoch from '2026-07-20 13:33:36'::timestamp) - extract(epoch from '2026-07-20 13:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129907 -2.850585)'), GeomFromEWKT('SRID=4674;POINT (-40.129995 -2.850674)'))) / (select extract(epoch from '2026-07-20 13:33:36'::timestamp) - extract(epoch from '2026-07-20 13:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130078 -2.850721)', '2026-07-20 13:33:44', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129995 -2.850674)'), GeomFromEWKT('SRID=4674;POINT (-40.130078 -2.850721)'))) / (select extract(epoch from '2026-07-20 13:33:44'::timestamp) - extract(epoch from '2026-07-20 13:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129995 -2.850674)'), GeomFromEWKT('SRID=4674;POINT (-40.130078 -2.850721)'))) / (select extract(epoch from '2026-07-20 13:33:44'::timestamp) - extract(epoch from '2026-07-20 13:33: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'), 47632, 'SRID=4674;POINT (-40.130151 -2.850777)', '2026-07-20 13:33:52', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130078 -2.850721)'), GeomFromEWKT('SRID=4674;POINT (-40.130151 -2.850777)'))) / (select extract(epoch from '2026-07-20 13:33:52'::timestamp) - extract(epoch from '2026-07-20 13:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130078 -2.850721)'), GeomFromEWKT('SRID=4674;POINT (-40.130151 -2.850777)'))) / (select extract(epoch from '2026-07-20 13:33:52'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.130196 -2.850853)', '2026-07-20 13:34:02', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130151 -2.850777)'), GeomFromEWKT('SRID=4674;POINT (-40.130196 -2.850853)'))) / (select extract(epoch from '2026-07-20 13:34:02'::timestamp) - extract(epoch from '2026-07-20 13:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130151 -2.850777)'), GeomFromEWKT('SRID=4674;POINT (-40.130196 -2.850853)'))) / (select extract(epoch from '2026-07-20 13:34:02'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.130264 -2.850913)', '2026-07-20 13:34:11', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130196 -2.850853)'), GeomFromEWKT('SRID=4674;POINT (-40.130264 -2.850913)'))) / (select extract(epoch from '2026-07-20 13:34:11'::timestamp) - extract(epoch from '2026-07-20 13:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130196 -2.850853)'), GeomFromEWKT('SRID=4674;POINT (-40.130264 -2.850913)'))) / (select extract(epoch from '2026-07-20 13:34:11'::timestamp) - extract(epoch from '2026-07-20 13:34: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'), 47632, 'SRID=4674;POINT (-40.130432 -2.850968)', '2026-07-20 13:34:20', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130264 -2.850913)'), GeomFromEWKT('SRID=4674;POINT (-40.130432 -2.850968)'))) / (select extract(epoch from '2026-07-20 13:34:20'::timestamp) - extract(epoch from '2026-07-20 13:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130264 -2.850913)'), GeomFromEWKT('SRID=4674;POINT (-40.130432 -2.850968)'))) / (select extract(epoch from '2026-07-20 13:34:20'::timestamp) - extract(epoch from '2026-07-20 13:34: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'), 47632, 'SRID=4674;POINT (-40.1305 -2.851029)', '2026-07-20 13:34:27', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130432 -2.850968)'), GeomFromEWKT('SRID=4674;POINT (-40.1305 -2.851029)'))) / (select extract(epoch from '2026-07-20 13:34:27'::timestamp) - extract(epoch from '2026-07-20 13:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130432 -2.850968)'), GeomFromEWKT('SRID=4674;POINT (-40.1305 -2.851029)'))) / (select extract(epoch from '2026-07-20 13:34:27'::timestamp) - extract(epoch from '2026-07-20 13:34: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'), 47632, 'SRID=4674;POINT (-40.130631 -2.851119)', '2026-07-20 13:34:36', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1305 -2.851029)'), GeomFromEWKT('SRID=4674;POINT (-40.130631 -2.851119)'))) / (select extract(epoch from '2026-07-20 13:34:36'::timestamp) - extract(epoch from '2026-07-20 13:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1305 -2.851029)'), GeomFromEWKT('SRID=4674;POINT (-40.130631 -2.851119)'))) / (select extract(epoch from '2026-07-20 13:34:36'::timestamp) - extract(epoch from '2026-07-20 13:34: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'), 47632, 'SRID=4674;POINT (-40.130712 -2.85123)', '2026-07-20 13:34:44', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130631 -2.851119)'), GeomFromEWKT('SRID=4674;POINT (-40.130712 -2.85123)'))) / (select extract(epoch from '2026-07-20 13:34:44'::timestamp) - extract(epoch from '2026-07-20 13:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130631 -2.851119)'), GeomFromEWKT('SRID=4674;POINT (-40.130712 -2.85123)'))) / (select extract(epoch from '2026-07-20 13:34:44'::timestamp) - extract(epoch from '2026-07-20 13:34:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130799 -2.851262)', '2026-07-20 13:34:51', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130712 -2.85123)'), GeomFromEWKT('SRID=4674;POINT (-40.130799 -2.851262)'))) / (select extract(epoch from '2026-07-20 13:34:51'::timestamp) - extract(epoch from '2026-07-20 13:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130712 -2.85123)'), GeomFromEWKT('SRID=4674;POINT (-40.130799 -2.851262)'))) / (select extract(epoch from '2026-07-20 13:34:51'::timestamp) - extract(epoch from '2026-07-20 13:34:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130855 -2.851294)', '2026-07-20 13:34:57', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130799 -2.851262)'), GeomFromEWKT('SRID=4674;POINT (-40.130855 -2.851294)'))) / (select extract(epoch from '2026-07-20 13:34:57'::timestamp) - extract(epoch from '2026-07-20 13:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130799 -2.851262)'), GeomFromEWKT('SRID=4674;POINT (-40.130855 -2.851294)'))) / (select extract(epoch from '2026-07-20 13:34:57'::timestamp) - extract(epoch from '2026-07-20 13:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130872 -2.851322)', '2026-07-20 13:34:59', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130855 -2.851294)'), GeomFromEWKT('SRID=4674;POINT (-40.130872 -2.851322)'))) / (select extract(epoch from '2026-07-20 13:34:59'::timestamp) - extract(epoch from '2026-07-20 13:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130855 -2.851294)'), GeomFromEWKT('SRID=4674;POINT (-40.130872 -2.851322)'))) / (select extract(epoch from '2026-07-20 13:34:59'::timestamp) - extract(epoch from '2026-07-20 13:34: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'), 47632, 'SRID=4674;POINT (-40.130956 -2.851387)', '2026-07-20 13:35:07', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130872 -2.851322)'), GeomFromEWKT('SRID=4674;POINT (-40.130956 -2.851387)'))) / (select extract(epoch from '2026-07-20 13:35:07'::timestamp) - extract(epoch from '2026-07-20 13:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130872 -2.851322)'), GeomFromEWKT('SRID=4674;POINT (-40.130956 -2.851387)'))) / (select extract(epoch from '2026-07-20 13:35:07'::timestamp) - extract(epoch from '2026-07-20 13:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131035 -2.851445)', '2026-07-20 13:35:15', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130956 -2.851387)'), GeomFromEWKT('SRID=4674;POINT (-40.131035 -2.851445)'))) / (select extract(epoch from '2026-07-20 13:35:15'::timestamp) - extract(epoch from '2026-07-20 13:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130956 -2.851387)'), GeomFromEWKT('SRID=4674;POINT (-40.131035 -2.851445)'))) / (select extract(epoch from '2026-07-20 13:35:15'::timestamp) - extract(epoch from '2026-07-20 13:35: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'), 47632, 'SRID=4674;POINT (-40.131198 -2.851428)', '2026-07-20 13:35:23', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131035 -2.851445)'), GeomFromEWKT('SRID=4674;POINT (-40.131198 -2.851428)'))) / (select extract(epoch from '2026-07-20 13:35:23'::timestamp) - extract(epoch from '2026-07-20 13:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131035 -2.851445)'), GeomFromEWKT('SRID=4674;POINT (-40.131198 -2.851428)'))) / (select extract(epoch from '2026-07-20 13:35:23'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.13134 -2.851471)', '2026-07-20 13:35:32', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131198 -2.851428)'), GeomFromEWKT('SRID=4674;POINT (-40.13134 -2.851471)'))) / (select extract(epoch from '2026-07-20 13:35:32'::timestamp) - extract(epoch from '2026-07-20 13:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131198 -2.851428)'), GeomFromEWKT('SRID=4674;POINT (-40.13134 -2.851471)'))) / (select extract(epoch from '2026-07-20 13:35:32'::timestamp) - extract(epoch from '2026-07-20 13:35: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'), 47632, 'SRID=4674;POINT (-40.131401 -2.851586)', '2026-07-20 13:35:40', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13134 -2.851471)'), GeomFromEWKT('SRID=4674;POINT (-40.131401 -2.851586)'))) / (select extract(epoch from '2026-07-20 13:35:40'::timestamp) - extract(epoch from '2026-07-20 13:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13134 -2.851471)'), GeomFromEWKT('SRID=4674;POINT (-40.131401 -2.851586)'))) / (select extract(epoch from '2026-07-20 13:35:40'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.131501 -2.85167)', '2026-07-20 13:35:49', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131401 -2.851586)'), GeomFromEWKT('SRID=4674;POINT (-40.131501 -2.85167)'))) / (select extract(epoch from '2026-07-20 13:35:49'::timestamp) - extract(epoch from '2026-07-20 13:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131401 -2.851586)'), GeomFromEWKT('SRID=4674;POINT (-40.131501 -2.85167)'))) / (select extract(epoch from '2026-07-20 13:35:49'::timestamp) - extract(epoch from '2026-07-20 13:35: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'), 47632, 'SRID=4674;POINT (-40.131614 -2.851756)', '2026-07-20 13:35:58', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131501 -2.85167)'), GeomFromEWKT('SRID=4674;POINT (-40.131614 -2.851756)'))) / (select extract(epoch from '2026-07-20 13:35:58'::timestamp) - extract(epoch from '2026-07-20 13:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131501 -2.85167)'), GeomFromEWKT('SRID=4674;POINT (-40.131614 -2.851756)'))) / (select extract(epoch from '2026-07-20 13:35:58'::timestamp) - extract(epoch from '2026-07-20 13:35: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'), 47632, 'SRID=4674;POINT (-40.13171 -2.851832)', '2026-07-20 13:36:07', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131614 -2.851756)'), GeomFromEWKT('SRID=4674;POINT (-40.13171 -2.851832)'))) / (select extract(epoch from '2026-07-20 13:36:07'::timestamp) - extract(epoch from '2026-07-20 13:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131614 -2.851756)'), GeomFromEWKT('SRID=4674;POINT (-40.13171 -2.851832)'))) / (select extract(epoch from '2026-07-20 13:36:07'::timestamp) - extract(epoch from '2026-07-20 13:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131798 -2.851902)', '2026-07-20 13:36:15', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13171 -2.851832)'), GeomFromEWKT('SRID=4674;POINT (-40.131798 -2.851902)'))) / (select extract(epoch from '2026-07-20 13:36:15'::timestamp) - extract(epoch from '2026-07-20 13:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13171 -2.851832)'), GeomFromEWKT('SRID=4674;POINT (-40.131798 -2.851902)'))) / (select extract(epoch from '2026-07-20 13:36:15'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47632, 'SRID=4674;POINT (-40.131859 -2.851907)', '2026-07-20 13:36:20', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131798 -2.851902)'), GeomFromEWKT('SRID=4674;POINT (-40.131859 -2.851907)'))) / (select extract(epoch from '2026-07-20 13:36:20'::timestamp) - extract(epoch from '2026-07-20 13:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131798 -2.851902)'), GeomFromEWKT('SRID=4674;POINT (-40.131859 -2.851907)'))) / (select extract(epoch from '2026-07-20 13:36:20'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47632, 'SRID=4674;POINT (-40.131899 -2.851892)', '2026-07-20 13:36:23', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131859 -2.851907)'), GeomFromEWKT('SRID=4674;POINT (-40.131899 -2.851892)'))) / (select extract(epoch from '2026-07-20 13:36:23'::timestamp) - extract(epoch from '2026-07-20 13:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131859 -2.851907)'), GeomFromEWKT('SRID=4674;POINT (-40.131899 -2.851892)'))) / (select extract(epoch from '2026-07-20 13:36:23'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47632, 'SRID=4674;POINT (-40.132057 -2.851831)', '2026-07-20 13:36:33', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131899 -2.851892)'), GeomFromEWKT('SRID=4674;POINT (-40.132057 -2.851831)'))) / (select extract(epoch from '2026-07-20 13:36:33'::timestamp) - extract(epoch from '2026-07-20 13:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131899 -2.851892)'), GeomFromEWKT('SRID=4674;POINT (-40.132057 -2.851831)'))) / (select extract(epoch from '2026-07-20 13:36:33'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47632, 'SRID=4674;POINT (-40.132167 -2.851752)', '2026-07-20 13:36:40', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132057 -2.851831)'), GeomFromEWKT('SRID=4674;POINT (-40.132167 -2.851752)'))) / (select extract(epoch from '2026-07-20 13:36:40'::timestamp) - extract(epoch from '2026-07-20 13:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132057 -2.851831)'), GeomFromEWKT('SRID=4674;POINT (-40.132167 -2.851752)'))) / (select extract(epoch from '2026-07-20 13:36:40'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47632, 'SRID=4674;POINT (-40.132346 -2.851702)', '2026-07-20 13:36:49', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132167 -2.851752)'), GeomFromEWKT('SRID=4674;POINT (-40.132346 -2.851702)'))) / (select extract(epoch from '2026-07-20 13:36:49'::timestamp) - extract(epoch from '2026-07-20 13:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132167 -2.851752)'), GeomFromEWKT('SRID=4674;POINT (-40.132346 -2.851702)'))) / (select extract(epoch from '2026-07-20 13:36:49'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47632, 'SRID=4674;POINT (-40.132479 -2.851635)', '2026-07-20 13:36:57', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132346 -2.851702)'), GeomFromEWKT('SRID=4674;POINT (-40.132479 -2.851635)'))) / (select extract(epoch from '2026-07-20 13:36:57'::timestamp) - extract(epoch from '2026-07-20 13:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132346 -2.851702)'), GeomFromEWKT('SRID=4674;POINT (-40.132479 -2.851635)'))) / (select extract(epoch from '2026-07-20 13:36:57'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47632, 'SRID=4674;POINT (-40.132641 -2.851634)', '2026-07-20 13:37:04', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132479 -2.851635)'), GeomFromEWKT('SRID=4674;POINT (-40.132641 -2.851634)'))) / (select extract(epoch from '2026-07-20 13:37:04'::timestamp) - extract(epoch from '2026-07-20 13:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132479 -2.851635)'), GeomFromEWKT('SRID=4674;POINT (-40.132641 -2.851634)'))) / (select extract(epoch from '2026-07-20 13:37:04'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47632, 'SRID=4674;POINT (-40.132746 -2.851635)', '2026-07-20 13:37:13', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132641 -2.851634)'), GeomFromEWKT('SRID=4674;POINT (-40.132746 -2.851635)'))) / (select extract(epoch from '2026-07-20 13:37:13'::timestamp) - extract(epoch from '2026-07-20 13:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132641 -2.851634)'), GeomFromEWKT('SRID=4674;POINT (-40.132746 -2.851635)'))) / (select extract(epoch from '2026-07-20 13:37:13'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47632, 'SRID=4674;POINT (-40.132755 -2.851655)', '2026-07-20 13:37:14', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132746 -2.851635)'), GeomFromEWKT('SRID=4674;POINT (-40.132755 -2.851655)'))) / (select extract(epoch from '2026-07-20 13:37:14'::timestamp) - extract(epoch from '2026-07-20 13:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132746 -2.851635)'), GeomFromEWKT('SRID=4674;POINT (-40.132755 -2.851655)'))) / (select extract(epoch from '2026-07-20 13:37:14'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47632, 'SRID=4674;POINT (-40.132788 -2.851756)', '2026-07-20 13:37:19', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132755 -2.851655)'), GeomFromEWKT('SRID=4674;POINT (-40.132788 -2.851756)'))) / (select extract(epoch from '2026-07-20 13:37:19'::timestamp) - extract(epoch from '2026-07-20 13:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132755 -2.851655)'), GeomFromEWKT('SRID=4674;POINT (-40.132788 -2.851756)'))) / (select extract(epoch from '2026-07-20 13:37:19'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47632, 'SRID=4674;POINT (-40.132904 -2.851857)', '2026-07-20 13:37:29', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132788 -2.851756)'), GeomFromEWKT('SRID=4674;POINT (-40.132904 -2.851857)'))) / (select extract(epoch from '2026-07-20 13:37:29'::timestamp) - extract(epoch from '2026-07-20 13:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132788 -2.851756)'), GeomFromEWKT('SRID=4674;POINT (-40.132904 -2.851857)'))) / (select extract(epoch from '2026-07-20 13:37:29'::timestamp) - extract(epoch from '2026-07-20 13:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132963 -2.85182)', '2026-07-20 13:37:35', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132904 -2.851857)'), GeomFromEWKT('SRID=4674;POINT (-40.132963 -2.85182)'))) / (select extract(epoch from '2026-07-20 13:37:35'::timestamp) - extract(epoch from '2026-07-20 13:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132904 -2.851857)'), GeomFromEWKT('SRID=4674;POINT (-40.132963 -2.85182)'))) / (select extract(epoch from '2026-07-20 13:37:35'::timestamp) - extract(epoch from '2026-07-20 13:37:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133067 -2.851862)', '2026-07-20 13:37:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132963 -2.85182)'), GeomFromEWKT('SRID=4674;POINT (-40.133067 -2.851862)'))) / (select extract(epoch from '2026-07-20 13:37:43'::timestamp) - extract(epoch from '2026-07-20 13:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132963 -2.85182)'), GeomFromEWKT('SRID=4674;POINT (-40.133067 -2.851862)'))) / (select extract(epoch from '2026-07-20 13:37:43'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47632, 'SRID=4674;POINT (-40.133223 -2.852087)', '2026-07-20 13:37:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133067 -2.851862)'), GeomFromEWKT('SRID=4674;POINT (-40.133223 -2.852087)'))) / (select extract(epoch from '2026-07-20 13:37:49'::timestamp) - extract(epoch from '2026-07-20 13:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133067 -2.851862)'), GeomFromEWKT('SRID=4674;POINT (-40.133223 -2.852087)'))) / (select extract(epoch from '2026-07-20 13:37:49'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47632, 'SRID=4674;POINT (-40.133366 -2.852101)', '2026-07-20 13:37:55', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133223 -2.852087)'), GeomFromEWKT('SRID=4674;POINT (-40.133366 -2.852101)'))) / (select extract(epoch from '2026-07-20 13:37:55'::timestamp) - extract(epoch from '2026-07-20 13:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133223 -2.852087)'), GeomFromEWKT('SRID=4674;POINT (-40.133366 -2.852101)'))) / (select extract(epoch from '2026-07-20 13:37:55'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47632, 'SRID=4674;POINT (-40.133434 -2.851964)', '2026-07-20 13:38:02', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133366 -2.852101)'), GeomFromEWKT('SRID=4674;POINT (-40.133434 -2.851964)'))) / (select extract(epoch from '2026-07-20 13:38:02'::timestamp) - extract(epoch from '2026-07-20 13:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133366 -2.852101)'), GeomFromEWKT('SRID=4674;POINT (-40.133434 -2.851964)'))) / (select extract(epoch from '2026-07-20 13:38:02'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.133464 -2.85188)', '2026-07-20 13:38:08', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133434 -2.851964)'), GeomFromEWKT('SRID=4674;POINT (-40.133464 -2.85188)'))) / (select extract(epoch from '2026-07-20 13:38:08'::timestamp) - extract(epoch from '2026-07-20 13:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133434 -2.851964)'), GeomFromEWKT('SRID=4674;POINT (-40.133464 -2.85188)'))) / (select extract(epoch from '2026-07-20 13:38:08'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.133482 -2.851773)', '2026-07-20 13:38:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133464 -2.85188)'), GeomFromEWKT('SRID=4674;POINT (-40.133482 -2.851773)'))) / (select extract(epoch from '2026-07-20 13:38:17'::timestamp) - extract(epoch from '2026-07-20 13:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133464 -2.85188)'), GeomFromEWKT('SRID=4674;POINT (-40.133482 -2.851773)'))) / (select extract(epoch from '2026-07-20 13:38:17'::timestamp) - extract(epoch from '2026-07-20 13:38: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'), 47632, 'SRID=4674;POINT (-40.133448 -2.851625)', '2026-07-20 13:38:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133482 -2.851773)'), GeomFromEWKT('SRID=4674;POINT (-40.133448 -2.851625)'))) / (select extract(epoch from '2026-07-20 13:38:26'::timestamp) - extract(epoch from '2026-07-20 13:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133482 -2.851773)'), GeomFromEWKT('SRID=4674;POINT (-40.133448 -2.851625)'))) / (select extract(epoch from '2026-07-20 13:38:26'::timestamp) - extract(epoch from '2026-07-20 13:38: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'), 47632, 'SRID=4674;POINT (-40.133434 -2.851474)', '2026-07-20 13:38:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133448 -2.851625)'), GeomFromEWKT('SRID=4674;POINT (-40.133434 -2.851474)'))) / (select extract(epoch from '2026-07-20 13:38:35'::timestamp) - extract(epoch from '2026-07-20 13:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133448 -2.851625)'), GeomFromEWKT('SRID=4674;POINT (-40.133434 -2.851474)'))) / (select extract(epoch from '2026-07-20 13:38:35'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.133411 -2.851291)', '2026-07-20 13:38:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133434 -2.851474)'), GeomFromEWKT('SRID=4674;POINT (-40.133411 -2.851291)'))) / (select extract(epoch from '2026-07-20 13:38:44'::timestamp) - extract(epoch from '2026-07-20 13:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133434 -2.851474)'), GeomFromEWKT('SRID=4674;POINT (-40.133411 -2.851291)'))) / (select extract(epoch from '2026-07-20 13:38:44'::timestamp) - extract(epoch from '2026-07-20 13:38: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'), 47632, 'SRID=4674;POINT (-40.133361 -2.851133)', '2026-07-20 13:38:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133411 -2.851291)'), GeomFromEWKT('SRID=4674;POINT (-40.133361 -2.851133)'))) / (select extract(epoch from '2026-07-20 13:38:53'::timestamp) - extract(epoch from '2026-07-20 13:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133411 -2.851291)'), GeomFromEWKT('SRID=4674;POINT (-40.133361 -2.851133)'))) / (select extract(epoch from '2026-07-20 13:38:53'::timestamp) - extract(epoch from '2026-07-20 13:38: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'), 47632, 'SRID=4674;POINT (-40.133315 -2.850992)', '2026-07-20 13:39:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133361 -2.851133)'), GeomFromEWKT('SRID=4674;POINT (-40.133315 -2.850992)'))) / (select extract(epoch from '2026-07-20 13:39:01'::timestamp) - extract(epoch from '2026-07-20 13:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133361 -2.851133)'), GeomFromEWKT('SRID=4674;POINT (-40.133315 -2.850992)'))) / (select extract(epoch from '2026-07-20 13:39:01'::timestamp) - extract(epoch from '2026-07-20 13:38: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'), 47632, 'SRID=4674;POINT (-40.133255 -2.85084)', '2026-07-20 13:39:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133315 -2.850992)'), GeomFromEWKT('SRID=4674;POINT (-40.133255 -2.85084)'))) / (select extract(epoch from '2026-07-20 13:39:10'::timestamp) - extract(epoch from '2026-07-20 13:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133315 -2.850992)'), GeomFromEWKT('SRID=4674;POINT (-40.133255 -2.85084)'))) / (select extract(epoch from '2026-07-20 13:39:10'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47632, 'SRID=4674;POINT (-40.13321 -2.850641)', '2026-07-20 13:39:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133255 -2.85084)'), GeomFromEWKT('SRID=4674;POINT (-40.13321 -2.850641)'))) / (select extract(epoch from '2026-07-20 13:39:20'::timestamp) - extract(epoch from '2026-07-20 13:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133255 -2.85084)'), GeomFromEWKT('SRID=4674;POINT (-40.13321 -2.850641)'))) / (select extract(epoch from '2026-07-20 13:39:20'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47632, 'SRID=4674;POINT (-40.133159 -2.850453)', '2026-07-20 13:39:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13321 -2.850641)'), GeomFromEWKT('SRID=4674;POINT (-40.133159 -2.850453)'))) / (select extract(epoch from '2026-07-20 13:39:30'::timestamp) - extract(epoch from '2026-07-20 13:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13321 -2.850641)'), GeomFromEWKT('SRID=4674;POINT (-40.133159 -2.850453)'))) / (select extract(epoch from '2026-07-20 13:39:30'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47632, 'SRID=4674;POINT (-40.133119 -2.850282)', '2026-07-20 13:39:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133159 -2.850453)'), GeomFromEWKT('SRID=4674;POINT (-40.133119 -2.850282)'))) / (select extract(epoch from '2026-07-20 13:39:39'::timestamp) - extract(epoch from '2026-07-20 13:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133159 -2.850453)'), GeomFromEWKT('SRID=4674;POINT (-40.133119 -2.850282)'))) / (select extract(epoch from '2026-07-20 13:39:39'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47632, 'SRID=4674;POINT (-40.133073 -2.850114)', '2026-07-20 13:39:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133119 -2.850282)'), GeomFromEWKT('SRID=4674;POINT (-40.133073 -2.850114)'))) / (select extract(epoch from '2026-07-20 13:39:47'::timestamp) - extract(epoch from '2026-07-20 13:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133119 -2.850282)'), GeomFromEWKT('SRID=4674;POINT (-40.133073 -2.850114)'))) / (select extract(epoch from '2026-07-20 13:39:47'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47632, 'SRID=4674;POINT (-40.133024 -2.849876)', '2026-07-20 13:39:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133073 -2.850114)'), GeomFromEWKT('SRID=4674;POINT (-40.133024 -2.849876)'))) / (select extract(epoch from '2026-07-20 13:39:58'::timestamp) - extract(epoch from '2026-07-20 13:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133073 -2.850114)'), GeomFromEWKT('SRID=4674;POINT (-40.133024 -2.849876)'))) / (select extract(epoch from '2026-07-20 13:39:58'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47632, 'SRID=4674;POINT (-40.133001 -2.84975)', '2026-07-20 13:40:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133024 -2.849876)'), GeomFromEWKT('SRID=4674;POINT (-40.133001 -2.84975)'))) / (select extract(epoch from '2026-07-20 13:40:05'::timestamp) - extract(epoch from '2026-07-20 13:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133024 -2.849876)'), GeomFromEWKT('SRID=4674;POINT (-40.133001 -2.84975)'))) / (select extract(epoch from '2026-07-20 13:40:05'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47632, 'SRID=4674;POINT (-40.132982 -2.849577)', '2026-07-20 13:40:14', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133001 -2.84975)'), GeomFromEWKT('SRID=4674;POINT (-40.132982 -2.849577)'))) / (select extract(epoch from '2026-07-20 13:40:14'::timestamp) - extract(epoch from '2026-07-20 13:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133001 -2.84975)'), GeomFromEWKT('SRID=4674;POINT (-40.132982 -2.849577)'))) / (select extract(epoch from '2026-07-20 13:40:14'::timestamp) - extract(epoch from '2026-07-20 13:40: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'), 47632, 'SRID=4674;POINT (-40.13295 -2.849407)', '2026-07-20 13:40:23', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132982 -2.849577)'), GeomFromEWKT('SRID=4674;POINT (-40.13295 -2.849407)'))) / (select extract(epoch from '2026-07-20 13:40:23'::timestamp) - extract(epoch from '2026-07-20 13:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132982 -2.849577)'), GeomFromEWKT('SRID=4674;POINT (-40.13295 -2.849407)'))) / (select extract(epoch from '2026-07-20 13:40:23'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.132902 -2.849226)', '2026-07-20 13:40:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13295 -2.849407)'), GeomFromEWKT('SRID=4674;POINT (-40.132902 -2.849226)'))) / (select extract(epoch from '2026-07-20 13:40:32'::timestamp) - extract(epoch from '2026-07-20 13:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13295 -2.849407)'), GeomFromEWKT('SRID=4674;POINT (-40.132902 -2.849226)'))) / (select extract(epoch from '2026-07-20 13:40:32'::timestamp) - extract(epoch from '2026-07-20 13:40: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'), 47632, 'SRID=4674;POINT (-40.132861 -2.849058)', '2026-07-20 13:40:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132902 -2.849226)'), GeomFromEWKT('SRID=4674;POINT (-40.132861 -2.849058)'))) / (select extract(epoch from '2026-07-20 13:40:40'::timestamp) - extract(epoch from '2026-07-20 13:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132902 -2.849226)'), GeomFromEWKT('SRID=4674;POINT (-40.132861 -2.849058)'))) / (select extract(epoch from '2026-07-20 13:40:40'::timestamp) - extract(epoch from '2026-07-20 13:40: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'), 47632, 'SRID=4674;POINT (-40.132824 -2.848856)', '2026-07-20 13:40:49', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132861 -2.849058)'), GeomFromEWKT('SRID=4674;POINT (-40.132824 -2.848856)'))) / (select extract(epoch from '2026-07-20 13:40:49'::timestamp) - extract(epoch from '2026-07-20 13:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132861 -2.849058)'), GeomFromEWKT('SRID=4674;POINT (-40.132824 -2.848856)'))) / (select extract(epoch from '2026-07-20 13:40:49'::timestamp) - extract(epoch from '2026-07-20 13:40: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'), 47632, 'SRID=4674;POINT (-40.132808 -2.84869)', '2026-07-20 13:40:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132824 -2.848856)'), GeomFromEWKT('SRID=4674;POINT (-40.132808 -2.84869)'))) / (select extract(epoch from '2026-07-20 13:40:57'::timestamp) - extract(epoch from '2026-07-20 13:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132824 -2.848856)'), GeomFromEWKT('SRID=4674;POINT (-40.132808 -2.84869)'))) / (select extract(epoch from '2026-07-20 13:40:57'::timestamp) - extract(epoch from '2026-07-20 13:40: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'), 47632, 'SRID=4674;POINT (-40.132811 -2.848523)', '2026-07-20 13:41:05', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132808 -2.84869)'), GeomFromEWKT('SRID=4674;POINT (-40.132811 -2.848523)'))) / (select extract(epoch from '2026-07-20 13:41:05'::timestamp) - extract(epoch from '2026-07-20 13:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132808 -2.84869)'), GeomFromEWKT('SRID=4674;POINT (-40.132811 -2.848523)'))) / (select extract(epoch from '2026-07-20 13:41:05'::timestamp) - extract(epoch from '2026-07-20 13:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132794 -2.848334)', '2026-07-20 13:41:14', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132811 -2.848523)'), GeomFromEWKT('SRID=4674;POINT (-40.132794 -2.848334)'))) / (select extract(epoch from '2026-07-20 13:41:14'::timestamp) - extract(epoch from '2026-07-20 13:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132811 -2.848523)'), GeomFromEWKT('SRID=4674;POINT (-40.132794 -2.848334)'))) / (select extract(epoch from '2026-07-20 13:41:14'::timestamp) - extract(epoch from '2026-07-20 13:41: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'), 47632, 'SRID=4674;POINT (-40.132786 -2.848158)', '2026-07-20 13:41:22', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132794 -2.848334)'), GeomFromEWKT('SRID=4674;POINT (-40.132786 -2.848158)'))) / (select extract(epoch from '2026-07-20 13:41:22'::timestamp) - extract(epoch from '2026-07-20 13:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132794 -2.848334)'), GeomFromEWKT('SRID=4674;POINT (-40.132786 -2.848158)'))) / (select extract(epoch from '2026-07-20 13:41:22'::timestamp) - extract(epoch from '2026-07-20 13:41: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'), 47632, 'SRID=4674;POINT (-40.132764 -2.847985)', '2026-07-20 13:41:30', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132786 -2.848158)'), GeomFromEWKT('SRID=4674;POINT (-40.132764 -2.847985)'))) / (select extract(epoch from '2026-07-20 13:41:30'::timestamp) - extract(epoch from '2026-07-20 13:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132786 -2.848158)'), GeomFromEWKT('SRID=4674;POINT (-40.132764 -2.847985)'))) / (select extract(epoch from '2026-07-20 13:41:30'::timestamp) - extract(epoch from '2026-07-20 13:41: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'), 47632, 'SRID=4674;POINT (-40.132754 -2.847802)', '2026-07-20 13:41:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132764 -2.847985)'), GeomFromEWKT('SRID=4674;POINT (-40.132754 -2.847802)'))) / (select extract(epoch from '2026-07-20 13:41:38'::timestamp) - extract(epoch from '2026-07-20 13:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132764 -2.847985)'), GeomFromEWKT('SRID=4674;POINT (-40.132754 -2.847802)'))) / (select extract(epoch from '2026-07-20 13:41:38'::timestamp) - extract(epoch from '2026-07-20 13:41: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'), 47632, 'SRID=4674;POINT (-40.132726 -2.847615)', '2026-07-20 13:41:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132754 -2.847802)'), GeomFromEWKT('SRID=4674;POINT (-40.132726 -2.847615)'))) / (select extract(epoch from '2026-07-20 13:41:46'::timestamp) - extract(epoch from '2026-07-20 13:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132754 -2.847802)'), GeomFromEWKT('SRID=4674;POINT (-40.132726 -2.847615)'))) / (select extract(epoch from '2026-07-20 13:41:46'::timestamp) - extract(epoch from '2026-07-20 13:41: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'), 47632, 'SRID=4674;POINT (-40.132726 -2.8474)', '2026-07-20 13:41:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132726 -2.847615)'), GeomFromEWKT('SRID=4674;POINT (-40.132726 -2.8474)'))) / (select extract(epoch from '2026-07-20 13:41:55'::timestamp) - extract(epoch from '2026-07-20 13:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132726 -2.847615)'), GeomFromEWKT('SRID=4674;POINT (-40.132726 -2.8474)'))) / (select extract(epoch from '2026-07-20 13:41:55'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.132715 -2.847216)', '2026-07-20 13:42:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132726 -2.8474)'), GeomFromEWKT('SRID=4674;POINT (-40.132715 -2.847216)'))) / (select extract(epoch from '2026-07-20 13:42:03'::timestamp) - extract(epoch from '2026-07-20 13:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132726 -2.8474)'), GeomFromEWKT('SRID=4674;POINT (-40.132715 -2.847216)'))) / (select extract(epoch from '2026-07-20 13:42:03'::timestamp) - extract(epoch from '2026-07-20 13:41: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'), 47632, 'SRID=4674;POINT (-40.132718 -2.84701)', '2026-07-20 13:42:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132715 -2.847216)'), GeomFromEWKT('SRID=4674;POINT (-40.132718 -2.84701)'))) / (select extract(epoch from '2026-07-20 13:42:12'::timestamp) - extract(epoch from '2026-07-20 13:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132715 -2.847216)'), GeomFromEWKT('SRID=4674;POINT (-40.132718 -2.84701)'))) / (select extract(epoch from '2026-07-20 13:42:12'::timestamp) - extract(epoch from '2026-07-20 13:42: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'), 47632, 'SRID=4674;POINT (-40.132722 -2.846854)', '2026-07-20 13:42:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132718 -2.84701)'), GeomFromEWKT('SRID=4674;POINT (-40.132722 -2.846854)'))) / (select extract(epoch from '2026-07-20 13:42:19'::timestamp) - extract(epoch from '2026-07-20 13:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132718 -2.84701)'), GeomFromEWKT('SRID=4674;POINT (-40.132722 -2.846854)'))) / (select extract(epoch from '2026-07-20 13:42:19'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.132721 -2.846673)', '2026-07-20 13:42:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132722 -2.846854)'), GeomFromEWKT('SRID=4674;POINT (-40.132721 -2.846673)'))) / (select extract(epoch from '2026-07-20 13:42:27'::timestamp) - extract(epoch from '2026-07-20 13:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132722 -2.846854)'), GeomFromEWKT('SRID=4674;POINT (-40.132721 -2.846673)'))) / (select extract(epoch from '2026-07-20 13:42:27'::timestamp) - extract(epoch from '2026-07-20 13:42: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'), 47632, 'SRID=4674;POINT (-40.132784 -2.846419)', '2026-07-20 13:42:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132721 -2.846673)'), GeomFromEWKT('SRID=4674;POINT (-40.132784 -2.846419)'))) / (select extract(epoch from '2026-07-20 13:42:39'::timestamp) - extract(epoch from '2026-07-20 13:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132721 -2.846673)'), GeomFromEWKT('SRID=4674;POINT (-40.132784 -2.846419)'))) / (select extract(epoch from '2026-07-20 13:42:39'::timestamp) - extract(epoch from '2026-07-20 13:42: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'), 47632, 'SRID=4674;POINT (-40.132852 -2.846198)', '2026-07-20 13:42:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132784 -2.846419)'), GeomFromEWKT('SRID=4674;POINT (-40.132852 -2.846198)'))) / (select extract(epoch from '2026-07-20 13:42:49'::timestamp) - extract(epoch from '2026-07-20 13:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132784 -2.846419)'), GeomFromEWKT('SRID=4674;POINT (-40.132852 -2.846198)'))) / (select extract(epoch from '2026-07-20 13:42:49'::timestamp) - extract(epoch from '2026-07-20 13:42:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132907 -2.846031)', '2026-07-20 13:42:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132852 -2.846198)'), GeomFromEWKT('SRID=4674;POINT (-40.132907 -2.846031)'))) / (select extract(epoch from '2026-07-20 13:42:57'::timestamp) - extract(epoch from '2026-07-20 13:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132852 -2.846198)'), GeomFromEWKT('SRID=4674;POINT (-40.132907 -2.846031)'))) / (select extract(epoch from '2026-07-20 13:42:57'::timestamp) - extract(epoch from '2026-07-20 13:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132988 -2.845855)', '2026-07-20 13:43:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132907 -2.846031)'), GeomFromEWKT('SRID=4674;POINT (-40.132988 -2.845855)'))) / (select extract(epoch from '2026-07-20 13:43:05'::timestamp) - extract(epoch from '2026-07-20 13:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132907 -2.846031)'), GeomFromEWKT('SRID=4674;POINT (-40.132988 -2.845855)'))) / (select extract(epoch from '2026-07-20 13:43:05'::timestamp) - extract(epoch from '2026-07-20 13:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133079 -2.84566)', '2026-07-20 13:43:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132988 -2.845855)'), GeomFromEWKT('SRID=4674;POINT (-40.133079 -2.84566)'))) / (select extract(epoch from '2026-07-20 13:43:14'::timestamp) - extract(epoch from '2026-07-20 13:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132988 -2.845855)'), GeomFromEWKT('SRID=4674;POINT (-40.133079 -2.84566)'))) / (select extract(epoch from '2026-07-20 13:43:14'::timestamp) - extract(epoch from '2026-07-20 13:43: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'), 47632, 'SRID=4674;POINT (-40.133174 -2.845478)', '2026-07-20 13:43:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133079 -2.84566)'), GeomFromEWKT('SRID=4674;POINT (-40.133174 -2.845478)'))) / (select extract(epoch from '2026-07-20 13:43:23'::timestamp) - extract(epoch from '2026-07-20 13:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133079 -2.84566)'), GeomFromEWKT('SRID=4674;POINT (-40.133174 -2.845478)'))) / (select extract(epoch from '2026-07-20 13:43:23'::timestamp) - extract(epoch from '2026-07-20 13:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133291 -2.845346)', '2026-07-20 13:43:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133174 -2.845478)'), GeomFromEWKT('SRID=4674;POINT (-40.133291 -2.845346)'))) / (select extract(epoch from '2026-07-20 13:43:31'::timestamp) - extract(epoch from '2026-07-20 13:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133174 -2.845478)'), GeomFromEWKT('SRID=4674;POINT (-40.133291 -2.845346)'))) / (select extract(epoch from '2026-07-20 13:43:31'::timestamp) - extract(epoch from '2026-07-20 13:43: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'), 47632, 'SRID=4674;POINT (-40.133432 -2.845215)', '2026-07-20 13:43:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133291 -2.845346)'), GeomFromEWKT('SRID=4674;POINT (-40.133432 -2.845215)'))) / (select extract(epoch from '2026-07-20 13:43:40'::timestamp) - extract(epoch from '2026-07-20 13:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133291 -2.845346)'), GeomFromEWKT('SRID=4674;POINT (-40.133432 -2.845215)'))) / (select extract(epoch from '2026-07-20 13:43:40'::timestamp) - extract(epoch from '2026-07-20 13:43: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'), 47632, 'SRID=4674;POINT (-40.133607 -2.845079)', '2026-07-20 13:43:49', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133432 -2.845215)'), GeomFromEWKT('SRID=4674;POINT (-40.133607 -2.845079)'))) / (select extract(epoch from '2026-07-20 13:43:49'::timestamp) - extract(epoch from '2026-07-20 13:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133432 -2.845215)'), GeomFromEWKT('SRID=4674;POINT (-40.133607 -2.845079)'))) / (select extract(epoch from '2026-07-20 13:43:49'::timestamp) - extract(epoch from '2026-07-20 13:43: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'), 47632, 'SRID=4674;POINT (-40.133826 -2.844936)', '2026-07-20 13:44:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133607 -2.845079)'), GeomFromEWKT('SRID=4674;POINT (-40.133826 -2.844936)'))) / (select extract(epoch from '2026-07-20 13:44:00'::timestamp) - extract(epoch from '2026-07-20 13:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133607 -2.845079)'), GeomFromEWKT('SRID=4674;POINT (-40.133826 -2.844936)'))) / (select extract(epoch from '2026-07-20 13:44:00'::timestamp) - extract(epoch from '2026-07-20 13:43: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'), 47632, 'SRID=4674;POINT (-40.134058 -2.844817)', '2026-07-20 13:44:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133826 -2.844936)'), GeomFromEWKT('SRID=4674;POINT (-40.134058 -2.844817)'))) / (select extract(epoch from '2026-07-20 13:44:11'::timestamp) - extract(epoch from '2026-07-20 13:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133826 -2.844936)'), GeomFromEWKT('SRID=4674;POINT (-40.134058 -2.844817)'))) / (select extract(epoch from '2026-07-20 13:44:11'::timestamp) - extract(epoch from '2026-07-20 13:44:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134217 -2.844744)', '2026-07-20 13:44:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134058 -2.844817)'), GeomFromEWKT('SRID=4674;POINT (-40.134217 -2.844744)'))) / (select extract(epoch from '2026-07-20 13:44:19'::timestamp) - extract(epoch from '2026-07-20 13:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134058 -2.844817)'), GeomFromEWKT('SRID=4674;POINT (-40.134217 -2.844744)'))) / (select extract(epoch from '2026-07-20 13:44:19'::timestamp) - extract(epoch from '2026-07-20 13:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134406 -2.844671)', '2026-07-20 13:44:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134217 -2.844744)'), GeomFromEWKT('SRID=4674;POINT (-40.134406 -2.844671)'))) / (select extract(epoch from '2026-07-20 13:44:27'::timestamp) - extract(epoch from '2026-07-20 13:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134217 -2.844744)'), GeomFromEWKT('SRID=4674;POINT (-40.134406 -2.844671)'))) / (select extract(epoch from '2026-07-20 13:44:27'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.134626 -2.844607)', '2026-07-20 13:44:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134406 -2.844671)'), GeomFromEWKT('SRID=4674;POINT (-40.134626 -2.844607)'))) / (select extract(epoch from '2026-07-20 13:44:37'::timestamp) - extract(epoch from '2026-07-20 13:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134406 -2.844671)'), GeomFromEWKT('SRID=4674;POINT (-40.134626 -2.844607)'))) / (select extract(epoch from '2026-07-20 13:44:37'::timestamp) - extract(epoch from '2026-07-20 13:44: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'), 47632, 'SRID=4674;POINT (-40.134829 -2.84455)', '2026-07-20 13:44:46', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134626 -2.844607)'), GeomFromEWKT('SRID=4674;POINT (-40.134829 -2.84455)'))) / (select extract(epoch from '2026-07-20 13:44:46'::timestamp) - extract(epoch from '2026-07-20 13:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134626 -2.844607)'), GeomFromEWKT('SRID=4674;POINT (-40.134829 -2.84455)'))) / (select extract(epoch from '2026-07-20 13:44:46'::timestamp) - extract(epoch from '2026-07-20 13:44:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135022 -2.844513)', '2026-07-20 13:44:54', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134829 -2.84455)'), GeomFromEWKT('SRID=4674;POINT (-40.135022 -2.844513)'))) / (select extract(epoch from '2026-07-20 13:44:54'::timestamp) - extract(epoch from '2026-07-20 13:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134829 -2.84455)'), GeomFromEWKT('SRID=4674;POINT (-40.135022 -2.844513)'))) / (select extract(epoch from '2026-07-20 13:44:54'::timestamp) - extract(epoch from '2026-07-20 13:44: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'), 47632, 'SRID=4674;POINT (-40.135209 -2.844471)', '2026-07-20 13:45:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135022 -2.844513)'), GeomFromEWKT('SRID=4674;POINT (-40.135209 -2.844471)'))) / (select extract(epoch from '2026-07-20 13:45:02'::timestamp) - extract(epoch from '2026-07-20 13:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135022 -2.844513)'), GeomFromEWKT('SRID=4674;POINT (-40.135209 -2.844471)'))) / (select extract(epoch from '2026-07-20 13:45:02'::timestamp) - extract(epoch from '2026-07-20 13:44: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'), 47632, 'SRID=4674;POINT (-40.13543 -2.844434)', '2026-07-20 13:45:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135209 -2.844471)'), GeomFromEWKT('SRID=4674;POINT (-40.13543 -2.844434)'))) / (select extract(epoch from '2026-07-20 13:45:12'::timestamp) - extract(epoch from '2026-07-20 13:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135209 -2.844471)'), GeomFromEWKT('SRID=4674;POINT (-40.13543 -2.844434)'))) / (select extract(epoch from '2026-07-20 13:45:12'::timestamp) - extract(epoch from '2026-07-20 13:45:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135604 -2.844398)', '2026-07-20 13:45:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13543 -2.844434)'), GeomFromEWKT('SRID=4674;POINT (-40.135604 -2.844398)'))) / (select extract(epoch from '2026-07-20 13:45:21'::timestamp) - extract(epoch from '2026-07-20 13:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13543 -2.844434)'), GeomFromEWKT('SRID=4674;POINT (-40.135604 -2.844398)'))) / (select extract(epoch from '2026-07-20 13:45:21'::timestamp) - extract(epoch from '2026-07-20 13:45: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'), 47632, 'SRID=4674;POINT (-40.135757 -2.844363)', '2026-07-20 13:45:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135604 -2.844398)'), GeomFromEWKT('SRID=4674;POINT (-40.135757 -2.844363)'))) / (select extract(epoch from '2026-07-20 13:45:28'::timestamp) - extract(epoch from '2026-07-20 13:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135604 -2.844398)'), GeomFromEWKT('SRID=4674;POINT (-40.135757 -2.844363)'))) / (select extract(epoch from '2026-07-20 13:45:28'::timestamp) - extract(epoch from '2026-07-20 13:45: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'), 47632, 'SRID=4674;POINT (-40.135954 -2.844332)', '2026-07-20 13:45:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135757 -2.844363)'), GeomFromEWKT('SRID=4674;POINT (-40.135954 -2.844332)'))) / (select extract(epoch from '2026-07-20 13:45:37'::timestamp) - extract(epoch from '2026-07-20 13:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135757 -2.844363)'), GeomFromEWKT('SRID=4674;POINT (-40.135954 -2.844332)'))) / (select extract(epoch from '2026-07-20 13:45:37'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.136192 -2.844335)', '2026-07-20 13:45:46', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135954 -2.844332)'), GeomFromEWKT('SRID=4674;POINT (-40.136192 -2.844335)'))) / (select extract(epoch from '2026-07-20 13:45:46'::timestamp) - extract(epoch from '2026-07-20 13:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135954 -2.844332)'), GeomFromEWKT('SRID=4674;POINT (-40.136192 -2.844335)'))) / (select extract(epoch from '2026-07-20 13:45:46'::timestamp) - extract(epoch from '2026-07-20 13:45: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'), 47632, 'SRID=4674;POINT (-40.136381 -2.844307)', '2026-07-20 13:45:54', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136192 -2.844335)'), GeomFromEWKT('SRID=4674;POINT (-40.136381 -2.844307)'))) / (select extract(epoch from '2026-07-20 13:45:54'::timestamp) - extract(epoch from '2026-07-20 13:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136192 -2.844335)'), GeomFromEWKT('SRID=4674;POINT (-40.136381 -2.844307)'))) / (select extract(epoch from '2026-07-20 13:45:54'::timestamp) - extract(epoch from '2026-07-20 13:45: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'), 47632, 'SRID=4674;POINT (-40.136597 -2.844263)', '2026-07-20 13:46:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136381 -2.844307)'), GeomFromEWKT('SRID=4674;POINT (-40.136597 -2.844263)'))) / (select extract(epoch from '2026-07-20 13:46:03'::timestamp) - extract(epoch from '2026-07-20 13:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136381 -2.844307)'), GeomFromEWKT('SRID=4674;POINT (-40.136597 -2.844263)'))) / (select extract(epoch from '2026-07-20 13:46:03'::timestamp) - extract(epoch from '2026-07-20 13:45: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'), 47632, 'SRID=4674;POINT (-40.136786 -2.844246)', '2026-07-20 13:46:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136597 -2.844263)'), GeomFromEWKT('SRID=4674;POINT (-40.136786 -2.844246)'))) / (select extract(epoch from '2026-07-20 13:46:11'::timestamp) - extract(epoch from '2026-07-20 13:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136597 -2.844263)'), GeomFromEWKT('SRID=4674;POINT (-40.136786 -2.844246)'))) / (select extract(epoch from '2026-07-20 13:46:11'::timestamp) - extract(epoch from '2026-07-20 13:46: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'), 47632, 'SRID=4674;POINT (-40.136956 -2.844253)', '2026-07-20 13:46:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136786 -2.844246)'), GeomFromEWKT('SRID=4674;POINT (-40.136956 -2.844253)'))) / (select extract(epoch from '2026-07-20 13:46:18'::timestamp) - extract(epoch from '2026-07-20 13:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136786 -2.844246)'), GeomFromEWKT('SRID=4674;POINT (-40.136956 -2.844253)'))) / (select extract(epoch from '2026-07-20 13:46:18'::timestamp) - extract(epoch from '2026-07-20 13:46: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'), 47632, 'SRID=4674;POINT (-40.13717 -2.844234)', '2026-07-20 13:46:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136956 -2.844253)'), GeomFromEWKT('SRID=4674;POINT (-40.13717 -2.844234)'))) / (select extract(epoch from '2026-07-20 13:46:27'::timestamp) - extract(epoch from '2026-07-20 13:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136956 -2.844253)'), GeomFromEWKT('SRID=4674;POINT (-40.13717 -2.844234)'))) / (select extract(epoch from '2026-07-20 13:46:27'::timestamp) - extract(epoch from '2026-07-20 13:46: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'), 47632, 'SRID=4674;POINT (-40.137359 -2.844205)', '2026-07-20 13:46:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13717 -2.844234)'), GeomFromEWKT('SRID=4674;POINT (-40.137359 -2.844205)'))) / (select extract(epoch from '2026-07-20 13:46:35'::timestamp) - extract(epoch from '2026-07-20 13:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13717 -2.844234)'), GeomFromEWKT('SRID=4674;POINT (-40.137359 -2.844205)'))) / (select extract(epoch from '2026-07-20 13:46:35'::timestamp) - extract(epoch from '2026-07-20 13:46: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'), 47632, 'SRID=4674;POINT (-40.1375 -2.844172)', '2026-07-20 13:46:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137359 -2.844205)'), GeomFromEWKT('SRID=4674;POINT (-40.1375 -2.844172)'))) / (select extract(epoch from '2026-07-20 13:46:41'::timestamp) - extract(epoch from '2026-07-20 13:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137359 -2.844205)'), GeomFromEWKT('SRID=4674;POINT (-40.1375 -2.844172)'))) / (select extract(epoch from '2026-07-20 13:46:41'::timestamp) - extract(epoch from '2026-07-20 13:46: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'), 47632, 'SRID=4674;POINT (-40.137676 -2.844134)', '2026-07-20 13:46:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1375 -2.844172)'), GeomFromEWKT('SRID=4674;POINT (-40.137676 -2.844134)'))) / (select extract(epoch from '2026-07-20 13:46:49'::timestamp) - extract(epoch from '2026-07-20 13:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1375 -2.844172)'), GeomFromEWKT('SRID=4674;POINT (-40.137676 -2.844134)'))) / (select extract(epoch from '2026-07-20 13:46:49'::timestamp) - extract(epoch from '2026-07-20 13:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137869 -2.844094)', '2026-07-20 13:46:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137676 -2.844134)'), GeomFromEWKT('SRID=4674;POINT (-40.137869 -2.844094)'))) / (select extract(epoch from '2026-07-20 13:46:57'::timestamp) - extract(epoch from '2026-07-20 13:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137676 -2.844134)'), GeomFromEWKT('SRID=4674;POINT (-40.137869 -2.844094)'))) / (select extract(epoch from '2026-07-20 13:46:57'::timestamp) - extract(epoch from '2026-07-20 13:46: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'), 47632, 'SRID=4674;POINT (-40.138095 -2.84404)', '2026-07-20 13:47:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137869 -2.844094)'), GeomFromEWKT('SRID=4674;POINT (-40.138095 -2.84404)'))) / (select extract(epoch from '2026-07-20 13:47:08'::timestamp) - extract(epoch from '2026-07-20 13:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137869 -2.844094)'), GeomFromEWKT('SRID=4674;POINT (-40.138095 -2.84404)'))) / (select extract(epoch from '2026-07-20 13:47:08'::timestamp) - extract(epoch from '2026-07-20 13:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.138257 -2.843997)', '2026-07-20 13:47:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138095 -2.84404)'), GeomFromEWKT('SRID=4674;POINT (-40.138257 -2.843997)'))) / (select extract(epoch from '2026-07-20 13:47:15'::timestamp) - extract(epoch from '2026-07-20 13:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138095 -2.84404)'), GeomFromEWKT('SRID=4674;POINT (-40.138257 -2.843997)'))) / (select extract(epoch from '2026-07-20 13:47:15'::timestamp) - extract(epoch from '2026-07-20 13:47: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'), 47632, 'SRID=4674;POINT (-40.138475 -2.843928)', '2026-07-20 13:47:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138257 -2.843997)'), GeomFromEWKT('SRID=4674;POINT (-40.138475 -2.843928)'))) / (select extract(epoch from '2026-07-20 13:47:24'::timestamp) - extract(epoch from '2026-07-20 13:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138257 -2.843997)'), GeomFromEWKT('SRID=4674;POINT (-40.138475 -2.843928)'))) / (select extract(epoch from '2026-07-20 13:47:24'::timestamp) - extract(epoch from '2026-07-20 13:47: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'), 47632, 'SRID=4674;POINT (-40.138665 -2.843851)', '2026-07-20 13:47:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138475 -2.843928)'), GeomFromEWKT('SRID=4674;POINT (-40.138665 -2.843851)'))) / (select extract(epoch from '2026-07-20 13:47:33'::timestamp) - extract(epoch from '2026-07-20 13:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138475 -2.843928)'), GeomFromEWKT('SRID=4674;POINT (-40.138665 -2.843851)'))) / (select extract(epoch from '2026-07-20 13:47:33'::timestamp) - extract(epoch from '2026-07-20 13:47: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'), 47632, 'SRID=4674;POINT (-40.138846 -2.84377)', '2026-07-20 13:47:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138665 -2.843851)'), GeomFromEWKT('SRID=4674;POINT (-40.138846 -2.84377)'))) / (select extract(epoch from '2026-07-20 13:47:42'::timestamp) - extract(epoch from '2026-07-20 13:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138665 -2.843851)'), GeomFromEWKT('SRID=4674;POINT (-40.138846 -2.84377)'))) / (select extract(epoch from '2026-07-20 13:47:42'::timestamp) - extract(epoch from '2026-07-20 13:47: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'), 47632, 'SRID=4674;POINT (-40.139018 -2.843665)', '2026-07-20 13:47:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138846 -2.84377)'), GeomFromEWKT('SRID=4674;POINT (-40.139018 -2.843665)'))) / (select extract(epoch from '2026-07-20 13:47:51'::timestamp) - extract(epoch from '2026-07-20 13:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138846 -2.84377)'), GeomFromEWKT('SRID=4674;POINT (-40.139018 -2.843665)'))) / (select extract(epoch from '2026-07-20 13:47:51'::timestamp) - extract(epoch from '2026-07-20 13:47: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'), 47632, 'SRID=4674;POINT (-40.139249 -2.843544)', '2026-07-20 13:48:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139018 -2.843665)'), GeomFromEWKT('SRID=4674;POINT (-40.139249 -2.843544)'))) / (select extract(epoch from '2026-07-20 13:48:02'::timestamp) - extract(epoch from '2026-07-20 13:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139018 -2.843665)'), GeomFromEWKT('SRID=4674;POINT (-40.139249 -2.843544)'))) / (select extract(epoch from '2026-07-20 13:48:02'::timestamp) - extract(epoch from '2026-07-20 13:47: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'), 47632, 'SRID=4674;POINT (-40.139453 -2.84344)', '2026-07-20 13:48:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139249 -2.843544)'), GeomFromEWKT('SRID=4674;POINT (-40.139453 -2.84344)'))) / (select extract(epoch from '2026-07-20 13:48:12'::timestamp) - extract(epoch from '2026-07-20 13:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139249 -2.843544)'), GeomFromEWKT('SRID=4674;POINT (-40.139453 -2.84344)'))) / (select extract(epoch from '2026-07-20 13:48:12'::timestamp) - extract(epoch from '2026-07-20 13:48: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'), 47632, 'SRID=4674;POINT (-40.139612 -2.843345)', '2026-07-20 13:48:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139453 -2.84344)'), GeomFromEWKT('SRID=4674;POINT (-40.139612 -2.843345)'))) / (select extract(epoch from '2026-07-20 13:48:20'::timestamp) - extract(epoch from '2026-07-20 13:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139453 -2.84344)'), GeomFromEWKT('SRID=4674;POINT (-40.139612 -2.843345)'))) / (select extract(epoch from '2026-07-20 13:48:20'::timestamp) - extract(epoch from '2026-07-20 13:48: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'), 47632, 'SRID=4674;POINT (-40.139852 -2.843204)', '2026-07-20 13:48:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139612 -2.843345)'), GeomFromEWKT('SRID=4674;POINT (-40.139852 -2.843204)'))) / (select extract(epoch from '2026-07-20 13:48:32'::timestamp) - extract(epoch from '2026-07-20 13:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139612 -2.843345)'), GeomFromEWKT('SRID=4674;POINT (-40.139852 -2.843204)'))) / (select extract(epoch from '2026-07-20 13:48:32'::timestamp) - extract(epoch from '2026-07-20 13:48: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'), 47632, 'SRID=4674;POINT (-40.140036 -2.843081)', '2026-07-20 13:48:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139852 -2.843204)'), GeomFromEWKT('SRID=4674;POINT (-40.140036 -2.843081)'))) / (select extract(epoch from '2026-07-20 13:48:42'::timestamp) - extract(epoch from '2026-07-20 13:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139852 -2.843204)'), GeomFromEWKT('SRID=4674;POINT (-40.140036 -2.843081)'))) / (select extract(epoch from '2026-07-20 13:48:42'::timestamp) - extract(epoch from '2026-07-20 13:48: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'), 47632, 'SRID=4674;POINT (-40.14019 -2.842969)', '2026-07-20 13:48:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140036 -2.843081)'), GeomFromEWKT('SRID=4674;POINT (-40.14019 -2.842969)'))) / (select extract(epoch from '2026-07-20 13:48:51'::timestamp) - extract(epoch from '2026-07-20 13:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140036 -2.843081)'), GeomFromEWKT('SRID=4674;POINT (-40.14019 -2.842969)'))) / (select extract(epoch from '2026-07-20 13:48:51'::timestamp) - extract(epoch from '2026-07-20 13:48: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'), 47632, 'SRID=4674;POINT (-40.140369 -2.842846)', '2026-07-20 13:49:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14019 -2.842969)'), GeomFromEWKT('SRID=4674;POINT (-40.140369 -2.842846)'))) / (select extract(epoch from '2026-07-20 13:49:01'::timestamp) - extract(epoch from '2026-07-20 13:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14019 -2.842969)'), GeomFromEWKT('SRID=4674;POINT (-40.140369 -2.842846)'))) / (select extract(epoch from '2026-07-20 13:49:01'::timestamp) - extract(epoch from '2026-07-20 13:48: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'), 47632, 'SRID=4674;POINT (-40.140488 -2.842767)', '2026-07-20 13:49:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140369 -2.842846)'), GeomFromEWKT('SRID=4674;POINT (-40.140488 -2.842767)'))) / (select extract(epoch from '2026-07-20 13:49:08'::timestamp) - extract(epoch from '2026-07-20 13:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140369 -2.842846)'), GeomFromEWKT('SRID=4674;POINT (-40.140488 -2.842767)'))) / (select extract(epoch from '2026-07-20 13:49:08'::timestamp) - extract(epoch from '2026-07-20 13:49: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'), 47632, 'SRID=4674;POINT (-40.140659 -2.842654)', '2026-07-20 13:49:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140488 -2.842767)'), GeomFromEWKT('SRID=4674;POINT (-40.140659 -2.842654)'))) / (select extract(epoch from '2026-07-20 13:49:17'::timestamp) - extract(epoch from '2026-07-20 13:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140488 -2.842767)'), GeomFromEWKT('SRID=4674;POINT (-40.140659 -2.842654)'))) / (select extract(epoch from '2026-07-20 13:49:17'::timestamp) - extract(epoch from '2026-07-20 13:49: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'), 47632, 'SRID=4674;POINT (-40.14082 -2.84252)', '2026-07-20 13:49:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140659 -2.842654)'), GeomFromEWKT('SRID=4674;POINT (-40.14082 -2.84252)'))) / (select extract(epoch from '2026-07-20 13:49:27'::timestamp) - extract(epoch from '2026-07-20 13:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140659 -2.842654)'), GeomFromEWKT('SRID=4674;POINT (-40.14082 -2.84252)'))) / (select extract(epoch from '2026-07-20 13:49:27'::timestamp) - extract(epoch from '2026-07-20 13:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.140977 -2.842386)', '2026-07-20 13:49:36', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14082 -2.84252)'), GeomFromEWKT('SRID=4674;POINT (-40.140977 -2.842386)'))) / (select extract(epoch from '2026-07-20 13:49:36'::timestamp) - extract(epoch from '2026-07-20 13:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14082 -2.84252)'), GeomFromEWKT('SRID=4674;POINT (-40.140977 -2.842386)'))) / (select extract(epoch from '2026-07-20 13:49:36'::timestamp) - extract(epoch from '2026-07-20 13:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.141114 -2.842269)', '2026-07-20 13:49:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140977 -2.842386)'), GeomFromEWKT('SRID=4674;POINT (-40.141114 -2.842269)'))) / (select extract(epoch from '2026-07-20 13:49:45'::timestamp) - extract(epoch from '2026-07-20 13:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140977 -2.842386)'), GeomFromEWKT('SRID=4674;POINT (-40.141114 -2.842269)'))) / (select extract(epoch from '2026-07-20 13:49:45'::timestamp) - extract(epoch from '2026-07-20 13:49: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'), 47632, 'SRID=4674;POINT (-40.141238 -2.842154)', '2026-07-20 13:49:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141114 -2.842269)'), GeomFromEWKT('SRID=4674;POINT (-40.141238 -2.842154)'))) / (select extract(epoch from '2026-07-20 13:49:53'::timestamp) - extract(epoch from '2026-07-20 13:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141114 -2.842269)'), GeomFromEWKT('SRID=4674;POINT (-40.141238 -2.842154)'))) / (select extract(epoch from '2026-07-20 13:49:53'::timestamp) - extract(epoch from '2026-07-20 13:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.141347 -2.842036)', '2026-07-20 13:50:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141238 -2.842154)'), GeomFromEWKT('SRID=4674;POINT (-40.141347 -2.842036)'))) / (select extract(epoch from '2026-07-20 13:50:01'::timestamp) - extract(epoch from '2026-07-20 13:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141238 -2.842154)'), GeomFromEWKT('SRID=4674;POINT (-40.141347 -2.842036)'))) / (select extract(epoch from '2026-07-20 13:50:01'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.141481 -2.841916)', '2026-07-20 13:50:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141347 -2.842036)'), GeomFromEWKT('SRID=4674;POINT (-40.141481 -2.841916)'))) / (select extract(epoch from '2026-07-20 13:50:10'::timestamp) - extract(epoch from '2026-07-20 13:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141347 -2.842036)'), GeomFromEWKT('SRID=4674;POINT (-40.141481 -2.841916)'))) / (select extract(epoch from '2026-07-20 13:50:10'::timestamp) - extract(epoch from '2026-07-20 13:50: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'), 47632, 'SRID=4674;POINT (-40.141597 -2.841794)', '2026-07-20 13:50:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141481 -2.841916)'), GeomFromEWKT('SRID=4674;POINT (-40.141597 -2.841794)'))) / (select extract(epoch from '2026-07-20 13:50:18'::timestamp) - extract(epoch from '2026-07-20 13:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141481 -2.841916)'), GeomFromEWKT('SRID=4674;POINT (-40.141597 -2.841794)'))) / (select extract(epoch from '2026-07-20 13:50:18'::timestamp) - extract(epoch from '2026-07-20 13:50: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'), 47632, 'SRID=4674;POINT (-40.141735 -2.841666)', '2026-07-20 13:50:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141597 -2.841794)'), GeomFromEWKT('SRID=4674;POINT (-40.141735 -2.841666)'))) / (select extract(epoch from '2026-07-20 13:50:26'::timestamp) - extract(epoch from '2026-07-20 13:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141597 -2.841794)'), GeomFromEWKT('SRID=4674;POINT (-40.141735 -2.841666)'))) / (select extract(epoch from '2026-07-20 13:50:26'::timestamp) - extract(epoch from '2026-07-20 13:50: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'), 47632, 'SRID=4674;POINT (-40.141935 -2.841528)', '2026-07-20 13:50:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141735 -2.841666)'), GeomFromEWKT('SRID=4674;POINT (-40.141935 -2.841528)'))) / (select extract(epoch from '2026-07-20 13:50:37'::timestamp) - extract(epoch from '2026-07-20 13:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141735 -2.841666)'), GeomFromEWKT('SRID=4674;POINT (-40.141935 -2.841528)'))) / (select extract(epoch from '2026-07-20 13:50:37'::timestamp) - extract(epoch from '2026-07-20 13:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142075 -2.841426)', '2026-07-20 13:50:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141935 -2.841528)'), GeomFromEWKT('SRID=4674;POINT (-40.142075 -2.841426)'))) / (select extract(epoch from '2026-07-20 13:50:45'::timestamp) - extract(epoch from '2026-07-20 13:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141935 -2.841528)'), GeomFromEWKT('SRID=4674;POINT (-40.142075 -2.841426)'))) / (select extract(epoch from '2026-07-20 13:50:45'::timestamp) - extract(epoch from '2026-07-20 13:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142243 -2.841299)', '2026-07-20 13:50:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142075 -2.841426)'), GeomFromEWKT('SRID=4674;POINT (-40.142243 -2.841299)'))) / (select extract(epoch from '2026-07-20 13:50:54'::timestamp) - extract(epoch from '2026-07-20 13:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142075 -2.841426)'), GeomFromEWKT('SRID=4674;POINT (-40.142243 -2.841299)'))) / (select extract(epoch from '2026-07-20 13:50:54'::timestamp) - extract(epoch from '2026-07-20 13:50: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'), 47632, 'SRID=4674;POINT (-40.142395 -2.841161)', '2026-07-20 13:51:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142243 -2.841299)'), GeomFromEWKT('SRID=4674;POINT (-40.142395 -2.841161)'))) / (select extract(epoch from '2026-07-20 13:51:03'::timestamp) - extract(epoch from '2026-07-20 13:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142243 -2.841299)'), GeomFromEWKT('SRID=4674;POINT (-40.142395 -2.841161)'))) / (select extract(epoch from '2026-07-20 13:51:03'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.142529 -2.840986)', '2026-07-20 13:51:13', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142395 -2.841161)'), GeomFromEWKT('SRID=4674;POINT (-40.142529 -2.840986)'))) / (select extract(epoch from '2026-07-20 13:51:13'::timestamp) - extract(epoch from '2026-07-20 13:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142395 -2.841161)'), GeomFromEWKT('SRID=4674;POINT (-40.142529 -2.840986)'))) / (select extract(epoch from '2026-07-20 13:51:13'::timestamp) - extract(epoch from '2026-07-20 13:51: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'), 47632, 'SRID=4674;POINT (-40.142648 -2.840833)', '2026-07-20 13:51:22', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142529 -2.840986)'), GeomFromEWKT('SRID=4674;POINT (-40.142648 -2.840833)'))) / (select extract(epoch from '2026-07-20 13:51:22'::timestamp) - extract(epoch from '2026-07-20 13:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142529 -2.840986)'), GeomFromEWKT('SRID=4674;POINT (-40.142648 -2.840833)'))) / (select extract(epoch from '2026-07-20 13:51:22'::timestamp) - extract(epoch from '2026-07-20 13:51: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'), 47632, 'SRID=4674;POINT (-40.142755 -2.840633)', '2026-07-20 13:51:32', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142648 -2.840833)'), GeomFromEWKT('SRID=4674;POINT (-40.142755 -2.840633)'))) / (select extract(epoch from '2026-07-20 13:51:32'::timestamp) - extract(epoch from '2026-07-20 13:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142648 -2.840833)'), GeomFromEWKT('SRID=4674;POINT (-40.142755 -2.840633)'))) / (select extract(epoch from '2026-07-20 13:51:32'::timestamp) - extract(epoch from '2026-07-20 13:51: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'), 47632, 'SRID=4674;POINT (-40.14286 -2.840483)', '2026-07-20 13:51:40', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142755 -2.840633)'), GeomFromEWKT('SRID=4674;POINT (-40.14286 -2.840483)'))) / (select extract(epoch from '2026-07-20 13:51:40'::timestamp) - extract(epoch from '2026-07-20 13:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142755 -2.840633)'), GeomFromEWKT('SRID=4674;POINT (-40.14286 -2.840483)'))) / (select extract(epoch from '2026-07-20 13:51:40'::timestamp) - extract(epoch from '2026-07-20 13:51: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'), 47632, 'SRID=4674;POINT (-40.142996 -2.840306)', '2026-07-20 13:51:50', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14286 -2.840483)'), GeomFromEWKT('SRID=4674;POINT (-40.142996 -2.840306)'))) / (select extract(epoch from '2026-07-20 13:51:50'::timestamp) - extract(epoch from '2026-07-20 13:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14286 -2.840483)'), GeomFromEWKT('SRID=4674;POINT (-40.142996 -2.840306)'))) / (select extract(epoch from '2026-07-20 13:51:50'::timestamp) - extract(epoch from '2026-07-20 13:51: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'), 47632, 'SRID=4674;POINT (-40.143094 -2.840145)', '2026-07-20 13:51:58', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142996 -2.840306)'), GeomFromEWKT('SRID=4674;POINT (-40.143094 -2.840145)'))) / (select extract(epoch from '2026-07-20 13:51:58'::timestamp) - extract(epoch from '2026-07-20 13:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142996 -2.840306)'), GeomFromEWKT('SRID=4674;POINT (-40.143094 -2.840145)'))) / (select extract(epoch from '2026-07-20 13:51:58'::timestamp) - extract(epoch from '2026-07-20 13:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143174 -2.839985)', '2026-07-20 13:52:06', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143094 -2.840145)'), GeomFromEWKT('SRID=4674;POINT (-40.143174 -2.839985)'))) / (select extract(epoch from '2026-07-20 13:52:06'::timestamp) - extract(epoch from '2026-07-20 13:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143094 -2.840145)'), GeomFromEWKT('SRID=4674;POINT (-40.143174 -2.839985)'))) / (select extract(epoch from '2026-07-20 13:52:06'::timestamp) - extract(epoch from '2026-07-20 13:51: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'), 47632, 'SRID=4674;POINT (-40.143252 -2.839807)', '2026-07-20 13:52:14', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143174 -2.839985)'), GeomFromEWKT('SRID=4674;POINT (-40.143252 -2.839807)'))) / (select extract(epoch from '2026-07-20 13:52:14'::timestamp) - extract(epoch from '2026-07-20 13:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143174 -2.839985)'), GeomFromEWKT('SRID=4674;POINT (-40.143252 -2.839807)'))) / (select extract(epoch from '2026-07-20 13:52:14'::timestamp) - extract(epoch from '2026-07-20 13:52: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'), 47632, 'SRID=4674;POINT (-40.143312 -2.839633)', '2026-07-20 13:52:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143252 -2.839807)'), GeomFromEWKT('SRID=4674;POINT (-40.143312 -2.839633)'))) / (select extract(epoch from '2026-07-20 13:52:22'::timestamp) - extract(epoch from '2026-07-20 13:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143252 -2.839807)'), GeomFromEWKT('SRID=4674;POINT (-40.143312 -2.839633)'))) / (select extract(epoch from '2026-07-20 13:52:22'::timestamp) - extract(epoch from '2026-07-20 13:52: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'), 47632, 'SRID=4674;POINT (-40.14337 -2.839488)', '2026-07-20 13:52:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143312 -2.839633)'), GeomFromEWKT('SRID=4674;POINT (-40.14337 -2.839488)'))) / (select extract(epoch from '2026-07-20 13:52:29'::timestamp) - extract(epoch from '2026-07-20 13:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143312 -2.839633)'), GeomFromEWKT('SRID=4674;POINT (-40.14337 -2.839488)'))) / (select extract(epoch from '2026-07-20 13:52:29'::timestamp) - extract(epoch from '2026-07-20 13:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143445 -2.839307)', '2026-07-20 13:52:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14337 -2.839488)'), GeomFromEWKT('SRID=4674;POINT (-40.143445 -2.839307)'))) / (select extract(epoch from '2026-07-20 13:52:38'::timestamp) - extract(epoch from '2026-07-20 13:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14337 -2.839488)'), GeomFromEWKT('SRID=4674;POINT (-40.143445 -2.839307)'))) / (select extract(epoch from '2026-07-20 13:52:38'::timestamp) - extract(epoch from '2026-07-20 13:52: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'), 47632, 'SRID=4674;POINT (-40.143531 -2.839101)', '2026-07-20 13:52:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143445 -2.839307)'), GeomFromEWKT('SRID=4674;POINT (-40.143531 -2.839101)'))) / (select extract(epoch from '2026-07-20 13:52:48'::timestamp) - extract(epoch from '2026-07-20 13:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143445 -2.839307)'), GeomFromEWKT('SRID=4674;POINT (-40.143531 -2.839101)'))) / (select extract(epoch from '2026-07-20 13:52:48'::timestamp) - extract(epoch from '2026-07-20 13:52: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'), 47632, 'SRID=4674;POINT (-40.143621 -2.838898)', '2026-07-20 13:52:58', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143531 -2.839101)'), GeomFromEWKT('SRID=4674;POINT (-40.143621 -2.838898)'))) / (select extract(epoch from '2026-07-20 13:52:58'::timestamp) - extract(epoch from '2026-07-20 13:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143531 -2.839101)'), GeomFromEWKT('SRID=4674;POINT (-40.143621 -2.838898)'))) / (select extract(epoch from '2026-07-20 13:52:58'::timestamp) - extract(epoch from '2026-07-20 13:52: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'), 47632, 'SRID=4674;POINT (-40.143691 -2.838721)', '2026-07-20 13:53:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143621 -2.838898)'), GeomFromEWKT('SRID=4674;POINT (-40.143691 -2.838721)'))) / (select extract(epoch from '2026-07-20 13:53:07'::timestamp) - extract(epoch from '2026-07-20 13:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143621 -2.838898)'), GeomFromEWKT('SRID=4674;POINT (-40.143691 -2.838721)'))) / (select extract(epoch from '2026-07-20 13:53:07'::timestamp) - extract(epoch from '2026-07-20 13:52: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'), 47632, 'SRID=4674;POINT (-40.143731 -2.838557)', '2026-07-20 13:53:15', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143691 -2.838721)'), GeomFromEWKT('SRID=4674;POINT (-40.143731 -2.838557)'))) / (select extract(epoch from '2026-07-20 13:53:15'::timestamp) - extract(epoch from '2026-07-20 13:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143691 -2.838721)'), GeomFromEWKT('SRID=4674;POINT (-40.143731 -2.838557)'))) / (select extract(epoch from '2026-07-20 13:53:15'::timestamp) - extract(epoch from '2026-07-20 13:53: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'), 47632, 'SRID=4674;POINT (-40.143751 -2.838351)', '2026-07-20 13:53:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143731 -2.838557)'), GeomFromEWKT('SRID=4674;POINT (-40.143751 -2.838351)'))) / (select extract(epoch from '2026-07-20 13:53:24'::timestamp) - extract(epoch from '2026-07-20 13:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143731 -2.838557)'), GeomFromEWKT('SRID=4674;POINT (-40.143751 -2.838351)'))) / (select extract(epoch from '2026-07-20 13:53:24'::timestamp) - extract(epoch from '2026-07-20 13:53: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'), 47632, 'SRID=4674;POINT (-40.143801 -2.838148)', '2026-07-20 13:53:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143751 -2.838351)'), GeomFromEWKT('SRID=4674;POINT (-40.143801 -2.838148)'))) / (select extract(epoch from '2026-07-20 13:53:33'::timestamp) - extract(epoch from '2026-07-20 13:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143751 -2.838351)'), GeomFromEWKT('SRID=4674;POINT (-40.143801 -2.838148)'))) / (select extract(epoch from '2026-07-20 13:53:33'::timestamp) - extract(epoch from '2026-07-20 13:53: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'), 47632, 'SRID=4674;POINT (-40.14384 -2.837993)', '2026-07-20 13:53:40', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143801 -2.838148)'), GeomFromEWKT('SRID=4674;POINT (-40.14384 -2.837993)'))) / (select extract(epoch from '2026-07-20 13:53:40'::timestamp) - extract(epoch from '2026-07-20 13:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143801 -2.838148)'), GeomFromEWKT('SRID=4674;POINT (-40.14384 -2.837993)'))) / (select extract(epoch from '2026-07-20 13:53:40'::timestamp) - extract(epoch from '2026-07-20 13:53: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'), 47632, 'SRID=4674;POINT (-40.143881 -2.837805)', '2026-07-20 13:53:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14384 -2.837993)'), GeomFromEWKT('SRID=4674;POINT (-40.143881 -2.837805)'))) / (select extract(epoch from '2026-07-20 13:53:49'::timestamp) - extract(epoch from '2026-07-20 13:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14384 -2.837993)'), GeomFromEWKT('SRID=4674;POINT (-40.143881 -2.837805)'))) / (select extract(epoch from '2026-07-20 13:53:49'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.143923 -2.837603)', '2026-07-20 13:53:58', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143881 -2.837805)'), GeomFromEWKT('SRID=4674;POINT (-40.143923 -2.837603)'))) / (select extract(epoch from '2026-07-20 13:53:58'::timestamp) - extract(epoch from '2026-07-20 13:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143881 -2.837805)'), GeomFromEWKT('SRID=4674;POINT (-40.143923 -2.837603)'))) / (select extract(epoch from '2026-07-20 13:53:58'::timestamp) - extract(epoch from '2026-07-20 13:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143974 -2.837389)', '2026-07-20 13:54:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143923 -2.837603)'), GeomFromEWKT('SRID=4674;POINT (-40.143974 -2.837389)'))) / (select extract(epoch from '2026-07-20 13:54:07'::timestamp) - extract(epoch from '2026-07-20 13:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143923 -2.837603)'), GeomFromEWKT('SRID=4674;POINT (-40.143974 -2.837389)'))) / (select extract(epoch from '2026-07-20 13:54:07'::timestamp) - extract(epoch from '2026-07-20 13:53:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.144003 -2.837162)', '2026-07-20 13:54:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143974 -2.837389)'), GeomFromEWKT('SRID=4674;POINT (-40.144003 -2.837162)'))) / (select extract(epoch from '2026-07-20 13:54:18'::timestamp) - extract(epoch from '2026-07-20 13:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143974 -2.837389)'), GeomFromEWKT('SRID=4674;POINT (-40.144003 -2.837162)'))) / (select extract(epoch from '2026-07-20 13:54:18'::timestamp) - extract(epoch from '2026-07-20 13:54: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'), 47632, 'SRID=4674;POINT (-40.144049 -2.836984)', '2026-07-20 13:54:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144003 -2.837162)'), GeomFromEWKT('SRID=4674;POINT (-40.144049 -2.836984)'))) / (select extract(epoch from '2026-07-20 13:54:27'::timestamp) - extract(epoch from '2026-07-20 13:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144003 -2.837162)'), GeomFromEWKT('SRID=4674;POINT (-40.144049 -2.836984)'))) / (select extract(epoch from '2026-07-20 13:54:27'::timestamp) - extract(epoch from '2026-07-20 13:54: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'), 47632, 'SRID=4674;POINT (-40.144129 -2.836769)', '2026-07-20 13:54:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144049 -2.836984)'), GeomFromEWKT('SRID=4674;POINT (-40.144129 -2.836769)'))) / (select extract(epoch from '2026-07-20 13:54:37'::timestamp) - extract(epoch from '2026-07-20 13:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144049 -2.836984)'), GeomFromEWKT('SRID=4674;POINT (-40.144129 -2.836769)'))) / (select extract(epoch from '2026-07-20 13:54:37'::timestamp) - extract(epoch from '2026-07-20 13:54: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'), 47632, 'SRID=4674;POINT (-40.144166 -2.836553)', '2026-07-20 13:54:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144129 -2.836769)'), GeomFromEWKT('SRID=4674;POINT (-40.144166 -2.836553)'))) / (select extract(epoch from '2026-07-20 13:54:47'::timestamp) - extract(epoch from '2026-07-20 13:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144129 -2.836769)'), GeomFromEWKT('SRID=4674;POINT (-40.144166 -2.836553)'))) / (select extract(epoch from '2026-07-20 13:54:47'::timestamp) - extract(epoch from '2026-07-20 13:54: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'), 47632, 'SRID=4674;POINT (-40.144223 -2.836393)', '2026-07-20 13:54:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144166 -2.836553)'), GeomFromEWKT('SRID=4674;POINT (-40.144223 -2.836393)'))) / (select extract(epoch from '2026-07-20 13:54:55'::timestamp) - extract(epoch from '2026-07-20 13:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144166 -2.836553)'), GeomFromEWKT('SRID=4674;POINT (-40.144223 -2.836393)'))) / (select extract(epoch from '2026-07-20 13:54:55'::timestamp) - extract(epoch from '2026-07-20 13:54: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'), 47632, 'SRID=4674;POINT (-40.14427 -2.836201)', '2026-07-20 13:55:05', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144223 -2.836393)'), GeomFromEWKT('SRID=4674;POINT (-40.14427 -2.836201)'))) / (select extract(epoch from '2026-07-20 13:55:05'::timestamp) - extract(epoch from '2026-07-20 13:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144223 -2.836393)'), GeomFromEWKT('SRID=4674;POINT (-40.14427 -2.836201)'))) / (select extract(epoch from '2026-07-20 13:55:05'::timestamp) - extract(epoch from '2026-07-20 13:54: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'), 47632, 'SRID=4674;POINT (-40.144328 -2.836007)', '2026-07-20 13:55:14', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14427 -2.836201)'), GeomFromEWKT('SRID=4674;POINT (-40.144328 -2.836007)'))) / (select extract(epoch from '2026-07-20 13:55:14'::timestamp) - extract(epoch from '2026-07-20 13:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14427 -2.836201)'), GeomFromEWKT('SRID=4674;POINT (-40.144328 -2.836007)'))) / (select extract(epoch from '2026-07-20 13:55:14'::timestamp) - extract(epoch from '2026-07-20 13:55: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'), 47632, 'SRID=4674;POINT (-40.144386 -2.835875)', '2026-07-20 13:55:21', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144328 -2.836007)'), GeomFromEWKT('SRID=4674;POINT (-40.144386 -2.835875)'))) / (select extract(epoch from '2026-07-20 13:55:21'::timestamp) - extract(epoch from '2026-07-20 13:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144328 -2.836007)'), GeomFromEWKT('SRID=4674;POINT (-40.144386 -2.835875)'))) / (select extract(epoch from '2026-07-20 13:55:21'::timestamp) - extract(epoch from '2026-07-20 13:55: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'), 47632, 'SRID=4674;POINT (-40.144465 -2.835676)', '2026-07-20 13:55:31', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144386 -2.835875)'), GeomFromEWKT('SRID=4674;POINT (-40.144465 -2.835676)'))) / (select extract(epoch from '2026-07-20 13:55:31'::timestamp) - extract(epoch from '2026-07-20 13:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144386 -2.835875)'), GeomFromEWKT('SRID=4674;POINT (-40.144465 -2.835676)'))) / (select extract(epoch from '2026-07-20 13:55:31'::timestamp) - extract(epoch from '2026-07-20 13:55: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'), 47632, 'SRID=4674;POINT (-40.14456 -2.835429)', '2026-07-20 13:55:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144465 -2.835676)'), GeomFromEWKT('SRID=4674;POINT (-40.14456 -2.835429)'))) / (select extract(epoch from '2026-07-20 13:55:42'::timestamp) - extract(epoch from '2026-07-20 13:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144465 -2.835676)'), GeomFromEWKT('SRID=4674;POINT (-40.14456 -2.835429)'))) / (select extract(epoch from '2026-07-20 13:55:42'::timestamp) - extract(epoch from '2026-07-20 13:55: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'), 47632, 'SRID=4674;POINT (-40.144633 -2.835218)', '2026-07-20 13:55:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14456 -2.835429)'), GeomFromEWKT('SRID=4674;POINT (-40.144633 -2.835218)'))) / (select extract(epoch from '2026-07-20 13:55:52'::timestamp) - extract(epoch from '2026-07-20 13:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14456 -2.835429)'), GeomFromEWKT('SRID=4674;POINT (-40.144633 -2.835218)'))) / (select extract(epoch from '2026-07-20 13:55:52'::timestamp) - extract(epoch from '2026-07-20 13:55: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'), 47632, 'SRID=4674;POINT (-40.144652 -2.835054)', '2026-07-20 13:56:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144633 -2.835218)'), GeomFromEWKT('SRID=4674;POINT (-40.144652 -2.835054)'))) / (select extract(epoch from '2026-07-20 13:56:00'::timestamp) - extract(epoch from '2026-07-20 13:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144633 -2.835218)'), GeomFromEWKT('SRID=4674;POINT (-40.144652 -2.835054)'))) / (select extract(epoch from '2026-07-20 13:56:00'::timestamp) - extract(epoch from '2026-07-20 13:55:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.144698 -2.834876)', '2026-07-20 13:56:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144652 -2.835054)'), GeomFromEWKT('SRID=4674;POINT (-40.144698 -2.834876)'))) / (select extract(epoch from '2026-07-20 13:56:08'::timestamp) - extract(epoch from '2026-07-20 13:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144652 -2.835054)'), GeomFromEWKT('SRID=4674;POINT (-40.144698 -2.834876)'))) / (select extract(epoch from '2026-07-20 13:56:08'::timestamp) - extract(epoch from '2026-07-20 13:56: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'), 47632, 'SRID=4674;POINT (-40.144736 -2.834704)', '2026-07-20 13:56:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144698 -2.834876)'), GeomFromEWKT('SRID=4674;POINT (-40.144736 -2.834704)'))) / (select extract(epoch from '2026-07-20 13:56:16'::timestamp) - extract(epoch from '2026-07-20 13:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144698 -2.834876)'), GeomFromEWKT('SRID=4674;POINT (-40.144736 -2.834704)'))) / (select extract(epoch from '2026-07-20 13:56:16'::timestamp) - extract(epoch from '2026-07-20 13:56: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'), 47632, 'SRID=4674;POINT (-40.144761 -2.834526)', '2026-07-20 13:56:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144736 -2.834704)'), GeomFromEWKT('SRID=4674;POINT (-40.144761 -2.834526)'))) / (select extract(epoch from '2026-07-20 13:56:24'::timestamp) - extract(epoch from '2026-07-20 13:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144736 -2.834704)'), GeomFromEWKT('SRID=4674;POINT (-40.144761 -2.834526)'))) / (select extract(epoch from '2026-07-20 13:56:24'::timestamp) - extract(epoch from '2026-07-20 13:56: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'), 47632, 'SRID=4674;POINT (-40.144852 -2.834306)', '2026-07-20 13:56:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144761 -2.834526)'), GeomFromEWKT('SRID=4674;POINT (-40.144852 -2.834306)'))) / (select extract(epoch from '2026-07-20 13:56:34'::timestamp) - extract(epoch from '2026-07-20 13:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144761 -2.834526)'), GeomFromEWKT('SRID=4674;POINT (-40.144852 -2.834306)'))) / (select extract(epoch from '2026-07-20 13:56:34'::timestamp) - extract(epoch from '2026-07-20 13:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.144923 -2.834135)', '2026-07-20 13:56:42', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144852 -2.834306)'), GeomFromEWKT('SRID=4674;POINT (-40.144923 -2.834135)'))) / (select extract(epoch from '2026-07-20 13:56:42'::timestamp) - extract(epoch from '2026-07-20 13:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144852 -2.834306)'), GeomFromEWKT('SRID=4674;POINT (-40.144923 -2.834135)'))) / (select extract(epoch from '2026-07-20 13:56:42'::timestamp) - extract(epoch from '2026-07-20 13:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.145012 -2.833976)', '2026-07-20 13:56:50', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144923 -2.834135)'), GeomFromEWKT('SRID=4674;POINT (-40.145012 -2.833976)'))) / (select extract(epoch from '2026-07-20 13:56:50'::timestamp) - extract(epoch from '2026-07-20 13:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144923 -2.834135)'), GeomFromEWKT('SRID=4674;POINT (-40.145012 -2.833976)'))) / (select extract(epoch from '2026-07-20 13:56:50'::timestamp) - extract(epoch from '2026-07-20 13:56: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'), 47632, 'SRID=4674;POINT (-40.145099 -2.833814)', '2026-07-20 13:56:58', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145012 -2.833976)'), GeomFromEWKT('SRID=4674;POINT (-40.145099 -2.833814)'))) / (select extract(epoch from '2026-07-20 13:56:58'::timestamp) - extract(epoch from '2026-07-20 13:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145012 -2.833976)'), GeomFromEWKT('SRID=4674;POINT (-40.145099 -2.833814)'))) / (select extract(epoch from '2026-07-20 13:56:58'::timestamp) - extract(epoch from '2026-07-20 13:56:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.145182 -2.833607)', '2026-07-20 13:57:08', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145099 -2.833814)'), GeomFromEWKT('SRID=4674;POINT (-40.145182 -2.833607)'))) / (select extract(epoch from '2026-07-20 13:57:08'::timestamp) - extract(epoch from '2026-07-20 13:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145099 -2.833814)'), GeomFromEWKT('SRID=4674;POINT (-40.145182 -2.833607)'))) / (select extract(epoch from '2026-07-20 13:57:08'::timestamp) - extract(epoch from '2026-07-20 13:56: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'), 47632, 'SRID=4674;POINT (-40.145259 -2.833443)', '2026-07-20 13:57:16', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145182 -2.833607)'), GeomFromEWKT('SRID=4674;POINT (-40.145259 -2.833443)'))) / (select extract(epoch from '2026-07-20 13:57:16'::timestamp) - extract(epoch from '2026-07-20 13:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145182 -2.833607)'), GeomFromEWKT('SRID=4674;POINT (-40.145259 -2.833443)'))) / (select extract(epoch from '2026-07-20 13:57:16'::timestamp) - extract(epoch from '2026-07-20 13:57:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.145337 -2.833285)', '2026-07-20 13:57:24', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145259 -2.833443)'), GeomFromEWKT('SRID=4674;POINT (-40.145337 -2.833285)'))) / (select extract(epoch from '2026-07-20 13:57:24'::timestamp) - extract(epoch from '2026-07-20 13:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145259 -2.833443)'), GeomFromEWKT('SRID=4674;POINT (-40.145337 -2.833285)'))) / (select extract(epoch from '2026-07-20 13:57:24'::timestamp) - extract(epoch from '2026-07-20 13:57: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'), 47632, 'SRID=4674;POINT (-40.145405 -2.833109)', '2026-07-20 13:57:32', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145337 -2.833285)'), GeomFromEWKT('SRID=4674;POINT (-40.145405 -2.833109)'))) / (select extract(epoch from '2026-07-20 13:57:32'::timestamp) - extract(epoch from '2026-07-20 13:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145337 -2.833285)'), GeomFromEWKT('SRID=4674;POINT (-40.145405 -2.833109)'))) / (select extract(epoch from '2026-07-20 13:57:32'::timestamp) - extract(epoch from '2026-07-20 13:57: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'), 47632, 'SRID=4674;POINT (-40.145498 -2.832926)', '2026-07-20 13:57:41', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145405 -2.833109)'), GeomFromEWKT('SRID=4674;POINT (-40.145498 -2.832926)'))) / (select extract(epoch from '2026-07-20 13:57:41'::timestamp) - extract(epoch from '2026-07-20 13:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145405 -2.833109)'), GeomFromEWKT('SRID=4674;POINT (-40.145498 -2.832926)'))) / (select extract(epoch from '2026-07-20 13:57:41'::timestamp) - extract(epoch from '2026-07-20 13:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.14561 -2.832729)', '2026-07-20 13:57:51', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145498 -2.832926)'), GeomFromEWKT('SRID=4674;POINT (-40.14561 -2.832729)'))) / (select extract(epoch from '2026-07-20 13:57:51'::timestamp) - extract(epoch from '2026-07-20 13:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145498 -2.832926)'), GeomFromEWKT('SRID=4674;POINT (-40.14561 -2.832729)'))) / (select extract(epoch from '2026-07-20 13:57:51'::timestamp) - extract(epoch from '2026-07-20 13:57: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'), 47632, 'SRID=4674;POINT (-40.145705 -2.832523)', '2026-07-20 13:58:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14561 -2.832729)'), GeomFromEWKT('SRID=4674;POINT (-40.145705 -2.832523)'))) / (select extract(epoch from '2026-07-20 13:58:01'::timestamp) - extract(epoch from '2026-07-20 13:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14561 -2.832729)'), GeomFromEWKT('SRID=4674;POINT (-40.145705 -2.832523)'))) / (select extract(epoch from '2026-07-20 13:58:01'::timestamp) - extract(epoch from '2026-07-20 13:57: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'), 47632, 'SRID=4674;POINT (-40.145766 -2.832372)', '2026-07-20 13:58:08', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145705 -2.832523)'), GeomFromEWKT('SRID=4674;POINT (-40.145766 -2.832372)'))) / (select extract(epoch from '2026-07-20 13:58:08'::timestamp) - extract(epoch from '2026-07-20 13:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145705 -2.832523)'), GeomFromEWKT('SRID=4674;POINT (-40.145766 -2.832372)'))) / (select extract(epoch from '2026-07-20 13:58:08'::timestamp) - extract(epoch from '2026-07-20 13:58: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'), 47632, 'SRID=4674;POINT (-40.145817 -2.832181)', '2026-07-20 13:58:17', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145766 -2.832372)'), GeomFromEWKT('SRID=4674;POINT (-40.145817 -2.832181)'))) / (select extract(epoch from '2026-07-20 13:58:17'::timestamp) - extract(epoch from '2026-07-20 13:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145766 -2.832372)'), GeomFromEWKT('SRID=4674;POINT (-40.145817 -2.832181)'))) / (select extract(epoch from '2026-07-20 13:58:17'::timestamp) - extract(epoch from '2026-07-20 13:58: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'), 47632, 'SRID=4674;POINT (-40.145819 -2.832029)', '2026-07-20 13:58:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145817 -2.832181)'), GeomFromEWKT('SRID=4674;POINT (-40.145819 -2.832029)'))) / (select extract(epoch from '2026-07-20 13:58:24'::timestamp) - extract(epoch from '2026-07-20 13:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145817 -2.832181)'), GeomFromEWKT('SRID=4674;POINT (-40.145819 -2.832029)'))) / (select extract(epoch from '2026-07-20 13:58:24'::timestamp) - extract(epoch from '2026-07-20 13:58: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'), 47632, 'SRID=4674;POINT (-40.14583 -2.831852)', '2026-07-20 13:58:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145819 -2.832029)'), GeomFromEWKT('SRID=4674;POINT (-40.14583 -2.831852)'))) / (select extract(epoch from '2026-07-20 13:58:32'::timestamp) - extract(epoch from '2026-07-20 13:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145819 -2.832029)'), GeomFromEWKT('SRID=4674;POINT (-40.14583 -2.831852)'))) / (select extract(epoch from '2026-07-20 13:58:32'::timestamp) - extract(epoch from '2026-07-20 13:58:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.145874 -2.831654)', '2026-07-20 13:58:41', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14583 -2.831852)'), GeomFromEWKT('SRID=4674;POINT (-40.145874 -2.831654)'))) / (select extract(epoch from '2026-07-20 13:58:41'::timestamp) - extract(epoch from '2026-07-20 13:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14583 -2.831852)'), GeomFromEWKT('SRID=4674;POINT (-40.145874 -2.831654)'))) / (select extract(epoch from '2026-07-20 13:58:41'::timestamp) - extract(epoch from '2026-07-20 13:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.145951 -2.831457)', '2026-07-20 13:58:50', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145874 -2.831654)'), GeomFromEWKT('SRID=4674;POINT (-40.145951 -2.831457)'))) / (select extract(epoch from '2026-07-20 13:58:50'::timestamp) - extract(epoch from '2026-07-20 13:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145874 -2.831654)'), GeomFromEWKT('SRID=4674;POINT (-40.145951 -2.831457)'))) / (select extract(epoch from '2026-07-20 13:58:50'::timestamp) - extract(epoch from '2026-07-20 13:58: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'), 47632, 'SRID=4674;POINT (-40.146029 -2.831314)', '2026-07-20 13:58:57', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145951 -2.831457)'), GeomFromEWKT('SRID=4674;POINT (-40.146029 -2.831314)'))) / (select extract(epoch from '2026-07-20 13:58:57'::timestamp) - extract(epoch from '2026-07-20 13:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145951 -2.831457)'), GeomFromEWKT('SRID=4674;POINT (-40.146029 -2.831314)'))) / (select extract(epoch from '2026-07-20 13:58:57'::timestamp) - extract(epoch from '2026-07-20 13:58: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'), 47632, 'SRID=4674;POINT (-40.146099 -2.831168)', '2026-07-20 13:59:04', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146029 -2.831314)'), GeomFromEWKT('SRID=4674;POINT (-40.146099 -2.831168)'))) / (select extract(epoch from '2026-07-20 13:59:04'::timestamp) - extract(epoch from '2026-07-20 13:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146029 -2.831314)'), GeomFromEWKT('SRID=4674;POINT (-40.146099 -2.831168)'))) / (select extract(epoch from '2026-07-20 13:59:04'::timestamp) - extract(epoch from '2026-07-20 13:58: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'), 47632, 'SRID=4674;POINT (-40.14618 -2.831033)', '2026-07-20 13:59:11', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146099 -2.831168)'), GeomFromEWKT('SRID=4674;POINT (-40.14618 -2.831033)'))) / (select extract(epoch from '2026-07-20 13:59:11'::timestamp) - extract(epoch from '2026-07-20 13:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146099 -2.831168)'), GeomFromEWKT('SRID=4674;POINT (-40.14618 -2.831033)'))) / (select extract(epoch from '2026-07-20 13:59:11'::timestamp) - extract(epoch from '2026-07-20 13:59: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'), 47632, 'SRID=4674;POINT (-40.146283 -2.830856)', '2026-07-20 13:59:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14618 -2.831033)'), GeomFromEWKT('SRID=4674;POINT (-40.146283 -2.830856)'))) / (select extract(epoch from '2026-07-20 13:59:20'::timestamp) - extract(epoch from '2026-07-20 13:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14618 -2.831033)'), GeomFromEWKT('SRID=4674;POINT (-40.146283 -2.830856)'))) / (select extract(epoch from '2026-07-20 13:59:20'::timestamp) - extract(epoch from '2026-07-20 13:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.146411 -2.830638)', '2026-07-20 13:59:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146283 -2.830856)'), GeomFromEWKT('SRID=4674;POINT (-40.146411 -2.830638)'))) / (select extract(epoch from '2026-07-20 13:59:30'::timestamp) - extract(epoch from '2026-07-20 13:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146283 -2.830856)'), GeomFromEWKT('SRID=4674;POINT (-40.146411 -2.830638)'))) / (select extract(epoch from '2026-07-20 13:59:30'::timestamp) - extract(epoch from '2026-07-20 13:59: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'), 47632, 'SRID=4674;POINT (-40.146514 -2.830489)', '2026-07-20 13:59:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146411 -2.830638)'), GeomFromEWKT('SRID=4674;POINT (-40.146514 -2.830489)'))) / (select extract(epoch from '2026-07-20 13:59:37'::timestamp) - extract(epoch from '2026-07-20 13:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146411 -2.830638)'), GeomFromEWKT('SRID=4674;POINT (-40.146514 -2.830489)'))) / (select extract(epoch from '2026-07-20 13:59:37'::timestamp) - extract(epoch from '2026-07-20 13:59: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'), 47632, 'SRID=4674;POINT (-40.146639 -2.830297)', '2026-07-20 13:59:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146514 -2.830489)'), GeomFromEWKT('SRID=4674;POINT (-40.146639 -2.830297)'))) / (select extract(epoch from '2026-07-20 13:59:46'::timestamp) - extract(epoch from '2026-07-20 13:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146514 -2.830489)'), GeomFromEWKT('SRID=4674;POINT (-40.146639 -2.830297)'))) / (select extract(epoch from '2026-07-20 13:59:46'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47632, 'SRID=4674;POINT (-40.146746 -2.830146)', '2026-07-20 13:59:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146639 -2.830297)'), GeomFromEWKT('SRID=4674;POINT (-40.146746 -2.830146)'))) / (select extract(epoch from '2026-07-20 13:59:54'::timestamp) - extract(epoch from '2026-07-20 13:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146639 -2.830297)'), GeomFromEWKT('SRID=4674;POINT (-40.146746 -2.830146)'))) / (select extract(epoch from '2026-07-20 13:59:54'::timestamp) - extract(epoch from '2026-07-20 13:59: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'), 47632, 'SRID=4674;POINT (-40.146877 -2.829993)', '2026-07-20 14:00:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146746 -2.830146)'), GeomFromEWKT('SRID=4674;POINT (-40.146877 -2.829993)'))) / (select extract(epoch from '2026-07-20 14:00:02'::timestamp) - extract(epoch from '2026-07-20 13:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146746 -2.830146)'), GeomFromEWKT('SRID=4674;POINT (-40.146877 -2.829993)'))) / (select extract(epoch from '2026-07-20 14:00:02'::timestamp) - extract(epoch from '2026-07-20 13:59: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'), 47632, 'SRID=4674;POINT (-40.147037 -2.829826)', '2026-07-20 14:00:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146877 -2.829993)'), GeomFromEWKT('SRID=4674;POINT (-40.147037 -2.829826)'))) / (select extract(epoch from '2026-07-20 14:00:11'::timestamp) - extract(epoch from '2026-07-20 14:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146877 -2.829993)'), GeomFromEWKT('SRID=4674;POINT (-40.147037 -2.829826)'))) / (select extract(epoch from '2026-07-20 14:00:11'::timestamp) - extract(epoch from '2026-07-20 14:00:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.147205 -2.829644)', '2026-07-20 14:00:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147037 -2.829826)'), GeomFromEWKT('SRID=4674;POINT (-40.147205 -2.829644)'))) / (select extract(epoch from '2026-07-20 14:00:21'::timestamp) - extract(epoch from '2026-07-20 14:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147037 -2.829826)'), GeomFromEWKT('SRID=4674;POINT (-40.147205 -2.829644)'))) / (select extract(epoch from '2026-07-20 14:00:21'::timestamp) - extract(epoch from '2026-07-20 14:00: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'), 47632, 'SRID=4674;POINT (-40.14739 -2.829463)', '2026-07-20 14:00:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147205 -2.829644)'), GeomFromEWKT('SRID=4674;POINT (-40.14739 -2.829463)'))) / (select extract(epoch from '2026-07-20 14:00:31'::timestamp) - extract(epoch from '2026-07-20 14:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147205 -2.829644)'), GeomFromEWKT('SRID=4674;POINT (-40.14739 -2.829463)'))) / (select extract(epoch from '2026-07-20 14:00:31'::timestamp) - extract(epoch from '2026-07-20 14:00: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'), 47632, 'SRID=4674;POINT (-40.147585 -2.829324)', '2026-07-20 14:00:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14739 -2.829463)'), GeomFromEWKT('SRID=4674;POINT (-40.147585 -2.829324)'))) / (select extract(epoch from '2026-07-20 14:00:40'::timestamp) - extract(epoch from '2026-07-20 14:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14739 -2.829463)'), GeomFromEWKT('SRID=4674;POINT (-40.147585 -2.829324)'))) / (select extract(epoch from '2026-07-20 14:00:40'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.147772 -2.82921)', '2026-07-20 14:00:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147585 -2.829324)'), GeomFromEWKT('SRID=4674;POINT (-40.147772 -2.82921)'))) / (select extract(epoch from '2026-07-20 14:00:48'::timestamp) - extract(epoch from '2026-07-20 14:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147585 -2.829324)'), GeomFromEWKT('SRID=4674;POINT (-40.147772 -2.82921)'))) / (select extract(epoch from '2026-07-20 14:00:48'::timestamp) - extract(epoch from '2026-07-20 14:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.147989 -2.829077)', '2026-07-20 14:00:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147772 -2.82921)'), GeomFromEWKT('SRID=4674;POINT (-40.147989 -2.829077)'))) / (select extract(epoch from '2026-07-20 14:00:58'::timestamp) - extract(epoch from '2026-07-20 14:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147772 -2.82921)'), GeomFromEWKT('SRID=4674;POINT (-40.147989 -2.829077)'))) / (select extract(epoch from '2026-07-20 14:00:58'::timestamp) - extract(epoch from '2026-07-20 14:00: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'), 47632, 'SRID=4674;POINT (-40.148201 -2.828941)', '2026-07-20 14:01:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147989 -2.829077)'), GeomFromEWKT('SRID=4674;POINT (-40.148201 -2.828941)'))) / (select extract(epoch from '2026-07-20 14:01:08'::timestamp) - extract(epoch from '2026-07-20 14:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147989 -2.829077)'), GeomFromEWKT('SRID=4674;POINT (-40.148201 -2.828941)'))) / (select extract(epoch from '2026-07-20 14:01:08'::timestamp) - extract(epoch from '2026-07-20 14:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.14839 -2.828817)', '2026-07-20 14:01:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148201 -2.828941)'), GeomFromEWKT('SRID=4674;POINT (-40.14839 -2.828817)'))) / (select extract(epoch from '2026-07-20 14:01:17'::timestamp) - extract(epoch from '2026-07-20 14:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148201 -2.828941)'), GeomFromEWKT('SRID=4674;POINT (-40.14839 -2.828817)'))) / (select extract(epoch from '2026-07-20 14:01:17'::timestamp) - extract(epoch from '2026-07-20 14:01: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'), 47632, 'SRID=4674;POINT (-40.148583 -2.828685)', '2026-07-20 14:01:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14839 -2.828817)'), GeomFromEWKT('SRID=4674;POINT (-40.148583 -2.828685)'))) / (select extract(epoch from '2026-07-20 14:01:26'::timestamp) - extract(epoch from '2026-07-20 14:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14839 -2.828817)'), GeomFromEWKT('SRID=4674;POINT (-40.148583 -2.828685)'))) / (select extract(epoch from '2026-07-20 14:01:26'::timestamp) - extract(epoch from '2026-07-20 14:01:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.148811 -2.828539)', '2026-07-20 14:01:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148583 -2.828685)'), GeomFromEWKT('SRID=4674;POINT (-40.148811 -2.828539)'))) / (select extract(epoch from '2026-07-20 14:01:36'::timestamp) - extract(epoch from '2026-07-20 14:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148583 -2.828685)'), GeomFromEWKT('SRID=4674;POINT (-40.148811 -2.828539)'))) / (select extract(epoch from '2026-07-20 14:01:36'::timestamp) - extract(epoch from '2026-07-20 14:01: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'), 47632, 'SRID=4674;POINT (-40.149001 -2.82842)', '2026-07-20 14:01:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148811 -2.828539)'), GeomFromEWKT('SRID=4674;POINT (-40.149001 -2.82842)'))) / (select extract(epoch from '2026-07-20 14:01:45'::timestamp) - extract(epoch from '2026-07-20 14:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148811 -2.828539)'), GeomFromEWKT('SRID=4674;POINT (-40.149001 -2.82842)'))) / (select extract(epoch from '2026-07-20 14:01:45'::timestamp) - extract(epoch from '2026-07-20 14:01: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'), 47632, 'SRID=4674;POINT (-40.149192 -2.82829)', '2026-07-20 14:01:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149001 -2.82842)'), GeomFromEWKT('SRID=4674;POINT (-40.149192 -2.82829)'))) / (select extract(epoch from '2026-07-20 14:01:54'::timestamp) - extract(epoch from '2026-07-20 14:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149001 -2.82842)'), GeomFromEWKT('SRID=4674;POINT (-40.149192 -2.82829)'))) / (select extract(epoch from '2026-07-20 14:01:54'::timestamp) - extract(epoch from '2026-07-20 14:01:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.149382 -2.828173)', '2026-07-20 14:02:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149192 -2.82829)'), GeomFromEWKT('SRID=4674;POINT (-40.149382 -2.828173)'))) / (select extract(epoch from '2026-07-20 14:02:03'::timestamp) - extract(epoch from '2026-07-20 14:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149192 -2.82829)'), GeomFromEWKT('SRID=4674;POINT (-40.149382 -2.828173)'))) / (select extract(epoch from '2026-07-20 14:02:03'::timestamp) - extract(epoch from '2026-07-20 14:01:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.149523 -2.828082)', '2026-07-20 14:02:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149382 -2.828173)'), GeomFromEWKT('SRID=4674;POINT (-40.149523 -2.828082)'))) / (select extract(epoch from '2026-07-20 14:02:10'::timestamp) - extract(epoch from '2026-07-20 14:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149382 -2.828173)'), GeomFromEWKT('SRID=4674;POINT (-40.149523 -2.828082)'))) / (select extract(epoch from '2026-07-20 14:02:10'::timestamp) - extract(epoch from '2026-07-20 14:02:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.149746 -2.82796)', '2026-07-20 14:02:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149523 -2.828082)'), GeomFromEWKT('SRID=4674;POINT (-40.149746 -2.82796)'))) / (select extract(epoch from '2026-07-20 14:02:21'::timestamp) - extract(epoch from '2026-07-20 14:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149523 -2.828082)'), GeomFromEWKT('SRID=4674;POINT (-40.149746 -2.82796)'))) / (select extract(epoch from '2026-07-20 14:02:21'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.149954 -2.827832)', '2026-07-20 14:02:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149746 -2.82796)'), GeomFromEWKT('SRID=4674;POINT (-40.149954 -2.827832)'))) / (select extract(epoch from '2026-07-20 14:02:31'::timestamp) - extract(epoch from '2026-07-20 14:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149746 -2.82796)'), GeomFromEWKT('SRID=4674;POINT (-40.149954 -2.827832)'))) / (select extract(epoch from '2026-07-20 14:02:31'::timestamp) - extract(epoch from '2026-07-20 14:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.150105 -2.827721)', '2026-07-20 14:02:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149954 -2.827832)'), GeomFromEWKT('SRID=4674;POINT (-40.150105 -2.827721)'))) / (select extract(epoch from '2026-07-20 14:02:38'::timestamp) - extract(epoch from '2026-07-20 14:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149954 -2.827832)'), GeomFromEWKT('SRID=4674;POINT (-40.150105 -2.827721)'))) / (select extract(epoch from '2026-07-20 14:02:38'::timestamp) - extract(epoch from '2026-07-20 14:02:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.150292 -2.827579)', '2026-07-20 14:02:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150105 -2.827721)'), GeomFromEWKT('SRID=4674;POINT (-40.150292 -2.827579)'))) / (select extract(epoch from '2026-07-20 14:02:47'::timestamp) - extract(epoch from '2026-07-20 14:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150105 -2.827721)'), GeomFromEWKT('SRID=4674;POINT (-40.150292 -2.827579)'))) / (select extract(epoch from '2026-07-20 14:02:47'::timestamp) - extract(epoch from '2026-07-20 14:02: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'), 47632, 'SRID=4674;POINT (-40.150482 -2.827424)', '2026-07-20 14:02:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150292 -2.827579)'), GeomFromEWKT('SRID=4674;POINT (-40.150482 -2.827424)'))) / (select extract(epoch from '2026-07-20 14:02:56'::timestamp) - extract(epoch from '2026-07-20 14:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150292 -2.827579)'), GeomFromEWKT('SRID=4674;POINT (-40.150482 -2.827424)'))) / (select extract(epoch from '2026-07-20 14:02:56'::timestamp) - extract(epoch from '2026-07-20 14:02:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.15065 -2.827273)', '2026-07-20 14:03:05', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150482 -2.827424)'), GeomFromEWKT('SRID=4674;POINT (-40.15065 -2.827273)'))) / (select extract(epoch from '2026-07-20 14:03:05'::timestamp) - extract(epoch from '2026-07-20 14:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150482 -2.827424)'), GeomFromEWKT('SRID=4674;POINT (-40.15065 -2.827273)'))) / (select extract(epoch from '2026-07-20 14:03:05'::timestamp) - extract(epoch from '2026-07-20 14:02: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'), 47632, 'SRID=4674;POINT (-40.150817 -2.827106)', '2026-07-20 14:03:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15065 -2.827273)'), GeomFromEWKT('SRID=4674;POINT (-40.150817 -2.827106)'))) / (select extract(epoch from '2026-07-20 14:03:14'::timestamp) - extract(epoch from '2026-07-20 14:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15065 -2.827273)'), GeomFromEWKT('SRID=4674;POINT (-40.150817 -2.827106)'))) / (select extract(epoch from '2026-07-20 14:03:14'::timestamp) - extract(epoch from '2026-07-20 14:03: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'), 47632, 'SRID=4674;POINT (-40.150942 -2.826938)', '2026-07-20 14:03:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150817 -2.827106)'), GeomFromEWKT('SRID=4674;POINT (-40.150942 -2.826938)'))) / (select extract(epoch from '2026-07-20 14:03:23'::timestamp) - extract(epoch from '2026-07-20 14:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150817 -2.827106)'), GeomFromEWKT('SRID=4674;POINT (-40.150942 -2.826938)'))) / (select extract(epoch from '2026-07-20 14:03:23'::timestamp) - extract(epoch from '2026-07-20 14:03: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'), 47632, 'SRID=4674;POINT (-40.151064 -2.826823)', '2026-07-20 14:03:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150942 -2.826938)'), GeomFromEWKT('SRID=4674;POINT (-40.151064 -2.826823)'))) / (select extract(epoch from '2026-07-20 14:03:30'::timestamp) - extract(epoch from '2026-07-20 14:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150942 -2.826938)'), GeomFromEWKT('SRID=4674;POINT (-40.151064 -2.826823)'))) / (select extract(epoch from '2026-07-20 14:03:30'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.151219 -2.826669)', '2026-07-20 14:03:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151064 -2.826823)'), GeomFromEWKT('SRID=4674;POINT (-40.151219 -2.826669)'))) / (select extract(epoch from '2026-07-20 14:03:39'::timestamp) - extract(epoch from '2026-07-20 14:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151064 -2.826823)'), GeomFromEWKT('SRID=4674;POINT (-40.151219 -2.826669)'))) / (select extract(epoch from '2026-07-20 14:03:39'::timestamp) - extract(epoch from '2026-07-20 14:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.151396 -2.826443)', '2026-07-20 14:03:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151219 -2.826669)'), GeomFromEWKT('SRID=4674;POINT (-40.151396 -2.826443)'))) / (select extract(epoch from '2026-07-20 14:03:50'::timestamp) - extract(epoch from '2026-07-20 14:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151219 -2.826669)'), GeomFromEWKT('SRID=4674;POINT (-40.151396 -2.826443)'))) / (select extract(epoch from '2026-07-20 14:03:50'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.151544 -2.826253)', '2026-07-20 14:04:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151396 -2.826443)'), GeomFromEWKT('SRID=4674;POINT (-40.151544 -2.826253)'))) / (select extract(epoch from '2026-07-20 14:04:00'::timestamp) - extract(epoch from '2026-07-20 14:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151396 -2.826443)'), GeomFromEWKT('SRID=4674;POINT (-40.151544 -2.826253)'))) / (select extract(epoch from '2026-07-20 14:04:00'::timestamp) - extract(epoch from '2026-07-20 14:03: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'), 47632, 'SRID=4674;POINT (-40.151654 -2.826066)', '2026-07-20 14:04:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151544 -2.826253)'), GeomFromEWKT('SRID=4674;POINT (-40.151654 -2.826066)'))) / (select extract(epoch from '2026-07-20 14:04:09'::timestamp) - extract(epoch from '2026-07-20 14:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151544 -2.826253)'), GeomFromEWKT('SRID=4674;POINT (-40.151654 -2.826066)'))) / (select extract(epoch from '2026-07-20 14:04:09'::timestamp) - extract(epoch from '2026-07-20 14:04: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'), 47632, 'SRID=4674;POINT (-40.151711 -2.825933)', '2026-07-20 14:04:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151654 -2.826066)'), GeomFromEWKT('SRID=4674;POINT (-40.151711 -2.825933)'))) / (select extract(epoch from '2026-07-20 14:04:15'::timestamp) - extract(epoch from '2026-07-20 14:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151654 -2.826066)'), GeomFromEWKT('SRID=4674;POINT (-40.151711 -2.825933)'))) / (select extract(epoch from '2026-07-20 14:04:15'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.151787 -2.825715)', '2026-07-20 14:04:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151711 -2.825933)'), GeomFromEWKT('SRID=4674;POINT (-40.151787 -2.825715)'))) / (select extract(epoch from '2026-07-20 14:04:24'::timestamp) - extract(epoch from '2026-07-20 14:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151711 -2.825933)'), GeomFromEWKT('SRID=4674;POINT (-40.151787 -2.825715)'))) / (select extract(epoch from '2026-07-20 14:04:24'::timestamp) - extract(epoch from '2026-07-20 14:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.151893 -2.825507)', '2026-07-20 14:04:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151787 -2.825715)'), GeomFromEWKT('SRID=4674;POINT (-40.151893 -2.825507)'))) / (select extract(epoch from '2026-07-20 14:04:33'::timestamp) - extract(epoch from '2026-07-20 14:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151787 -2.825715)'), GeomFromEWKT('SRID=4674;POINT (-40.151893 -2.825507)'))) / (select extract(epoch from '2026-07-20 14:04:33'::timestamp) - extract(epoch from '2026-07-20 14:04: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'), 47632, 'SRID=4674;POINT (-40.15196 -2.825308)', '2026-07-20 14:04:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151893 -2.825507)'), GeomFromEWKT('SRID=4674;POINT (-40.15196 -2.825308)'))) / (select extract(epoch from '2026-07-20 14:04:42'::timestamp) - extract(epoch from '2026-07-20 14:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151893 -2.825507)'), GeomFromEWKT('SRID=4674;POINT (-40.15196 -2.825308)'))) / (select extract(epoch from '2026-07-20 14:04:42'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.152045 -2.825103)', '2026-07-20 14:04:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15196 -2.825308)'), GeomFromEWKT('SRID=4674;POINT (-40.152045 -2.825103)'))) / (select extract(epoch from '2026-07-20 14:04:50'::timestamp) - extract(epoch from '2026-07-20 14:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15196 -2.825308)'), GeomFromEWKT('SRID=4674;POINT (-40.152045 -2.825103)'))) / (select extract(epoch from '2026-07-20 14:04:50'::timestamp) - extract(epoch from '2026-07-20 14:04:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.15213 -2.824837)', '2026-07-20 14:05:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152045 -2.825103)'), GeomFromEWKT('SRID=4674;POINT (-40.15213 -2.824837)'))) / (select extract(epoch from '2026-07-20 14:05:01'::timestamp) - extract(epoch from '2026-07-20 14:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152045 -2.825103)'), GeomFromEWKT('SRID=4674;POINT (-40.15213 -2.824837)'))) / (select extract(epoch from '2026-07-20 14:05:01'::timestamp) - extract(epoch from '2026-07-20 14:04: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'), 47632, 'SRID=4674;POINT (-40.15218 -2.824641)', '2026-07-20 14:05:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15213 -2.824837)'), GeomFromEWKT('SRID=4674;POINT (-40.15218 -2.824641)'))) / (select extract(epoch from '2026-07-20 14:05:09'::timestamp) - extract(epoch from '2026-07-20 14:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15213 -2.824837)'), GeomFromEWKT('SRID=4674;POINT (-40.15218 -2.824641)'))) / (select extract(epoch from '2026-07-20 14:05:09'::timestamp) - extract(epoch from '2026-07-20 14:05:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.152244 -2.824418)', '2026-07-20 14:05:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15218 -2.824641)'), GeomFromEWKT('SRID=4674;POINT (-40.152244 -2.824418)'))) / (select extract(epoch from '2026-07-20 14:05:18'::timestamp) - extract(epoch from '2026-07-20 14:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15218 -2.824641)'), GeomFromEWKT('SRID=4674;POINT (-40.152244 -2.824418)'))) / (select extract(epoch from '2026-07-20 14:05:18'::timestamp) - extract(epoch from '2026-07-20 14:05: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'), 47632, 'SRID=4674;POINT (-40.152302 -2.824219)', '2026-07-20 14:05:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152244 -2.824418)'), GeomFromEWKT('SRID=4674;POINT (-40.152302 -2.824219)'))) / (select extract(epoch from '2026-07-20 14:05:26'::timestamp) - extract(epoch from '2026-07-20 14:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152244 -2.824418)'), GeomFromEWKT('SRID=4674;POINT (-40.152302 -2.824219)'))) / (select extract(epoch from '2026-07-20 14:05:26'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.152345 -2.824032)', '2026-07-20 14:05:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152302 -2.824219)'), GeomFromEWKT('SRID=4674;POINT (-40.152345 -2.824032)'))) / (select extract(epoch from '2026-07-20 14:05:34'::timestamp) - extract(epoch from '2026-07-20 14:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152302 -2.824219)'), GeomFromEWKT('SRID=4674;POINT (-40.152345 -2.824032)'))) / (select extract(epoch from '2026-07-20 14:05:34'::timestamp) - extract(epoch from '2026-07-20 14:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.15239 -2.823858)', '2026-07-20 14:05:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152345 -2.824032)'), GeomFromEWKT('SRID=4674;POINT (-40.15239 -2.823858)'))) / (select extract(epoch from '2026-07-20 14:05:41'::timestamp) - extract(epoch from '2026-07-20 14:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152345 -2.824032)'), GeomFromEWKT('SRID=4674;POINT (-40.15239 -2.823858)'))) / (select extract(epoch from '2026-07-20 14:05:41'::timestamp) - extract(epoch from '2026-07-20 14:05: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'), 47632, 'SRID=4674;POINT (-40.152449 -2.823647)', '2026-07-20 14:05:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15239 -2.823858)'), GeomFromEWKT('SRID=4674;POINT (-40.152449 -2.823647)'))) / (select extract(epoch from '2026-07-20 14:05:50'::timestamp) - extract(epoch from '2026-07-20 14:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15239 -2.823858)'), GeomFromEWKT('SRID=4674;POINT (-40.152449 -2.823647)'))) / (select extract(epoch from '2026-07-20 14:05:50'::timestamp) - extract(epoch from '2026-07-20 14:05: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'), 47632, 'SRID=4674;POINT (-40.152503 -2.823449)', '2026-07-20 14:05:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152449 -2.823647)'), GeomFromEWKT('SRID=4674;POINT (-40.152503 -2.823449)'))) / (select extract(epoch from '2026-07-20 14:05:58'::timestamp) - extract(epoch from '2026-07-20 14:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152449 -2.823647)'), GeomFromEWKT('SRID=4674;POINT (-40.152503 -2.823449)'))) / (select extract(epoch from '2026-07-20 14:05:58'::timestamp) - extract(epoch from '2026-07-20 14:05: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'), 47632, 'SRID=4674;POINT (-40.152536 -2.823255)', '2026-07-20 14:06:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152503 -2.823449)'), GeomFromEWKT('SRID=4674;POINT (-40.152536 -2.823255)'))) / (select extract(epoch from '2026-07-20 14:06:06'::timestamp) - extract(epoch from '2026-07-20 14:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152503 -2.823449)'), GeomFromEWKT('SRID=4674;POINT (-40.152536 -2.823255)'))) / (select extract(epoch from '2026-07-20 14:06:06'::timestamp) - extract(epoch from '2026-07-20 14:05: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'), 47632, 'SRID=4674;POINT (-40.152559 -2.823068)', '2026-07-20 14:06:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152536 -2.823255)'), GeomFromEWKT('SRID=4674;POINT (-40.152559 -2.823068)'))) / (select extract(epoch from '2026-07-20 14:06:14'::timestamp) - extract(epoch from '2026-07-20 14:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152536 -2.823255)'), GeomFromEWKT('SRID=4674;POINT (-40.152559 -2.823068)'))) / (select extract(epoch from '2026-07-20 14:06:14'::timestamp) - extract(epoch from '2026-07-20 14:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.152594 -2.822891)', '2026-07-20 14:06:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152559 -2.823068)'), GeomFromEWKT('SRID=4674;POINT (-40.152594 -2.822891)'))) / (select extract(epoch from '2026-07-20 14:06:22'::timestamp) - extract(epoch from '2026-07-20 14:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152559 -2.823068)'), GeomFromEWKT('SRID=4674;POINT (-40.152594 -2.822891)'))) / (select extract(epoch from '2026-07-20 14:06:22'::timestamp) - extract(epoch from '2026-07-20 14:06:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.152649 -2.822662)', '2026-07-20 14:06:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152594 -2.822891)'), GeomFromEWKT('SRID=4674;POINT (-40.152649 -2.822662)'))) / (select extract(epoch from '2026-07-20 14:06:32'::timestamp) - extract(epoch from '2026-07-20 14:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152594 -2.822891)'), GeomFromEWKT('SRID=4674;POINT (-40.152649 -2.822662)'))) / (select extract(epoch from '2026-07-20 14:06:32'::timestamp) - extract(epoch from '2026-07-20 14:06: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'), 47632, 'SRID=4674;POINT (-40.152702 -2.822429)', '2026-07-20 14:06:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152649 -2.822662)'), GeomFromEWKT('SRID=4674;POINT (-40.152702 -2.822429)'))) / (select extract(epoch from '2026-07-20 14:06:42'::timestamp) - extract(epoch from '2026-07-20 14:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152649 -2.822662)'), GeomFromEWKT('SRID=4674;POINT (-40.152702 -2.822429)'))) / (select extract(epoch from '2026-07-20 14:06:42'::timestamp) - extract(epoch from '2026-07-20 14:06: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'), 47632, 'SRID=4674;POINT (-40.152755 -2.822211)', '2026-07-20 14:06:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152702 -2.822429)'), GeomFromEWKT('SRID=4674;POINT (-40.152755 -2.822211)'))) / (select extract(epoch from '2026-07-20 14:06:51'::timestamp) - extract(epoch from '2026-07-20 14:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152702 -2.822429)'), GeomFromEWKT('SRID=4674;POINT (-40.152755 -2.822211)'))) / (select extract(epoch from '2026-07-20 14:06:51'::timestamp) - extract(epoch from '2026-07-20 14:06: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'), 47632, 'SRID=4674;POINT (-40.1528 -2.822029)', '2026-07-20 14:06:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152755 -2.822211)'), GeomFromEWKT('SRID=4674;POINT (-40.1528 -2.822029)'))) / (select extract(epoch from '2026-07-20 14:06:59'::timestamp) - extract(epoch from '2026-07-20 14:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152755 -2.822211)'), GeomFromEWKT('SRID=4674;POINT (-40.1528 -2.822029)'))) / (select extract(epoch from '2026-07-20 14:06:59'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.152836 -2.821822)', '2026-07-20 14:07:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1528 -2.822029)'), GeomFromEWKT('SRID=4674;POINT (-40.152836 -2.821822)'))) / (select extract(epoch from '2026-07-20 14:07:08'::timestamp) - extract(epoch from '2026-07-20 14:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1528 -2.822029)'), GeomFromEWKT('SRID=4674;POINT (-40.152836 -2.821822)'))) / (select extract(epoch from '2026-07-20 14:07:08'::timestamp) - extract(epoch from '2026-07-20 14:06: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'), 47632, 'SRID=4674;POINT (-40.152879 -2.821636)', '2026-07-20 14:07:16', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152836 -2.821822)'), GeomFromEWKT('SRID=4674;POINT (-40.152879 -2.821636)'))) / (select extract(epoch from '2026-07-20 14:07:16'::timestamp) - extract(epoch from '2026-07-20 14:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152836 -2.821822)'), GeomFromEWKT('SRID=4674;POINT (-40.152879 -2.821636)'))) / (select extract(epoch from '2026-07-20 14:07:16'::timestamp) - extract(epoch from '2026-07-20 14:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.152922 -2.821458)', '2026-07-20 14:07:24', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152879 -2.821636)'), GeomFromEWKT('SRID=4674;POINT (-40.152922 -2.821458)'))) / (select extract(epoch from '2026-07-20 14:07:24'::timestamp) - extract(epoch from '2026-07-20 14:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152879 -2.821636)'), GeomFromEWKT('SRID=4674;POINT (-40.152922 -2.821458)'))) / (select extract(epoch from '2026-07-20 14:07:24'::timestamp) - extract(epoch from '2026-07-20 14:07: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'), 47632, 'SRID=4674;POINT (-40.152989 -2.821256)', '2026-07-20 14:07:33', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152922 -2.821458)'), GeomFromEWKT('SRID=4674;POINT (-40.152989 -2.821256)'))) / (select extract(epoch from '2026-07-20 14:07:33'::timestamp) - extract(epoch from '2026-07-20 14:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152922 -2.821458)'), GeomFromEWKT('SRID=4674;POINT (-40.152989 -2.821256)'))) / (select extract(epoch from '2026-07-20 14:07:33'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.153039 -2.821053)', '2026-07-20 14:07:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152989 -2.821256)'), GeomFromEWKT('SRID=4674;POINT (-40.153039 -2.821053)'))) / (select extract(epoch from '2026-07-20 14:07:42'::timestamp) - extract(epoch from '2026-07-20 14:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152989 -2.821256)'), GeomFromEWKT('SRID=4674;POINT (-40.153039 -2.821053)'))) / (select extract(epoch from '2026-07-20 14:07:42'::timestamp) - extract(epoch from '2026-07-20 14:07: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'), 47632, 'SRID=4674;POINT (-40.153095 -2.82082)', '2026-07-20 14:07:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153039 -2.821053)'), GeomFromEWKT('SRID=4674;POINT (-40.153095 -2.82082)'))) / (select extract(epoch from '2026-07-20 14:07:52'::timestamp) - extract(epoch from '2026-07-20 14:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153039 -2.821053)'), GeomFromEWKT('SRID=4674;POINT (-40.153095 -2.82082)'))) / (select extract(epoch from '2026-07-20 14:07:52'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.153128 -2.820624)', '2026-07-20 14:08:01', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153095 -2.82082)'), GeomFromEWKT('SRID=4674;POINT (-40.153128 -2.820624)'))) / (select extract(epoch from '2026-07-20 14:08:01'::timestamp) - extract(epoch from '2026-07-20 14:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153095 -2.82082)'), GeomFromEWKT('SRID=4674;POINT (-40.153128 -2.820624)'))) / (select extract(epoch from '2026-07-20 14:08:01'::timestamp) - extract(epoch from '2026-07-20 14:07:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.153136 -2.820392)', '2026-07-20 14:08:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153128 -2.820624)'), GeomFromEWKT('SRID=4674;POINT (-40.153136 -2.820392)'))) / (select extract(epoch from '2026-07-20 14:08:11'::timestamp) - extract(epoch from '2026-07-20 14:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153128 -2.820624)'), GeomFromEWKT('SRID=4674;POINT (-40.153136 -2.820392)'))) / (select extract(epoch from '2026-07-20 14:08:11'::timestamp) - extract(epoch from '2026-07-20 14:08: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'), 47632, 'SRID=4674;POINT (-40.153142 -2.820188)', '2026-07-20 14:08:20', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153136 -2.820392)'), GeomFromEWKT('SRID=4674;POINT (-40.153142 -2.820188)'))) / (select extract(epoch from '2026-07-20 14:08:20'::timestamp) - extract(epoch from '2026-07-20 14:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153136 -2.820392)'), GeomFromEWKT('SRID=4674;POINT (-40.153142 -2.820188)'))) / (select extract(epoch from '2026-07-20 14:08:20'::timestamp) - extract(epoch from '2026-07-20 14:08: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'), 47632, 'SRID=4674;POINT (-40.153117 -2.819989)', '2026-07-20 14:08:29', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153142 -2.820188)'), GeomFromEWKT('SRID=4674;POINT (-40.153117 -2.819989)'))) / (select extract(epoch from '2026-07-20 14:08:29'::timestamp) - extract(epoch from '2026-07-20 14:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153142 -2.820188)'), GeomFromEWKT('SRID=4674;POINT (-40.153117 -2.819989)'))) / (select extract(epoch from '2026-07-20 14:08:29'::timestamp) - extract(epoch from '2026-07-20 14:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.153074 -2.819782)', '2026-07-20 14:08:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153117 -2.819989)'), GeomFromEWKT('SRID=4674;POINT (-40.153074 -2.819782)'))) / (select extract(epoch from '2026-07-20 14:08:39'::timestamp) - extract(epoch from '2026-07-20 14:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153117 -2.819989)'), GeomFromEWKT('SRID=4674;POINT (-40.153074 -2.819782)'))) / (select extract(epoch from '2026-07-20 14:08:39'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.152997 -2.819583)', '2026-07-20 14:08:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153074 -2.819782)'), GeomFromEWKT('SRID=4674;POINT (-40.152997 -2.819583)'))) / (select extract(epoch from '2026-07-20 14:08:49'::timestamp) - extract(epoch from '2026-07-20 14:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153074 -2.819782)'), GeomFromEWKT('SRID=4674;POINT (-40.152997 -2.819583)'))) / (select extract(epoch from '2026-07-20 14:08:49'::timestamp) - extract(epoch from '2026-07-20 14:08: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'), 47632, 'SRID=4674;POINT (-40.152911 -2.819422)', '2026-07-20 14:08:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152997 -2.819583)'), GeomFromEWKT('SRID=4674;POINT (-40.152911 -2.819422)'))) / (select extract(epoch from '2026-07-20 14:08:58'::timestamp) - extract(epoch from '2026-07-20 14:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152997 -2.819583)'), GeomFromEWKT('SRID=4674;POINT (-40.152911 -2.819422)'))) / (select extract(epoch from '2026-07-20 14:08:58'::timestamp) - extract(epoch from '2026-07-20 14:08: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'), 47632, 'SRID=4674;POINT (-40.152831 -2.819295)', '2026-07-20 14:09:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152911 -2.819422)'), GeomFromEWKT('SRID=4674;POINT (-40.152831 -2.819295)'))) / (select extract(epoch from '2026-07-20 14:09:06'::timestamp) - extract(epoch from '2026-07-20 14:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152911 -2.819422)'), GeomFromEWKT('SRID=4674;POINT (-40.152831 -2.819295)'))) / (select extract(epoch from '2026-07-20 14:09:06'::timestamp) - extract(epoch from '2026-07-20 14:08: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'), 47632, 'SRID=4674;POINT (-40.152747 -2.819105)', '2026-07-20 14:09:17', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152831 -2.819295)'), GeomFromEWKT('SRID=4674;POINT (-40.152747 -2.819105)'))) / (select extract(epoch from '2026-07-20 14:09:17'::timestamp) - extract(epoch from '2026-07-20 14:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152831 -2.819295)'), GeomFromEWKT('SRID=4674;POINT (-40.152747 -2.819105)'))) / (select extract(epoch from '2026-07-20 14:09:17'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.152662 -2.81896)', '2026-07-20 14:09:26', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152747 -2.819105)'), GeomFromEWKT('SRID=4674;POINT (-40.152662 -2.81896)'))) / (select extract(epoch from '2026-07-20 14:09:26'::timestamp) - extract(epoch from '2026-07-20 14:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152747 -2.819105)'), GeomFromEWKT('SRID=4674;POINT (-40.152662 -2.81896)'))) / (select extract(epoch from '2026-07-20 14:09:26'::timestamp) - extract(epoch from '2026-07-20 14:09: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'), 47632, 'SRID=4674;POINT (-40.152579 -2.818834)', '2026-07-20 14:09:34', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152662 -2.81896)'), GeomFromEWKT('SRID=4674;POINT (-40.152579 -2.818834)'))) / (select extract(epoch from '2026-07-20 14:09:34'::timestamp) - extract(epoch from '2026-07-20 14:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152662 -2.81896)'), GeomFromEWKT('SRID=4674;POINT (-40.152579 -2.818834)'))) / (select extract(epoch from '2026-07-20 14:09:34'::timestamp) - extract(epoch from '2026-07-20 14:09: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'), 47632, 'SRID=4674;POINT (-40.152454 -2.81867)', '2026-07-20 14:09:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152579 -2.818834)'), GeomFromEWKT('SRID=4674;POINT (-40.152454 -2.81867)'))) / (select extract(epoch from '2026-07-20 14:09:45'::timestamp) - extract(epoch from '2026-07-20 14:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152579 -2.818834)'), GeomFromEWKT('SRID=4674;POINT (-40.152454 -2.81867)'))) / (select extract(epoch from '2026-07-20 14:09:45'::timestamp) - extract(epoch from '2026-07-20 14:09:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.152332 -2.818567)', '2026-07-20 14:09:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152454 -2.81867)'), GeomFromEWKT('SRID=4674;POINT (-40.152332 -2.818567)'))) / (select extract(epoch from '2026-07-20 14:09:54'::timestamp) - extract(epoch from '2026-07-20 14:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152454 -2.81867)'), GeomFromEWKT('SRID=4674;POINT (-40.152332 -2.818567)'))) / (select extract(epoch from '2026-07-20 14:09:54'::timestamp) - extract(epoch from '2026-07-20 14:09: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'), 47632, 'SRID=4674;POINT (-40.152204 -2.818426)', '2026-07-20 14:10:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152332 -2.818567)'), GeomFromEWKT('SRID=4674;POINT (-40.152204 -2.818426)'))) / (select extract(epoch from '2026-07-20 14:10:04'::timestamp) - extract(epoch from '2026-07-20 14:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152332 -2.818567)'), GeomFromEWKT('SRID=4674;POINT (-40.152204 -2.818426)'))) / (select extract(epoch from '2026-07-20 14:10:04'::timestamp) - extract(epoch from '2026-07-20 14:09: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'), 47632, 'SRID=4674;POINT (-40.152088 -2.818301)', '2026-07-20 14:10:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152204 -2.818426)'), GeomFromEWKT('SRID=4674;POINT (-40.152088 -2.818301)'))) / (select extract(epoch from '2026-07-20 14:10:14'::timestamp) - extract(epoch from '2026-07-20 14:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152204 -2.818426)'), GeomFromEWKT('SRID=4674;POINT (-40.152088 -2.818301)'))) / (select extract(epoch from '2026-07-20 14:10:14'::timestamp) - extract(epoch from '2026-07-20 14:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.151993 -2.818225)', '2026-07-20 14:10:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152088 -2.818301)'), GeomFromEWKT('SRID=4674;POINT (-40.151993 -2.818225)'))) / (select extract(epoch from '2026-07-20 14:10:23'::timestamp) - extract(epoch from '2026-07-20 14:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152088 -2.818301)'), GeomFromEWKT('SRID=4674;POINT (-40.151993 -2.818225)'))) / (select extract(epoch from '2026-07-20 14:10:23'::timestamp) - extract(epoch from '2026-07-20 14:10: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'), 47632, 'SRID=4674;POINT (-40.151881 -2.81815)', '2026-07-20 14:10:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151993 -2.818225)'), GeomFromEWKT('SRID=4674;POINT (-40.151881 -2.81815)'))) / (select extract(epoch from '2026-07-20 14:10:31'::timestamp) - extract(epoch from '2026-07-20 14:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151993 -2.818225)'), GeomFromEWKT('SRID=4674;POINT (-40.151881 -2.81815)'))) / (select extract(epoch from '2026-07-20 14:10:31'::timestamp) - extract(epoch from '2026-07-20 14:10:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.151774 -2.818071)', '2026-07-20 14:10:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151881 -2.81815)'), GeomFromEWKT('SRID=4674;POINT (-40.151774 -2.818071)'))) / (select extract(epoch from '2026-07-20 14:10:40'::timestamp) - extract(epoch from '2026-07-20 14:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151881 -2.81815)'), GeomFromEWKT('SRID=4674;POINT (-40.151774 -2.818071)'))) / (select extract(epoch from '2026-07-20 14:10:40'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.151667 -2.817988)', '2026-07-20 14:10:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151774 -2.818071)'), GeomFromEWKT('SRID=4674;POINT (-40.151667 -2.817988)'))) / (select extract(epoch from '2026-07-20 14:10:49'::timestamp) - extract(epoch from '2026-07-20 14:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151774 -2.818071)'), GeomFromEWKT('SRID=4674;POINT (-40.151667 -2.817988)'))) / (select extract(epoch from '2026-07-20 14:10:49'::timestamp) - extract(epoch from '2026-07-20 14:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.151517 -2.817898)', '2026-07-20 14:11:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151667 -2.817988)'), GeomFromEWKT('SRID=4674;POINT (-40.151517 -2.817898)'))) / (select extract(epoch from '2026-07-20 14:11:00'::timestamp) - extract(epoch from '2026-07-20 14:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151667 -2.817988)'), GeomFromEWKT('SRID=4674;POINT (-40.151517 -2.817898)'))) / (select extract(epoch from '2026-07-20 14:11:00'::timestamp) - extract(epoch from '2026-07-20 14:10: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'), 47632, 'SRID=4674;POINT (-40.151358 -2.817797)', '2026-07-20 14:11:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151517 -2.817898)'), GeomFromEWKT('SRID=4674;POINT (-40.151358 -2.817797)'))) / (select extract(epoch from '2026-07-20 14:11:12'::timestamp) - extract(epoch from '2026-07-20 14:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151517 -2.817898)'), GeomFromEWKT('SRID=4674;POINT (-40.151358 -2.817797)'))) / (select extract(epoch from '2026-07-20 14:11:12'::timestamp) - extract(epoch from '2026-07-20 14:11: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'), 47632, 'SRID=4674;POINT (-40.151228 -2.817706)', '2026-07-20 14:11:22', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151358 -2.817797)'), GeomFromEWKT('SRID=4674;POINT (-40.151228 -2.817706)'))) / (select extract(epoch from '2026-07-20 14:11:22'::timestamp) - extract(epoch from '2026-07-20 14:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151358 -2.817797)'), GeomFromEWKT('SRID=4674;POINT (-40.151228 -2.817706)'))) / (select extract(epoch from '2026-07-20 14:11:22'::timestamp) - extract(epoch from '2026-07-20 14:11:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.151079 -2.817603)', '2026-07-20 14:11:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151228 -2.817706)'), GeomFromEWKT('SRID=4674;POINT (-40.151079 -2.817603)'))) / (select extract(epoch from '2026-07-20 14:11:32'::timestamp) - extract(epoch from '2026-07-20 14:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151228 -2.817706)'), GeomFromEWKT('SRID=4674;POINT (-40.151079 -2.817603)'))) / (select extract(epoch from '2026-07-20 14:11:32'::timestamp) - extract(epoch from '2026-07-20 14:11: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'), 47632, 'SRID=4674;POINT (-40.150957 -2.817528)', '2026-07-20 14:11:41', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151079 -2.817603)'), GeomFromEWKT('SRID=4674;POINT (-40.150957 -2.817528)'))) / (select extract(epoch from '2026-07-20 14:11:41'::timestamp) - extract(epoch from '2026-07-20 14:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151079 -2.817603)'), GeomFromEWKT('SRID=4674;POINT (-40.150957 -2.817528)'))) / (select extract(epoch from '2026-07-20 14:11:41'::timestamp) - extract(epoch from '2026-07-20 14:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.15083 -2.817464)', '2026-07-20 14:11:50', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150957 -2.817528)'), GeomFromEWKT('SRID=4674;POINT (-40.15083 -2.817464)'))) / (select extract(epoch from '2026-07-20 14:11:50'::timestamp) - extract(epoch from '2026-07-20 14:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150957 -2.817528)'), GeomFromEWKT('SRID=4674;POINT (-40.15083 -2.817464)'))) / (select extract(epoch from '2026-07-20 14:11:50'::timestamp) - extract(epoch from '2026-07-20 14:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.150685 -2.817398)', '2026-07-20 14:11:59', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15083 -2.817464)'), GeomFromEWKT('SRID=4674;POINT (-40.150685 -2.817398)'))) / (select extract(epoch from '2026-07-20 14:11:59'::timestamp) - extract(epoch from '2026-07-20 14:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15083 -2.817464)'), GeomFromEWKT('SRID=4674;POINT (-40.150685 -2.817398)'))) / (select extract(epoch from '2026-07-20 14:11:59'::timestamp) - extract(epoch from '2026-07-20 14:11:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.150542 -2.817317)', '2026-07-20 14:12:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150685 -2.817398)'), GeomFromEWKT('SRID=4674;POINT (-40.150542 -2.817317)'))) / (select extract(epoch from '2026-07-20 14:12:08'::timestamp) - extract(epoch from '2026-07-20 14:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150685 -2.817398)'), GeomFromEWKT('SRID=4674;POINT (-40.150542 -2.817317)'))) / (select extract(epoch from '2026-07-20 14:12:08'::timestamp) - extract(epoch from '2026-07-20 14:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.150395 -2.817202)', '2026-07-20 14:12:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150542 -2.817317)'), GeomFromEWKT('SRID=4674;POINT (-40.150395 -2.817202)'))) / (select extract(epoch from '2026-07-20 14:12:18'::timestamp) - extract(epoch from '2026-07-20 14:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150542 -2.817317)'), GeomFromEWKT('SRID=4674;POINT (-40.150395 -2.817202)'))) / (select extract(epoch from '2026-07-20 14:12:18'::timestamp) - extract(epoch from '2026-07-20 14:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.150322 -2.817138)', '2026-07-20 14:12:25', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150395 -2.817202)'), GeomFromEWKT('SRID=4674;POINT (-40.150322 -2.817138)'))) / (select extract(epoch from '2026-07-20 14:12:25'::timestamp) - extract(epoch from '2026-07-20 14:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150395 -2.817202)'), GeomFromEWKT('SRID=4674;POINT (-40.150322 -2.817138)'))) / (select extract(epoch from '2026-07-20 14:12:25'::timestamp) - extract(epoch from '2026-07-20 14:12: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'), 47632, 'SRID=4674;POINT (-40.150173 -2.816998)', '2026-07-20 14:12:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150322 -2.817138)'), GeomFromEWKT('SRID=4674;POINT (-40.150173 -2.816998)'))) / (select extract(epoch from '2026-07-20 14:12:36'::timestamp) - extract(epoch from '2026-07-20 14:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150322 -2.817138)'), GeomFromEWKT('SRID=4674;POINT (-40.150173 -2.816998)'))) / (select extract(epoch from '2026-07-20 14:12:36'::timestamp) - extract(epoch from '2026-07-20 14:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.150058 -2.816924)', '2026-07-20 14:12:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150173 -2.816998)'), GeomFromEWKT('SRID=4674;POINT (-40.150058 -2.816924)'))) / (select extract(epoch from '2026-07-20 14:12:44'::timestamp) - extract(epoch from '2026-07-20 14:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150173 -2.816998)'), GeomFromEWKT('SRID=4674;POINT (-40.150058 -2.816924)'))) / (select extract(epoch from '2026-07-20 14:12:44'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.149953 -2.816859)', '2026-07-20 14:12:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150058 -2.816924)'), GeomFromEWKT('SRID=4674;POINT (-40.149953 -2.816859)'))) / (select extract(epoch from '2026-07-20 14:12:51'::timestamp) - extract(epoch from '2026-07-20 14:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150058 -2.816924)'), GeomFromEWKT('SRID=4674;POINT (-40.149953 -2.816859)'))) / (select extract(epoch from '2026-07-20 14:12:51'::timestamp) - extract(epoch from '2026-07-20 14:12:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.149838 -2.816783)', '2026-07-20 14:12:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149953 -2.816859)'), GeomFromEWKT('SRID=4674;POINT (-40.149838 -2.816783)'))) / (select extract(epoch from '2026-07-20 14:12:59'::timestamp) - extract(epoch from '2026-07-20 14:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149953 -2.816859)'), GeomFromEWKT('SRID=4674;POINT (-40.149838 -2.816783)'))) / (select extract(epoch from '2026-07-20 14:12:59'::timestamp) - extract(epoch from '2026-07-20 14:12: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'), 47632, 'SRID=4674;POINT (-40.149736 -2.816709)', '2026-07-20 14:13:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149838 -2.816783)'), GeomFromEWKT('SRID=4674;POINT (-40.149736 -2.816709)'))) / (select extract(epoch from '2026-07-20 14:13:07'::timestamp) - extract(epoch from '2026-07-20 14:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149838 -2.816783)'), GeomFromEWKT('SRID=4674;POINT (-40.149736 -2.816709)'))) / (select extract(epoch from '2026-07-20 14:13:07'::timestamp) - extract(epoch from '2026-07-20 14:12: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'), 47632, 'SRID=4674;POINT (-40.149624 -2.816602)', '2026-07-20 14:13:15', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149736 -2.816709)'), GeomFromEWKT('SRID=4674;POINT (-40.149624 -2.816602)'))) / (select extract(epoch from '2026-07-20 14:13:15'::timestamp) - extract(epoch from '2026-07-20 14:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149736 -2.816709)'), GeomFromEWKT('SRID=4674;POINT (-40.149624 -2.816602)'))) / (select extract(epoch from '2026-07-20 14:13:15'::timestamp) - extract(epoch from '2026-07-20 14:13: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'), 47632, 'SRID=4674;POINT (-40.149528 -2.816495)', '2026-07-20 14:13:24', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149624 -2.816602)'), GeomFromEWKT('SRID=4674;POINT (-40.149528 -2.816495)'))) / (select extract(epoch from '2026-07-20 14:13:24'::timestamp) - extract(epoch from '2026-07-20 14:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149624 -2.816602)'), GeomFromEWKT('SRID=4674;POINT (-40.149528 -2.816495)'))) / (select extract(epoch from '2026-07-20 14:13:24'::timestamp) - extract(epoch from '2026-07-20 14:13: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'), 47632, 'SRID=4674;POINT (-40.149413 -2.816382)', '2026-07-20 14:13:33', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149528 -2.816495)'), GeomFromEWKT('SRID=4674;POINT (-40.149413 -2.816382)'))) / (select extract(epoch from '2026-07-20 14:13:33'::timestamp) - extract(epoch from '2026-07-20 14:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149528 -2.816495)'), GeomFromEWKT('SRID=4674;POINT (-40.149413 -2.816382)'))) / (select extract(epoch from '2026-07-20 14:13:33'::timestamp) - extract(epoch from '2026-07-20 14:13: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'), 47632, 'SRID=4674;POINT (-40.149288 -2.816267)', '2026-07-20 14:13:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149413 -2.816382)'), GeomFromEWKT('SRID=4674;POINT (-40.149288 -2.816267)'))) / (select extract(epoch from '2026-07-20 14:13:42'::timestamp) - extract(epoch from '2026-07-20 14:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149413 -2.816382)'), GeomFromEWKT('SRID=4674;POINT (-40.149288 -2.816267)'))) / (select extract(epoch from '2026-07-20 14:13:42'::timestamp) - extract(epoch from '2026-07-20 14:13: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'), 47632, 'SRID=4674;POINT (-40.149151 -2.816155)', '2026-07-20 14:13:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149288 -2.816267)'), GeomFromEWKT('SRID=4674;POINT (-40.149151 -2.816155)'))) / (select extract(epoch from '2026-07-20 14:13:51'::timestamp) - extract(epoch from '2026-07-20 14:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149288 -2.816267)'), GeomFromEWKT('SRID=4674;POINT (-40.149151 -2.816155)'))) / (select extract(epoch from '2026-07-20 14:13:51'::timestamp) - extract(epoch from '2026-07-20 14:13: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'), 47632, 'SRID=4674;POINT (-40.149017 -2.816078)', '2026-07-20 14:14:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149151 -2.816155)'), GeomFromEWKT('SRID=4674;POINT (-40.149017 -2.816078)'))) / (select extract(epoch from '2026-07-20 14:14:00'::timestamp) - extract(epoch from '2026-07-20 14:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149151 -2.816155)'), GeomFromEWKT('SRID=4674;POINT (-40.149017 -2.816078)'))) / (select extract(epoch from '2026-07-20 14:14:00'::timestamp) - extract(epoch from '2026-07-20 14:13: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'), 47632, 'SRID=4674;POINT (-40.148875 -2.816019)', '2026-07-20 14:14:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149017 -2.816078)'), GeomFromEWKT('SRID=4674;POINT (-40.148875 -2.816019)'))) / (select extract(epoch from '2026-07-20 14:14:10'::timestamp) - extract(epoch from '2026-07-20 14:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149017 -2.816078)'), GeomFromEWKT('SRID=4674;POINT (-40.148875 -2.816019)'))) / (select extract(epoch from '2026-07-20 14:14:10'::timestamp) - extract(epoch from '2026-07-20 14:14: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'), 47632, 'SRID=4674;POINT (-40.148776 -2.815976)', '2026-07-20 14:14:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148875 -2.816019)'), GeomFromEWKT('SRID=4674;POINT (-40.148776 -2.815976)'))) / (select extract(epoch from '2026-07-20 14:14:18'::timestamp) - extract(epoch from '2026-07-20 14:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148875 -2.816019)'), GeomFromEWKT('SRID=4674;POINT (-40.148776 -2.815976)'))) / (select extract(epoch from '2026-07-20 14:14:18'::timestamp) - extract(epoch from '2026-07-20 14:14: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'), 47632, 'SRID=4674;POINT (-40.148657 -2.815921)', '2026-07-20 14:14:27', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148776 -2.815976)'), GeomFromEWKT('SRID=4674;POINT (-40.148657 -2.815921)'))) / (select extract(epoch from '2026-07-20 14:14:27'::timestamp) - extract(epoch from '2026-07-20 14:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148776 -2.815976)'), GeomFromEWKT('SRID=4674;POINT (-40.148657 -2.815921)'))) / (select extract(epoch from '2026-07-20 14:14:27'::timestamp) - extract(epoch from '2026-07-20 14:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.148536 -2.815861)', '2026-07-20 14:14:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148657 -2.815921)'), GeomFromEWKT('SRID=4674;POINT (-40.148536 -2.815861)'))) / (select extract(epoch from '2026-07-20 14:14:36'::timestamp) - extract(epoch from '2026-07-20 14:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148657 -2.815921)'), GeomFromEWKT('SRID=4674;POINT (-40.148536 -2.815861)'))) / (select extract(epoch from '2026-07-20 14:14:36'::timestamp) - extract(epoch from '2026-07-20 14:14: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'), 47632, 'SRID=4674;POINT (-40.148387 -2.815798)', '2026-07-20 14:14:45', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148536 -2.815861)'), GeomFromEWKT('SRID=4674;POINT (-40.148387 -2.815798)'))) / (select extract(epoch from '2026-07-20 14:14:45'::timestamp) - extract(epoch from '2026-07-20 14:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148536 -2.815861)'), GeomFromEWKT('SRID=4674;POINT (-40.148387 -2.815798)'))) / (select extract(epoch from '2026-07-20 14:14:45'::timestamp) - extract(epoch from '2026-07-20 14:14: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'), 47632, 'SRID=4674;POINT (-40.14824 -2.815753)', '2026-07-20 14:14:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148387 -2.815798)'), GeomFromEWKT('SRID=4674;POINT (-40.14824 -2.815753)'))) / (select extract(epoch from '2026-07-20 14:14:54'::timestamp) - extract(epoch from '2026-07-20 14:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148387 -2.815798)'), GeomFromEWKT('SRID=4674;POINT (-40.14824 -2.815753)'))) / (select extract(epoch from '2026-07-20 14:14:54'::timestamp) - extract(epoch from '2026-07-20 14:14: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'), 47632, 'SRID=4674;POINT (-40.148139 -2.815736)', '2026-07-20 14:15:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14824 -2.815753)'), GeomFromEWKT('SRID=4674;POINT (-40.148139 -2.815736)'))) / (select extract(epoch from '2026-07-20 14:15:01'::timestamp) - extract(epoch from '2026-07-20 14:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14824 -2.815753)'), GeomFromEWKT('SRID=4674;POINT (-40.148139 -2.815736)'))) / (select extract(epoch from '2026-07-20 14:15:01'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.148006 -2.815708)', '2026-07-20 14:15:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148139 -2.815736)'), GeomFromEWKT('SRID=4674;POINT (-40.148006 -2.815708)'))) / (select extract(epoch from '2026-07-20 14:15:10'::timestamp) - extract(epoch from '2026-07-20 14:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148139 -2.815736)'), GeomFromEWKT('SRID=4674;POINT (-40.148006 -2.815708)'))) / (select extract(epoch from '2026-07-20 14:15:10'::timestamp) - extract(epoch from '2026-07-20 14:15: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'), 47632, 'SRID=4674;POINT (-40.147892 -2.81566)', '2026-07-20 14:15:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148006 -2.815708)'), GeomFromEWKT('SRID=4674;POINT (-40.147892 -2.81566)'))) / (select extract(epoch from '2026-07-20 14:15:18'::timestamp) - extract(epoch from '2026-07-20 14:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148006 -2.815708)'), GeomFromEWKT('SRID=4674;POINT (-40.147892 -2.81566)'))) / (select extract(epoch from '2026-07-20 14:15:18'::timestamp) - extract(epoch from '2026-07-20 14:15: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'), 47632, 'SRID=4674;POINT (-40.14776 -2.815623)', '2026-07-20 14:15:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147892 -2.81566)'), GeomFromEWKT('SRID=4674;POINT (-40.14776 -2.815623)'))) / (select extract(epoch from '2026-07-20 14:15:27'::timestamp) - extract(epoch from '2026-07-20 14:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147892 -2.81566)'), GeomFromEWKT('SRID=4674;POINT (-40.14776 -2.815623)'))) / (select extract(epoch from '2026-07-20 14:15:27'::timestamp) - extract(epoch from '2026-07-20 14:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.147633 -2.815598)', '2026-07-20 14:15:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14776 -2.815623)'), GeomFromEWKT('SRID=4674;POINT (-40.147633 -2.815598)'))) / (select extract(epoch from '2026-07-20 14:15:36'::timestamp) - extract(epoch from '2026-07-20 14:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14776 -2.815623)'), GeomFromEWKT('SRID=4674;POINT (-40.147633 -2.815598)'))) / (select extract(epoch from '2026-07-20 14:15:36'::timestamp) - extract(epoch from '2026-07-20 14:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.147461 -2.815559)', '2026-07-20 14:15:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147633 -2.815598)'), GeomFromEWKT('SRID=4674;POINT (-40.147461 -2.815559)'))) / (select extract(epoch from '2026-07-20 14:15:48'::timestamp) - extract(epoch from '2026-07-20 14:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147633 -2.815598)'), GeomFromEWKT('SRID=4674;POINT (-40.147461 -2.815559)'))) / (select extract(epoch from '2026-07-20 14:15:48'::timestamp) - extract(epoch from '2026-07-20 14:15: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'), 47632, 'SRID=4674;POINT (-40.147331 -2.815539)', '2026-07-20 14:15:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147461 -2.815559)'), GeomFromEWKT('SRID=4674;POINT (-40.147331 -2.815539)'))) / (select extract(epoch from '2026-07-20 14:15:56'::timestamp) - extract(epoch from '2026-07-20 14:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147461 -2.815559)'), GeomFromEWKT('SRID=4674;POINT (-40.147331 -2.815539)'))) / (select extract(epoch from '2026-07-20 14:15:56'::timestamp) - extract(epoch from '2026-07-20 14:15:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.147206 -2.815493)', '2026-07-20 14:16:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147331 -2.815539)'), GeomFromEWKT('SRID=4674;POINT (-40.147206 -2.815493)'))) / (select extract(epoch from '2026-07-20 14:16:05'::timestamp) - extract(epoch from '2026-07-20 14:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147331 -2.815539)'), GeomFromEWKT('SRID=4674;POINT (-40.147206 -2.815493)'))) / (select extract(epoch from '2026-07-20 14:16:05'::timestamp) - extract(epoch from '2026-07-20 14:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.147075 -2.815476)', '2026-07-20 14:16:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147206 -2.815493)'), GeomFromEWKT('SRID=4674;POINT (-40.147075 -2.815476)'))) / (select extract(epoch from '2026-07-20 14:16:14'::timestamp) - extract(epoch from '2026-07-20 14:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147206 -2.815493)'), GeomFromEWKT('SRID=4674;POINT (-40.147075 -2.815476)'))) / (select extract(epoch from '2026-07-20 14:16:14'::timestamp) - extract(epoch from '2026-07-20 14:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.146931 -2.815444)', '2026-07-20 14:16:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147075 -2.815476)'), GeomFromEWKT('SRID=4674;POINT (-40.146931 -2.815444)'))) / (select extract(epoch from '2026-07-20 14:16:23'::timestamp) - extract(epoch from '2026-07-20 14:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147075 -2.815476)'), GeomFromEWKT('SRID=4674;POINT (-40.146931 -2.815444)'))) / (select extract(epoch from '2026-07-20 14:16:23'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.14682 -2.815395)', '2026-07-20 14:16:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146931 -2.815444)'), GeomFromEWKT('SRID=4674;POINT (-40.14682 -2.815395)'))) / (select extract(epoch from '2026-07-20 14:16:33'::timestamp) - extract(epoch from '2026-07-20 14:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146931 -2.815444)'), GeomFromEWKT('SRID=4674;POINT (-40.14682 -2.815395)'))) / (select extract(epoch from '2026-07-20 14:16:33'::timestamp) - extract(epoch from '2026-07-20 14:16: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'), 47632, 'SRID=4674;POINT (-40.146683 -2.815378)', '2026-07-20 14:16:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14682 -2.815395)'), GeomFromEWKT('SRID=4674;POINT (-40.146683 -2.815378)'))) / (select extract(epoch from '2026-07-20 14:16:42'::timestamp) - extract(epoch from '2026-07-20 14:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14682 -2.815395)'), GeomFromEWKT('SRID=4674;POINT (-40.146683 -2.815378)'))) / (select extract(epoch from '2026-07-20 14:16:42'::timestamp) - extract(epoch from '2026-07-20 14:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.146556 -2.815363)', '2026-07-20 14:16:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146683 -2.815378)'), GeomFromEWKT('SRID=4674;POINT (-40.146556 -2.815363)'))) / (select extract(epoch from '2026-07-20 14:16:50'::timestamp) - extract(epoch from '2026-07-20 14:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146683 -2.815378)'), GeomFromEWKT('SRID=4674;POINT (-40.146556 -2.815363)'))) / (select extract(epoch from '2026-07-20 14:16:50'::timestamp) - extract(epoch from '2026-07-20 14:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.14637 -2.815324)', '2026-07-20 14:17:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146556 -2.815363)'), GeomFromEWKT('SRID=4674;POINT (-40.14637 -2.815324)'))) / (select extract(epoch from '2026-07-20 14:17:01'::timestamp) - extract(epoch from '2026-07-20 14:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146556 -2.815363)'), GeomFromEWKT('SRID=4674;POINT (-40.14637 -2.815324)'))) / (select extract(epoch from '2026-07-20 14:17:01'::timestamp) - extract(epoch from '2026-07-20 14:16:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.146243 -2.815271)', '2026-07-20 14:17:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14637 -2.815324)'), GeomFromEWKT('SRID=4674;POINT (-40.146243 -2.815271)'))) / (select extract(epoch from '2026-07-20 14:17:11'::timestamp) - extract(epoch from '2026-07-20 14:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14637 -2.815324)'), GeomFromEWKT('SRID=4674;POINT (-40.146243 -2.815271)'))) / (select extract(epoch from '2026-07-20 14:17:11'::timestamp) - extract(epoch from '2026-07-20 14:17: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'), 47632, 'SRID=4674;POINT (-40.146096 -2.815234)', '2026-07-20 14:17:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146243 -2.815271)'), GeomFromEWKT('SRID=4674;POINT (-40.146096 -2.815234)'))) / (select extract(epoch from '2026-07-20 14:17:20'::timestamp) - extract(epoch from '2026-07-20 14:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146243 -2.815271)'), GeomFromEWKT('SRID=4674;POINT (-40.146096 -2.815234)'))) / (select extract(epoch from '2026-07-20 14:17:20'::timestamp) - extract(epoch from '2026-07-20 14:17: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'), 47632, 'SRID=4674;POINT (-40.14595 -2.815184)', '2026-07-20 14:17:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146096 -2.815234)'), GeomFromEWKT('SRID=4674;POINT (-40.14595 -2.815184)'))) / (select extract(epoch from '2026-07-20 14:17:29'::timestamp) - extract(epoch from '2026-07-20 14:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146096 -2.815234)'), GeomFromEWKT('SRID=4674;POINT (-40.14595 -2.815184)'))) / (select extract(epoch from '2026-07-20 14:17:29'::timestamp) - extract(epoch from '2026-07-20 14:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.145769 -2.815131)', '2026-07-20 14:17:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14595 -2.815184)'), GeomFromEWKT('SRID=4674;POINT (-40.145769 -2.815131)'))) / (select extract(epoch from '2026-07-20 14:17:40'::timestamp) - extract(epoch from '2026-07-20 14:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14595 -2.815184)'), GeomFromEWKT('SRID=4674;POINT (-40.145769 -2.815131)'))) / (select extract(epoch from '2026-07-20 14:17:40'::timestamp) - extract(epoch from '2026-07-20 14:17: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'), 47632, 'SRID=4674;POINT (-40.145641 -2.815105)', '2026-07-20 14:17:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145769 -2.815131)'), GeomFromEWKT('SRID=4674;POINT (-40.145641 -2.815105)'))) / (select extract(epoch from '2026-07-20 14:17:48'::timestamp) - extract(epoch from '2026-07-20 14:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145769 -2.815131)'), GeomFromEWKT('SRID=4674;POINT (-40.145641 -2.815105)'))) / (select extract(epoch from '2026-07-20 14:17:48'::timestamp) - extract(epoch from '2026-07-20 14:17: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'), 47632, 'SRID=4674;POINT (-40.145492 -2.815074)', '2026-07-20 14:17:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145641 -2.815105)'), GeomFromEWKT('SRID=4674;POINT (-40.145492 -2.815074)'))) / (select extract(epoch from '2026-07-20 14:17:57'::timestamp) - extract(epoch from '2026-07-20 14:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145641 -2.815105)'), GeomFromEWKT('SRID=4674;POINT (-40.145492 -2.815074)'))) / (select extract(epoch from '2026-07-20 14:17:57'::timestamp) - extract(epoch from '2026-07-20 14:17: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'), 47632, 'SRID=4674;POINT (-40.145371 -2.815028)', '2026-07-20 14:18:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145492 -2.815074)'), GeomFromEWKT('SRID=4674;POINT (-40.145371 -2.815028)'))) / (select extract(epoch from '2026-07-20 14:18:06'::timestamp) - extract(epoch from '2026-07-20 14:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145492 -2.815074)'), GeomFromEWKT('SRID=4674;POINT (-40.145371 -2.815028)'))) / (select extract(epoch from '2026-07-20 14:18:06'::timestamp) - extract(epoch from '2026-07-20 14:17: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'), 47632, 'SRID=4674;POINT (-40.145243 -2.814986)', '2026-07-20 14:18:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145371 -2.815028)'), GeomFromEWKT('SRID=4674;POINT (-40.145243 -2.814986)'))) / (select extract(epoch from '2026-07-20 14:18:14'::timestamp) - extract(epoch from '2026-07-20 14:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145371 -2.815028)'), GeomFromEWKT('SRID=4674;POINT (-40.145243 -2.814986)'))) / (select extract(epoch from '2026-07-20 14:18:14'::timestamp) - extract(epoch from '2026-07-20 14:18: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'), 47632, 'SRID=4674;POINT (-40.145087 -2.814946)', '2026-07-20 14:18:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145243 -2.814986)'), GeomFromEWKT('SRID=4674;POINT (-40.145087 -2.814946)'))) / (select extract(epoch from '2026-07-20 14:18:23'::timestamp) - extract(epoch from '2026-07-20 14:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145243 -2.814986)'), GeomFromEWKT('SRID=4674;POINT (-40.145087 -2.814946)'))) / (select extract(epoch from '2026-07-20 14:18:23'::timestamp) - extract(epoch from '2026-07-20 14:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.144924 -2.814901)', '2026-07-20 14:18:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145087 -2.814946)'), GeomFromEWKT('SRID=4674;POINT (-40.144924 -2.814901)'))) / (select extract(epoch from '2026-07-20 14:18:33'::timestamp) - extract(epoch from '2026-07-20 14:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145087 -2.814946)'), GeomFromEWKT('SRID=4674;POINT (-40.144924 -2.814901)'))) / (select extract(epoch from '2026-07-20 14:18:33'::timestamp) - extract(epoch from '2026-07-20 14:18: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'), 47632, 'SRID=4674;POINT (-40.144758 -2.814832)', '2026-07-20 14:18:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144924 -2.814901)'), GeomFromEWKT('SRID=4674;POINT (-40.144758 -2.814832)'))) / (select extract(epoch from '2026-07-20 14:18:44'::timestamp) - extract(epoch from '2026-07-20 14:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144924 -2.814901)'), GeomFromEWKT('SRID=4674;POINT (-40.144758 -2.814832)'))) / (select extract(epoch from '2026-07-20 14:18:44'::timestamp) - extract(epoch from '2026-07-20 14:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.144581 -2.814776)', '2026-07-20 14:18:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144758 -2.814832)'), GeomFromEWKT('SRID=4674;POINT (-40.144581 -2.814776)'))) / (select extract(epoch from '2026-07-20 14:18:55'::timestamp) - extract(epoch from '2026-07-20 14:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144758 -2.814832)'), GeomFromEWKT('SRID=4674;POINT (-40.144581 -2.814776)'))) / (select extract(epoch from '2026-07-20 14:18:55'::timestamp) - extract(epoch from '2026-07-20 14:18: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'), 47632, 'SRID=4674;POINT (-40.144383 -2.81473)', '2026-07-20 14:19:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144581 -2.814776)'), GeomFromEWKT('SRID=4674;POINT (-40.144383 -2.81473)'))) / (select extract(epoch from '2026-07-20 14:19:07'::timestamp) - extract(epoch from '2026-07-20 14:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144581 -2.814776)'), GeomFromEWKT('SRID=4674;POINT (-40.144383 -2.81473)'))) / (select extract(epoch from '2026-07-20 14:19:07'::timestamp) - extract(epoch from '2026-07-20 14:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.144192 -2.814681)', '2026-07-20 14:19:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144383 -2.81473)'), GeomFromEWKT('SRID=4674;POINT (-40.144192 -2.814681)'))) / (select extract(epoch from '2026-07-20 14:19:18'::timestamp) - extract(epoch from '2026-07-20 14:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144383 -2.81473)'), GeomFromEWKT('SRID=4674;POINT (-40.144192 -2.814681)'))) / (select extract(epoch from '2026-07-20 14:19:18'::timestamp) - extract(epoch from '2026-07-20 14:19: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'), 47632, 'SRID=4674;POINT (-40.144041 -2.814639)', '2026-07-20 14:19:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144192 -2.814681)'), GeomFromEWKT('SRID=4674;POINT (-40.144041 -2.814639)'))) / (select extract(epoch from '2026-07-20 14:19:27'::timestamp) - extract(epoch from '2026-07-20 14:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144192 -2.814681)'), GeomFromEWKT('SRID=4674;POINT (-40.144041 -2.814639)'))) / (select extract(epoch from '2026-07-20 14:19:27'::timestamp) - extract(epoch from '2026-07-20 14:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143839 -2.814584)', '2026-07-20 14:19:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144041 -2.814639)'), GeomFromEWKT('SRID=4674;POINT (-40.143839 -2.814584)'))) / (select extract(epoch from '2026-07-20 14:19:38'::timestamp) - extract(epoch from '2026-07-20 14:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144041 -2.814639)'), GeomFromEWKT('SRID=4674;POINT (-40.143839 -2.814584)'))) / (select extract(epoch from '2026-07-20 14:19:38'::timestamp) - extract(epoch from '2026-07-20 14:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143691 -2.814553)', '2026-07-20 14:19:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143839 -2.814584)'), GeomFromEWKT('SRID=4674;POINT (-40.143691 -2.814553)'))) / (select extract(epoch from '2026-07-20 14:19:46'::timestamp) - extract(epoch from '2026-07-20 14:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143839 -2.814584)'), GeomFromEWKT('SRID=4674;POINT (-40.143691 -2.814553)'))) / (select extract(epoch from '2026-07-20 14:19:46'::timestamp) - extract(epoch from '2026-07-20 14:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143534 -2.814504)', '2026-07-20 14:19:55', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143691 -2.814553)'), GeomFromEWKT('SRID=4674;POINT (-40.143534 -2.814504)'))) / (select extract(epoch from '2026-07-20 14:19:55'::timestamp) - extract(epoch from '2026-07-20 14:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143691 -2.814553)'), GeomFromEWKT('SRID=4674;POINT (-40.143534 -2.814504)'))) / (select extract(epoch from '2026-07-20 14:19:55'::timestamp) - extract(epoch from '2026-07-20 14:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143377 -2.814459)', '2026-07-20 14:20:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143534 -2.814504)'), GeomFromEWKT('SRID=4674;POINT (-40.143377 -2.814459)'))) / (select extract(epoch from '2026-07-20 14:20:04'::timestamp) - extract(epoch from '2026-07-20 14:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143534 -2.814504)'), GeomFromEWKT('SRID=4674;POINT (-40.143377 -2.814459)'))) / (select extract(epoch from '2026-07-20 14:20:04'::timestamp) - extract(epoch from '2026-07-20 14:19: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'), 47632, 'SRID=4674;POINT (-40.143223 -2.814423)', '2026-07-20 14:20:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143377 -2.814459)'), GeomFromEWKT('SRID=4674;POINT (-40.143223 -2.814423)'))) / (select extract(epoch from '2026-07-20 14:20:13'::timestamp) - extract(epoch from '2026-07-20 14:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143377 -2.814459)'), GeomFromEWKT('SRID=4674;POINT (-40.143223 -2.814423)'))) / (select extract(epoch from '2026-07-20 14:20:13'::timestamp) - extract(epoch from '2026-07-20 14:20: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'), 47632, 'SRID=4674;POINT (-40.143072 -2.814378)', '2026-07-20 14:20:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143223 -2.814423)'), GeomFromEWKT('SRID=4674;POINT (-40.143072 -2.814378)'))) / (select extract(epoch from '2026-07-20 14:20:23'::timestamp) - extract(epoch from '2026-07-20 14:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143223 -2.814423)'), GeomFromEWKT('SRID=4674;POINT (-40.143072 -2.814378)'))) / (select extract(epoch from '2026-07-20 14:20:23'::timestamp) - extract(epoch from '2026-07-20 14:20: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'), 47632, 'SRID=4674;POINT (-40.142926 -2.814334)', '2026-07-20 14:20:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143072 -2.814378)'), GeomFromEWKT('SRID=4674;POINT (-40.142926 -2.814334)'))) / (select extract(epoch from '2026-07-20 14:20:32'::timestamp) - extract(epoch from '2026-07-20 14:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143072 -2.814378)'), GeomFromEWKT('SRID=4674;POINT (-40.142926 -2.814334)'))) / (select extract(epoch from '2026-07-20 14:20:32'::timestamp) - extract(epoch from '2026-07-20 14:20:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142793 -2.814276)', '2026-07-20 14:20:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142926 -2.814334)'), GeomFromEWKT('SRID=4674;POINT (-40.142793 -2.814276)'))) / (select extract(epoch from '2026-07-20 14:20:40'::timestamp) - extract(epoch from '2026-07-20 14:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142926 -2.814334)'), GeomFromEWKT('SRID=4674;POINT (-40.142793 -2.814276)'))) / (select extract(epoch from '2026-07-20 14:20:40'::timestamp) - extract(epoch from '2026-07-20 14:20: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'), 47632, 'SRID=4674;POINT (-40.142656 -2.814216)', '2026-07-20 14:20:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142793 -2.814276)'), GeomFromEWKT('SRID=4674;POINT (-40.142656 -2.814216)'))) / (select extract(epoch from '2026-07-20 14:20:49'::timestamp) - extract(epoch from '2026-07-20 14:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142793 -2.814276)'), GeomFromEWKT('SRID=4674;POINT (-40.142656 -2.814216)'))) / (select extract(epoch from '2026-07-20 14:20:49'::timestamp) - extract(epoch from '2026-07-20 14:20:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142523 -2.814167)', '2026-07-20 14:20:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142656 -2.814216)'), GeomFromEWKT('SRID=4674;POINT (-40.142523 -2.814167)'))) / (select extract(epoch from '2026-07-20 14:20:58'::timestamp) - extract(epoch from '2026-07-20 14:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142656 -2.814216)'), GeomFromEWKT('SRID=4674;POINT (-40.142523 -2.814167)'))) / (select extract(epoch from '2026-07-20 14:20:58'::timestamp) - extract(epoch from '2026-07-20 14:20: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'), 47632, 'SRID=4674;POINT (-40.142371 -2.814105)', '2026-07-20 14:21:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142523 -2.814167)'), GeomFromEWKT('SRID=4674;POINT (-40.142371 -2.814105)'))) / (select extract(epoch from '2026-07-20 14:21:08'::timestamp) - extract(epoch from '2026-07-20 14:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142523 -2.814167)'), GeomFromEWKT('SRID=4674;POINT (-40.142371 -2.814105)'))) / (select extract(epoch from '2026-07-20 14:21:08'::timestamp) - extract(epoch from '2026-07-20 14:20:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142185 -2.814059)', '2026-07-20 14:21:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142371 -2.814105)'), GeomFromEWKT('SRID=4674;POINT (-40.142185 -2.814059)'))) / (select extract(epoch from '2026-07-20 14:21:19'::timestamp) - extract(epoch from '2026-07-20 14:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142371 -2.814105)'), GeomFromEWKT('SRID=4674;POINT (-40.142185 -2.814059)'))) / (select extract(epoch from '2026-07-20 14:21:19'::timestamp) - extract(epoch from '2026-07-20 14:21: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'), 47632, 'SRID=4674;POINT (-40.142023 -2.813997)', '2026-07-20 14:21:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142185 -2.814059)'), GeomFromEWKT('SRID=4674;POINT (-40.142023 -2.813997)'))) / (select extract(epoch from '2026-07-20 14:21:29'::timestamp) - extract(epoch from '2026-07-20 14:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142185 -2.814059)'), GeomFromEWKT('SRID=4674;POINT (-40.142023 -2.813997)'))) / (select extract(epoch from '2026-07-20 14:21:29'::timestamp) - extract(epoch from '2026-07-20 14:21:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.141885 -2.813971)', '2026-07-20 14:21:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142023 -2.813997)'), GeomFromEWKT('SRID=4674;POINT (-40.141885 -2.813971)'))) / (select extract(epoch from '2026-07-20 14:21:37'::timestamp) - extract(epoch from '2026-07-20 14:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142023 -2.813997)'), GeomFromEWKT('SRID=4674;POINT (-40.141885 -2.813971)'))) / (select extract(epoch from '2026-07-20 14:21:37'::timestamp) - extract(epoch from '2026-07-20 14:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.14174 -2.813937)', '2026-07-20 14:21:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141885 -2.813971)'), GeomFromEWKT('SRID=4674;POINT (-40.14174 -2.813937)'))) / (select extract(epoch from '2026-07-20 14:21:46'::timestamp) - extract(epoch from '2026-07-20 14:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141885 -2.813971)'), GeomFromEWKT('SRID=4674;POINT (-40.14174 -2.813937)'))) / (select extract(epoch from '2026-07-20 14:21:46'::timestamp) - extract(epoch from '2026-07-20 14:21: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'), 47632, 'SRID=4674;POINT (-40.14153 -2.813929)', '2026-07-20 14:21:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14174 -2.813937)'), GeomFromEWKT('SRID=4674;POINT (-40.14153 -2.813929)'))) / (select extract(epoch from '2026-07-20 14:21:58'::timestamp) - extract(epoch from '2026-07-20 14:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14174 -2.813937)'), GeomFromEWKT('SRID=4674;POINT (-40.14153 -2.813929)'))) / (select extract(epoch from '2026-07-20 14:21:58'::timestamp) - extract(epoch from '2026-07-20 14:21: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'), 47632, 'SRID=4674;POINT (-40.141352 -2.81393)', '2026-07-20 14:22:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14153 -2.813929)'), GeomFromEWKT('SRID=4674;POINT (-40.141352 -2.81393)'))) / (select extract(epoch from '2026-07-20 14:22:08'::timestamp) - extract(epoch from '2026-07-20 14:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14153 -2.813929)'), GeomFromEWKT('SRID=4674;POINT (-40.141352 -2.81393)'))) / (select extract(epoch from '2026-07-20 14:22:08'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.141203 -2.813911)', '2026-07-20 14:22:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141352 -2.81393)'), GeomFromEWKT('SRID=4674;POINT (-40.141203 -2.813911)'))) / (select extract(epoch from '2026-07-20 14:22:17'::timestamp) - extract(epoch from '2026-07-20 14:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141352 -2.81393)'), GeomFromEWKT('SRID=4674;POINT (-40.141203 -2.813911)'))) / (select extract(epoch from '2026-07-20 14:22:17'::timestamp) - extract(epoch from '2026-07-20 14:22: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'), 47632, 'SRID=4674;POINT (-40.141011 -2.813869)', '2026-07-20 14:22:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141203 -2.813911)'), GeomFromEWKT('SRID=4674;POINT (-40.141011 -2.813869)'))) / (select extract(epoch from '2026-07-20 14:22:29'::timestamp) - extract(epoch from '2026-07-20 14:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141203 -2.813911)'), GeomFromEWKT('SRID=4674;POINT (-40.141011 -2.813869)'))) / (select extract(epoch from '2026-07-20 14:22:29'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.140883 -2.813838)', '2026-07-20 14:22:38', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141011 -2.813869)'), GeomFromEWKT('SRID=4674;POINT (-40.140883 -2.813838)'))) / (select extract(epoch from '2026-07-20 14:22:38'::timestamp) - extract(epoch from '2026-07-20 14:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141011 -2.813869)'), GeomFromEWKT('SRID=4674;POINT (-40.140883 -2.813838)'))) / (select extract(epoch from '2026-07-20 14:22:38'::timestamp) - extract(epoch from '2026-07-20 14:22: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'), 47632, 'SRID=4674;POINT (-40.140751 -2.813817)', '2026-07-20 14:22:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140883 -2.813838)'), GeomFromEWKT('SRID=4674;POINT (-40.140751 -2.813817)'))) / (select extract(epoch from '2026-07-20 14:22:47'::timestamp) - extract(epoch from '2026-07-20 14:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140883 -2.813838)'), GeomFromEWKT('SRID=4674;POINT (-40.140751 -2.813817)'))) / (select extract(epoch from '2026-07-20 14:22:47'::timestamp) - extract(epoch from '2026-07-20 14:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.140618 -2.813822)', '2026-07-20 14:22:55', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140751 -2.813817)'), GeomFromEWKT('SRID=4674;POINT (-40.140618 -2.813822)'))) / (select extract(epoch from '2026-07-20 14:22:55'::timestamp) - extract(epoch from '2026-07-20 14:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140751 -2.813817)'), GeomFromEWKT('SRID=4674;POINT (-40.140618 -2.813822)'))) / (select extract(epoch from '2026-07-20 14:22:55'::timestamp) - extract(epoch from '2026-07-20 14:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.140503 -2.813817)', '2026-07-20 14:23:04', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140618 -2.813822)'), GeomFromEWKT('SRID=4674;POINT (-40.140503 -2.813817)'))) / (select extract(epoch from '2026-07-20 14:23:04'::timestamp) - extract(epoch from '2026-07-20 14:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140618 -2.813822)'), GeomFromEWKT('SRID=4674;POINT (-40.140503 -2.813817)'))) / (select extract(epoch from '2026-07-20 14:23:04'::timestamp) - extract(epoch from '2026-07-20 14:22: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'), 47632, 'SRID=4674;POINT (-40.140337 -2.813821)', '2026-07-20 14:23:14', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140503 -2.813817)'), GeomFromEWKT('SRID=4674;POINT (-40.140337 -2.813821)'))) / (select extract(epoch from '2026-07-20 14:23:14'::timestamp) - extract(epoch from '2026-07-20 14:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140503 -2.813817)'), GeomFromEWKT('SRID=4674;POINT (-40.140337 -2.813821)'))) / (select extract(epoch from '2026-07-20 14:23:14'::timestamp) - extract(epoch from '2026-07-20 14:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.140161 -2.813811)', '2026-07-20 14:23:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140337 -2.813821)'), GeomFromEWKT('SRID=4674;POINT (-40.140161 -2.813811)'))) / (select extract(epoch from '2026-07-20 14:23:24'::timestamp) - extract(epoch from '2026-07-20 14:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140337 -2.813821)'), GeomFromEWKT('SRID=4674;POINT (-40.140161 -2.813811)'))) / (select extract(epoch from '2026-07-20 14:23:24'::timestamp) - extract(epoch from '2026-07-20 14:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.140018 -2.813792)', '2026-07-20 14:23:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140161 -2.813811)'), GeomFromEWKT('SRID=4674;POINT (-40.140018 -2.813792)'))) / (select extract(epoch from '2026-07-20 14:23:34'::timestamp) - extract(epoch from '2026-07-20 14:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140161 -2.813811)'), GeomFromEWKT('SRID=4674;POINT (-40.140018 -2.813792)'))) / (select extract(epoch from '2026-07-20 14:23:34'::timestamp) - extract(epoch from '2026-07-20 14:23: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'), 47632, 'SRID=4674;POINT (-40.139858 -2.813806)', '2026-07-20 14:23:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140018 -2.813792)'), GeomFromEWKT('SRID=4674;POINT (-40.139858 -2.813806)'))) / (select extract(epoch from '2026-07-20 14:23:44'::timestamp) - extract(epoch from '2026-07-20 14:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140018 -2.813792)'), GeomFromEWKT('SRID=4674;POINT (-40.139858 -2.813806)'))) / (select extract(epoch from '2026-07-20 14:23:44'::timestamp) - extract(epoch from '2026-07-20 14:23: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'), 47632, 'SRID=4674;POINT (-40.139696 -2.813819)', '2026-07-20 14:23:55', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139858 -2.813806)'), GeomFromEWKT('SRID=4674;POINT (-40.139696 -2.813819)'))) / (select extract(epoch from '2026-07-20 14:23:55'::timestamp) - extract(epoch from '2026-07-20 14:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139858 -2.813806)'), GeomFromEWKT('SRID=4674;POINT (-40.139696 -2.813819)'))) / (select extract(epoch from '2026-07-20 14:23:55'::timestamp) - extract(epoch from '2026-07-20 14:23: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'), 47632, 'SRID=4674;POINT (-40.13954 -2.81382)', '2026-07-20 14:24:05', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139696 -2.813819)'), GeomFromEWKT('SRID=4674;POINT (-40.13954 -2.81382)'))) / (select extract(epoch from '2026-07-20 14:24:05'::timestamp) - extract(epoch from '2026-07-20 14:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139696 -2.813819)'), GeomFromEWKT('SRID=4674;POINT (-40.13954 -2.81382)'))) / (select extract(epoch from '2026-07-20 14:24:05'::timestamp) - extract(epoch from '2026-07-20 14:23: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'), 47632, 'SRID=4674;POINT (-40.139398 -2.813815)', '2026-07-20 14:24:15', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13954 -2.81382)'), GeomFromEWKT('SRID=4674;POINT (-40.139398 -2.813815)'))) / (select extract(epoch from '2026-07-20 14:24:15'::timestamp) - extract(epoch from '2026-07-20 14:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13954 -2.81382)'), GeomFromEWKT('SRID=4674;POINT (-40.139398 -2.813815)'))) / (select extract(epoch from '2026-07-20 14:24:15'::timestamp) - extract(epoch from '2026-07-20 14:24: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'), 47632, 'SRID=4674;POINT (-40.139268 -2.813809)', '2026-07-20 14:24:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139398 -2.813815)'), GeomFromEWKT('SRID=4674;POINT (-40.139268 -2.813809)'))) / (select extract(epoch from '2026-07-20 14:24:23'::timestamp) - extract(epoch from '2026-07-20 14:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139398 -2.813815)'), GeomFromEWKT('SRID=4674;POINT (-40.139268 -2.813809)'))) / (select extract(epoch from '2026-07-20 14:24:23'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.13912 -2.813815)', '2026-07-20 14:24:32', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139268 -2.813809)'), GeomFromEWKT('SRID=4674;POINT (-40.13912 -2.813815)'))) / (select extract(epoch from '2026-07-20 14:24:32'::timestamp) - extract(epoch from '2026-07-20 14:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139268 -2.813809)'), GeomFromEWKT('SRID=4674;POINT (-40.13912 -2.813815)'))) / (select extract(epoch from '2026-07-20 14:24:32'::timestamp) - extract(epoch from '2026-07-20 14:24: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'), 47632, 'SRID=4674;POINT (-40.138952 -2.813825)', '2026-07-20 14:24:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13912 -2.813815)'), GeomFromEWKT('SRID=4674;POINT (-40.138952 -2.813825)'))) / (select extract(epoch from '2026-07-20 14:24:42'::timestamp) - extract(epoch from '2026-07-20 14:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13912 -2.813815)'), GeomFromEWKT('SRID=4674;POINT (-40.138952 -2.813825)'))) / (select extract(epoch from '2026-07-20 14:24:42'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.138831 -2.813824)', '2026-07-20 14:24:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138952 -2.813825)'), GeomFromEWKT('SRID=4674;POINT (-40.138831 -2.813824)'))) / (select extract(epoch from '2026-07-20 14:24:49'::timestamp) - extract(epoch from '2026-07-20 14:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138952 -2.813825)'), GeomFromEWKT('SRID=4674;POINT (-40.138831 -2.813824)'))) / (select extract(epoch from '2026-07-20 14:24:49'::timestamp) - extract(epoch from '2026-07-20 14:24: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'), 47632, 'SRID=4674;POINT (-40.138684 -2.813832)', '2026-07-20 14:24:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138831 -2.813824)'), GeomFromEWKT('SRID=4674;POINT (-40.138684 -2.813832)'))) / (select extract(epoch from '2026-07-20 14:24:57'::timestamp) - extract(epoch from '2026-07-20 14:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138831 -2.813824)'), GeomFromEWKT('SRID=4674;POINT (-40.138684 -2.813832)'))) / (select extract(epoch from '2026-07-20 14:24:57'::timestamp) - extract(epoch from '2026-07-20 14:24: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'), 47632, 'SRID=4674;POINT (-40.138529 -2.813831)', '2026-07-20 14:25:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138684 -2.813832)'), GeomFromEWKT('SRID=4674;POINT (-40.138529 -2.813831)'))) / (select extract(epoch from '2026-07-20 14:25:06'::timestamp) - extract(epoch from '2026-07-20 14:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138684 -2.813832)'), GeomFromEWKT('SRID=4674;POINT (-40.138529 -2.813831)'))) / (select extract(epoch from '2026-07-20 14:25:06'::timestamp) - extract(epoch from '2026-07-20 14:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.138347 -2.813841)', '2026-07-20 14:25:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138529 -2.813831)'), GeomFromEWKT('SRID=4674;POINT (-40.138347 -2.813841)'))) / (select extract(epoch from '2026-07-20 14:25:17'::timestamp) - extract(epoch from '2026-07-20 14:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138529 -2.813831)'), GeomFromEWKT('SRID=4674;POINT (-40.138347 -2.813841)'))) / (select extract(epoch from '2026-07-20 14:25:17'::timestamp) - extract(epoch from '2026-07-20 14:25: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'), 47632, 'SRID=4674;POINT (-40.138197 -2.813851)', '2026-07-20 14:25:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138347 -2.813841)'), GeomFromEWKT('SRID=4674;POINT (-40.138197 -2.813851)'))) / (select extract(epoch from '2026-07-20 14:25:27'::timestamp) - extract(epoch from '2026-07-20 14:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138347 -2.813841)'), GeomFromEWKT('SRID=4674;POINT (-40.138197 -2.813851)'))) / (select extract(epoch from '2026-07-20 14:25:27'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.138055 -2.813872)', '2026-07-20 14:25:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138197 -2.813851)'), GeomFromEWKT('SRID=4674;POINT (-40.138055 -2.813872)'))) / (select extract(epoch from '2026-07-20 14:25:36'::timestamp) - extract(epoch from '2026-07-20 14:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138197 -2.813851)'), GeomFromEWKT('SRID=4674;POINT (-40.138055 -2.813872)'))) / (select extract(epoch from '2026-07-20 14:25:36'::timestamp) - extract(epoch from '2026-07-20 14:25: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'), 47632, 'SRID=4674;POINT (-40.137871 -2.813857)', '2026-07-20 14:25:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138055 -2.813872)'), GeomFromEWKT('SRID=4674;POINT (-40.137871 -2.813857)'))) / (select extract(epoch from '2026-07-20 14:25:49'::timestamp) - extract(epoch from '2026-07-20 14:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138055 -2.813872)'), GeomFromEWKT('SRID=4674;POINT (-40.137871 -2.813857)'))) / (select extract(epoch from '2026-07-20 14:25:49'::timestamp) - extract(epoch from '2026-07-20 14:25:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137726 -2.813849)', '2026-07-20 14:25:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137871 -2.813857)'), GeomFromEWKT('SRID=4674;POINT (-40.137726 -2.813849)'))) / (select extract(epoch from '2026-07-20 14:25:59'::timestamp) - extract(epoch from '2026-07-20 14:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137871 -2.813857)'), GeomFromEWKT('SRID=4674;POINT (-40.137726 -2.813849)'))) / (select extract(epoch from '2026-07-20 14:25:59'::timestamp) - extract(epoch from '2026-07-20 14:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137559 -2.813852)', '2026-07-20 14:26:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137726 -2.813849)'), GeomFromEWKT('SRID=4674;POINT (-40.137559 -2.813852)'))) / (select extract(epoch from '2026-07-20 14:26:08'::timestamp) - extract(epoch from '2026-07-20 14:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137726 -2.813849)'), GeomFromEWKT('SRID=4674;POINT (-40.137559 -2.813852)'))) / (select extract(epoch from '2026-07-20 14:26:08'::timestamp) - extract(epoch from '2026-07-20 14:25:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137324 -2.813858)', '2026-07-20 14:26:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137559 -2.813852)'), GeomFromEWKT('SRID=4674;POINT (-40.137324 -2.813858)'))) / (select extract(epoch from '2026-07-20 14:26:20'::timestamp) - extract(epoch from '2026-07-20 14:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137559 -2.813852)'), GeomFromEWKT('SRID=4674;POINT (-40.137324 -2.813858)'))) / (select extract(epoch from '2026-07-20 14:26:20'::timestamp) - extract(epoch from '2026-07-20 14:26:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137188 -2.81386)', '2026-07-20 14:26:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137324 -2.813858)'), GeomFromEWKT('SRID=4674;POINT (-40.137188 -2.81386)'))) / (select extract(epoch from '2026-07-20 14:26:29'::timestamp) - extract(epoch from '2026-07-20 14:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137324 -2.813858)'), GeomFromEWKT('SRID=4674;POINT (-40.137188 -2.81386)'))) / (select extract(epoch from '2026-07-20 14:26:29'::timestamp) - extract(epoch from '2026-07-20 14:26:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137031 -2.813869)', '2026-07-20 14:26:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137188 -2.81386)'), GeomFromEWKT('SRID=4674;POINT (-40.137031 -2.813869)'))) / (select extract(epoch from '2026-07-20 14:26:40'::timestamp) - extract(epoch from '2026-07-20 14:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137188 -2.81386)'), GeomFromEWKT('SRID=4674;POINT (-40.137031 -2.813869)'))) / (select extract(epoch from '2026-07-20 14:26:40'::timestamp) - extract(epoch from '2026-07-20 14:26: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'), 47632, 'SRID=4674;POINT (-40.136903 -2.81386)', '2026-07-20 14:26:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137031 -2.813869)'), GeomFromEWKT('SRID=4674;POINT (-40.136903 -2.81386)'))) / (select extract(epoch from '2026-07-20 14:26:48'::timestamp) - extract(epoch from '2026-07-20 14:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137031 -2.813869)'), GeomFromEWKT('SRID=4674;POINT (-40.136903 -2.81386)'))) / (select extract(epoch from '2026-07-20 14:26:48'::timestamp) - extract(epoch from '2026-07-20 14:26: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'), 47632, 'SRID=4674;POINT (-40.136726 -2.813865)', '2026-07-20 14:26:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136903 -2.81386)'), GeomFromEWKT('SRID=4674;POINT (-40.136726 -2.813865)'))) / (select extract(epoch from '2026-07-20 14:26:58'::timestamp) - extract(epoch from '2026-07-20 14:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136903 -2.81386)'), GeomFromEWKT('SRID=4674;POINT (-40.136726 -2.813865)'))) / (select extract(epoch from '2026-07-20 14:26:58'::timestamp) - extract(epoch from '2026-07-20 14:26: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'), 47632, 'SRID=4674;POINT (-40.136556 -2.813855)', '2026-07-20 14:27:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136726 -2.813865)'), GeomFromEWKT('SRID=4674;POINT (-40.136556 -2.813855)'))) / (select extract(epoch from '2026-07-20 14:27:08'::timestamp) - extract(epoch from '2026-07-20 14:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136726 -2.813865)'), GeomFromEWKT('SRID=4674;POINT (-40.136556 -2.813855)'))) / (select extract(epoch from '2026-07-20 14:27:08'::timestamp) - extract(epoch from '2026-07-20 14:26: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'), 47632, 'SRID=4674;POINT (-40.13642 -2.813859)', '2026-07-20 14:27:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136556 -2.813855)'), GeomFromEWKT('SRID=4674;POINT (-40.13642 -2.813859)'))) / (select extract(epoch from '2026-07-20 14:27:17'::timestamp) - extract(epoch from '2026-07-20 14:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136556 -2.813855)'), GeomFromEWKT('SRID=4674;POINT (-40.13642 -2.813859)'))) / (select extract(epoch from '2026-07-20 14:27:17'::timestamp) - extract(epoch from '2026-07-20 14:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.136228 -2.813844)', '2026-07-20 14:27:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13642 -2.813859)'), GeomFromEWKT('SRID=4674;POINT (-40.136228 -2.813844)'))) / (select extract(epoch from '2026-07-20 14:27:28'::timestamp) - extract(epoch from '2026-07-20 14:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13642 -2.813859)'), GeomFromEWKT('SRID=4674;POINT (-40.136228 -2.813844)'))) / (select extract(epoch from '2026-07-20 14:27:28'::timestamp) - extract(epoch from '2026-07-20 14:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.136086 -2.813843)', '2026-07-20 14:27:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136228 -2.813844)'), GeomFromEWKT('SRID=4674;POINT (-40.136086 -2.813843)'))) / (select extract(epoch from '2026-07-20 14:27:38'::timestamp) - extract(epoch from '2026-07-20 14:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136228 -2.813844)'), GeomFromEWKT('SRID=4674;POINT (-40.136086 -2.813843)'))) / (select extract(epoch from '2026-07-20 14:27:38'::timestamp) - extract(epoch from '2026-07-20 14:27: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'), 47632, 'SRID=4674;POINT (-40.135964 -2.813855)', '2026-07-20 14:27:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136086 -2.813843)'), GeomFromEWKT('SRID=4674;POINT (-40.135964 -2.813855)'))) / (select extract(epoch from '2026-07-20 14:27:46'::timestamp) - extract(epoch from '2026-07-20 14:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136086 -2.813843)'), GeomFromEWKT('SRID=4674;POINT (-40.135964 -2.813855)'))) / (select extract(epoch from '2026-07-20 14:27:46'::timestamp) - extract(epoch from '2026-07-20 14:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135814 -2.813878)', '2026-07-20 14:27:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135964 -2.813855)'), GeomFromEWKT('SRID=4674;POINT (-40.135814 -2.813878)'))) / (select extract(epoch from '2026-07-20 14:27:55'::timestamp) - extract(epoch from '2026-07-20 14:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135964 -2.813855)'), GeomFromEWKT('SRID=4674;POINT (-40.135814 -2.813878)'))) / (select extract(epoch from '2026-07-20 14:27:55'::timestamp) - extract(epoch from '2026-07-20 14:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135698 -2.81387)', '2026-07-20 14:28:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135814 -2.813878)'), GeomFromEWKT('SRID=4674;POINT (-40.135698 -2.81387)'))) / (select extract(epoch from '2026-07-20 14:28:02'::timestamp) - extract(epoch from '2026-07-20 14:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135814 -2.813878)'), GeomFromEWKT('SRID=4674;POINT (-40.135698 -2.81387)'))) / (select extract(epoch from '2026-07-20 14:28:02'::timestamp) - extract(epoch from '2026-07-20 14:27: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'), 47632, 'SRID=4674;POINT (-40.135572 -2.813857)', '2026-07-20 14:28:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135698 -2.81387)'), GeomFromEWKT('SRID=4674;POINT (-40.135572 -2.813857)'))) / (select extract(epoch from '2026-07-20 14:28:10'::timestamp) - extract(epoch from '2026-07-20 14:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135698 -2.81387)'), GeomFromEWKT('SRID=4674;POINT (-40.135572 -2.813857)'))) / (select extract(epoch from '2026-07-20 14:28:10'::timestamp) - extract(epoch from '2026-07-20 14:28: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'), 47632, 'SRID=4674;POINT (-40.135439 -2.81385)', '2026-07-20 14:28:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135572 -2.813857)'), GeomFromEWKT('SRID=4674;POINT (-40.135439 -2.81385)'))) / (select extract(epoch from '2026-07-20 14:28:19'::timestamp) - extract(epoch from '2026-07-20 14:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135572 -2.813857)'), GeomFromEWKT('SRID=4674;POINT (-40.135439 -2.81385)'))) / (select extract(epoch from '2026-07-20 14:28:19'::timestamp) - extract(epoch from '2026-07-20 14:28: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'), 47632, 'SRID=4674;POINT (-40.13527 -2.81384)', '2026-07-20 14:28:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135439 -2.81385)'), GeomFromEWKT('SRID=4674;POINT (-40.13527 -2.81384)'))) / (select extract(epoch from '2026-07-20 14:28:29'::timestamp) - extract(epoch from '2026-07-20 14:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135439 -2.81385)'), GeomFromEWKT('SRID=4674;POINT (-40.13527 -2.81384)'))) / (select extract(epoch from '2026-07-20 14:28:29'::timestamp) - extract(epoch from '2026-07-20 14:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135139 -2.813832)', '2026-07-20 14:28:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13527 -2.81384)'), GeomFromEWKT('SRID=4674;POINT (-40.135139 -2.813832)'))) / (select extract(epoch from '2026-07-20 14:28:37'::timestamp) - extract(epoch from '2026-07-20 14:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13527 -2.81384)'), GeomFromEWKT('SRID=4674;POINT (-40.135139 -2.813832)'))) / (select extract(epoch from '2026-07-20 14:28:37'::timestamp) - extract(epoch from '2026-07-20 14:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135032 -2.813835)', '2026-07-20 14:28:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135139 -2.813832)'), GeomFromEWKT('SRID=4674;POINT (-40.135032 -2.813835)'))) / (select extract(epoch from '2026-07-20 14:28:44'::timestamp) - extract(epoch from '2026-07-20 14:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135139 -2.813832)'), GeomFromEWKT('SRID=4674;POINT (-40.135032 -2.813835)'))) / (select extract(epoch from '2026-07-20 14:28:44'::timestamp) - extract(epoch from '2026-07-20 14:28: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'), 47632, 'SRID=4674;POINT (-40.134892 -2.813832)', '2026-07-20 14:28:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135032 -2.813835)'), GeomFromEWKT('SRID=4674;POINT (-40.134892 -2.813832)'))) / (select extract(epoch from '2026-07-20 14:28:53'::timestamp) - extract(epoch from '2026-07-20 14:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135032 -2.813835)'), GeomFromEWKT('SRID=4674;POINT (-40.134892 -2.813832)'))) / (select extract(epoch from '2026-07-20 14:28:53'::timestamp) - extract(epoch from '2026-07-20 14:28: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'), 47632, 'SRID=4674;POINT (-40.134749 -2.813831)', '2026-07-20 14:29:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134892 -2.813832)'), GeomFromEWKT('SRID=4674;POINT (-40.134749 -2.813831)'))) / (select extract(epoch from '2026-07-20 14:29:01'::timestamp) - extract(epoch from '2026-07-20 14:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134892 -2.813832)'), GeomFromEWKT('SRID=4674;POINT (-40.134749 -2.813831)'))) / (select extract(epoch from '2026-07-20 14:29:01'::timestamp) - extract(epoch from '2026-07-20 14:28: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'), 47632, 'SRID=4674;POINT (-40.134622 -2.813826)', '2026-07-20 14:29:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134749 -2.813831)'), GeomFromEWKT('SRID=4674;POINT (-40.134622 -2.813826)'))) / (select extract(epoch from '2026-07-20 14:29:09'::timestamp) - extract(epoch from '2026-07-20 14:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134749 -2.813831)'), GeomFromEWKT('SRID=4674;POINT (-40.134622 -2.813826)'))) / (select extract(epoch from '2026-07-20 14:29:09'::timestamp) - extract(epoch from '2026-07-20 14:29:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134513 -2.813853)', '2026-07-20 14:29:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134622 -2.813826)'), GeomFromEWKT('SRID=4674;POINT (-40.134513 -2.813853)'))) / (select extract(epoch from '2026-07-20 14:29:16'::timestamp) - extract(epoch from '2026-07-20 14:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134622 -2.813826)'), GeomFromEWKT('SRID=4674;POINT (-40.134513 -2.813853)'))) / (select extract(epoch from '2026-07-20 14:29:16'::timestamp) - extract(epoch from '2026-07-20 14:29:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134424 -2.81389)', '2026-07-20 14:29:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134513 -2.813853)'), GeomFromEWKT('SRID=4674;POINT (-40.134424 -2.81389)'))) / (select extract(epoch from '2026-07-20 14:29:23'::timestamp) - extract(epoch from '2026-07-20 14:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134513 -2.813853)'), GeomFromEWKT('SRID=4674;POINT (-40.134424 -2.81389)'))) / (select extract(epoch from '2026-07-20 14:29:23'::timestamp) - extract(epoch from '2026-07-20 14:29:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134271 -2.813935)', '2026-07-20 14:29:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134424 -2.81389)'), GeomFromEWKT('SRID=4674;POINT (-40.134271 -2.813935)'))) / (select extract(epoch from '2026-07-20 14:29:34'::timestamp) - extract(epoch from '2026-07-20 14:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134424 -2.81389)'), GeomFromEWKT('SRID=4674;POINT (-40.134271 -2.813935)'))) / (select extract(epoch from '2026-07-20 14:29:34'::timestamp) - extract(epoch from '2026-07-20 14:29: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'), 47632, 'SRID=4674;POINT (-40.13412 -2.813957)', '2026-07-20 14:29:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134271 -2.813935)'), GeomFromEWKT('SRID=4674;POINT (-40.13412 -2.813957)'))) / (select extract(epoch from '2026-07-20 14:29:44'::timestamp) - extract(epoch from '2026-07-20 14:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134271 -2.813935)'), GeomFromEWKT('SRID=4674;POINT (-40.13412 -2.813957)'))) / (select extract(epoch from '2026-07-20 14:29:44'::timestamp) - extract(epoch from '2026-07-20 14:29: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'), 47632, 'SRID=4674;POINT (-40.133978 -2.81397)', '2026-07-20 14:29:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13412 -2.813957)'), GeomFromEWKT('SRID=4674;POINT (-40.133978 -2.81397)'))) / (select extract(epoch from '2026-07-20 14:29:53'::timestamp) - extract(epoch from '2026-07-20 14:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13412 -2.813957)'), GeomFromEWKT('SRID=4674;POINT (-40.133978 -2.81397)'))) / (select extract(epoch from '2026-07-20 14:29:53'::timestamp) - extract(epoch from '2026-07-20 14:29: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'), 47632, 'SRID=4674;POINT (-40.133804 -2.813984)', '2026-07-20 14:30:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133978 -2.81397)'), GeomFromEWKT('SRID=4674;POINT (-40.133804 -2.813984)'))) / (select extract(epoch from '2026-07-20 14:30:04'::timestamp) - extract(epoch from '2026-07-20 14:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133978 -2.81397)'), GeomFromEWKT('SRID=4674;POINT (-40.133804 -2.813984)'))) / (select extract(epoch from '2026-07-20 14:30:04'::timestamp) - extract(epoch from '2026-07-20 14:29:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133676 -2.813999)', '2026-07-20 14:30:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133804 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.133676 -2.813999)'))) / (select extract(epoch from '2026-07-20 14:30:13'::timestamp) - extract(epoch from '2026-07-20 14:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133804 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.133676 -2.813999)'))) / (select extract(epoch from '2026-07-20 14:30:13'::timestamp) - extract(epoch from '2026-07-20 14:30: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'), 47632, 'SRID=4674;POINT (-40.133524 -2.814008)', '2026-07-20 14:30:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133676 -2.813999)'), GeomFromEWKT('SRID=4674;POINT (-40.133524 -2.814008)'))) / (select extract(epoch from '2026-07-20 14:30:23'::timestamp) - extract(epoch from '2026-07-20 14:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133676 -2.813999)'), GeomFromEWKT('SRID=4674;POINT (-40.133524 -2.814008)'))) / (select extract(epoch from '2026-07-20 14:30:23'::timestamp) - extract(epoch from '2026-07-20 14:30: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'), 47632, 'SRID=4674;POINT (-40.133429 -2.814022)', '2026-07-20 14:30:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133524 -2.814008)'), GeomFromEWKT('SRID=4674;POINT (-40.133429 -2.814022)'))) / (select extract(epoch from '2026-07-20 14:30:30'::timestamp) - extract(epoch from '2026-07-20 14:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133524 -2.814008)'), GeomFromEWKT('SRID=4674;POINT (-40.133429 -2.814022)'))) / (select extract(epoch from '2026-07-20 14:30:30'::timestamp) - extract(epoch from '2026-07-20 14:30: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'), 47632, 'SRID=4674;POINT (-40.133257 -2.81405)', '2026-07-20 14:30:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133429 -2.814022)'), GeomFromEWKT('SRID=4674;POINT (-40.133257 -2.81405)'))) / (select extract(epoch from '2026-07-20 14:30:40'::timestamp) - extract(epoch from '2026-07-20 14:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133429 -2.814022)'), GeomFromEWKT('SRID=4674;POINT (-40.133257 -2.81405)'))) / (select extract(epoch from '2026-07-20 14:30:40'::timestamp) - extract(epoch from '2026-07-20 14:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133141 -2.814076)', '2026-07-20 14:30:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133257 -2.81405)'), GeomFromEWKT('SRID=4674;POINT (-40.133141 -2.814076)'))) / (select extract(epoch from '2026-07-20 14:30:48'::timestamp) - extract(epoch from '2026-07-20 14:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133257 -2.81405)'), GeomFromEWKT('SRID=4674;POINT (-40.133141 -2.814076)'))) / (select extract(epoch from '2026-07-20 14:30:48'::timestamp) - extract(epoch from '2026-07-20 14:30: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'), 47632, 'SRID=4674;POINT (-40.133003 -2.814097)', '2026-07-20 14:30:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133141 -2.814076)'), GeomFromEWKT('SRID=4674;POINT (-40.133003 -2.814097)'))) / (select extract(epoch from '2026-07-20 14:30:57'::timestamp) - extract(epoch from '2026-07-20 14:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133141 -2.814076)'), GeomFromEWKT('SRID=4674;POINT (-40.133003 -2.814097)'))) / (select extract(epoch from '2026-07-20 14:30:57'::timestamp) - extract(epoch from '2026-07-20 14:30:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132893 -2.814131)', '2026-07-20 14:31:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133003 -2.814097)'), GeomFromEWKT('SRID=4674;POINT (-40.132893 -2.814131)'))) / (select extract(epoch from '2026-07-20 14:31:05'::timestamp) - extract(epoch from '2026-07-20 14:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133003 -2.814097)'), GeomFromEWKT('SRID=4674;POINT (-40.132893 -2.814131)'))) / (select extract(epoch from '2026-07-20 14:31:05'::timestamp) - extract(epoch from '2026-07-20 14:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132781 -2.814165)', '2026-07-20 14:31:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132893 -2.814131)'), GeomFromEWKT('SRID=4674;POINT (-40.132781 -2.814165)'))) / (select extract(epoch from '2026-07-20 14:31:13'::timestamp) - extract(epoch from '2026-07-20 14:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132893 -2.814131)'), GeomFromEWKT('SRID=4674;POINT (-40.132781 -2.814165)'))) / (select extract(epoch from '2026-07-20 14:31:13'::timestamp) - extract(epoch from '2026-07-20 14:31: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'), 47632, 'SRID=4674;POINT (-40.132651 -2.814186)', '2026-07-20 14:31:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132781 -2.814165)'), GeomFromEWKT('SRID=4674;POINT (-40.132651 -2.814186)'))) / (select extract(epoch from '2026-07-20 14:31:22'::timestamp) - extract(epoch from '2026-07-20 14:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132781 -2.814165)'), GeomFromEWKT('SRID=4674;POINT (-40.132651 -2.814186)'))) / (select extract(epoch from '2026-07-20 14:31:22'::timestamp) - extract(epoch from '2026-07-20 14:31: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'), 47632, 'SRID=4674;POINT (-40.132505 -2.8142)', '2026-07-20 14:31:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132651 -2.814186)'), GeomFromEWKT('SRID=4674;POINT (-40.132505 -2.8142)'))) / (select extract(epoch from '2026-07-20 14:31:32'::timestamp) - extract(epoch from '2026-07-20 14:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132651 -2.814186)'), GeomFromEWKT('SRID=4674;POINT (-40.132505 -2.8142)'))) / (select extract(epoch from '2026-07-20 14:31:32'::timestamp) - extract(epoch from '2026-07-20 14:31: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'), 47632, 'SRID=4674;POINT (-40.132376 -2.814232)', '2026-07-20 14:31:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132505 -2.8142)'), GeomFromEWKT('SRID=4674;POINT (-40.132376 -2.814232)'))) / (select extract(epoch from '2026-07-20 14:31:41'::timestamp) - extract(epoch from '2026-07-20 14:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132505 -2.8142)'), GeomFromEWKT('SRID=4674;POINT (-40.132376 -2.814232)'))) / (select extract(epoch from '2026-07-20 14:31:41'::timestamp) - extract(epoch from '2026-07-20 14:31: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'), 47632, 'SRID=4674;POINT (-40.132248 -2.814268)', '2026-07-20 14:31:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132376 -2.814232)'), GeomFromEWKT('SRID=4674;POINT (-40.132248 -2.814268)'))) / (select extract(epoch from '2026-07-20 14:31:50'::timestamp) - extract(epoch from '2026-07-20 14:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132376 -2.814232)'), GeomFromEWKT('SRID=4674;POINT (-40.132248 -2.814268)'))) / (select extract(epoch from '2026-07-20 14:31:50'::timestamp) - extract(epoch from '2026-07-20 14:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132124 -2.814301)', '2026-07-20 14:31:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132248 -2.814268)'), GeomFromEWKT('SRID=4674;POINT (-40.132124 -2.814301)'))) / (select extract(epoch from '2026-07-20 14:31:58'::timestamp) - extract(epoch from '2026-07-20 14:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132248 -2.814268)'), GeomFromEWKT('SRID=4674;POINT (-40.132124 -2.814301)'))) / (select extract(epoch from '2026-07-20 14:31:58'::timestamp) - extract(epoch from '2026-07-20 14:31: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'), 47632, 'SRID=4674;POINT (-40.132022 -2.81432)', '2026-07-20 14:32:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132124 -2.814301)'), GeomFromEWKT('SRID=4674;POINT (-40.132022 -2.81432)'))) / (select extract(epoch from '2026-07-20 14:32:05'::timestamp) - extract(epoch from '2026-07-20 14:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132124 -2.814301)'), GeomFromEWKT('SRID=4674;POINT (-40.132022 -2.81432)'))) / (select extract(epoch from '2026-07-20 14:32:05'::timestamp) - extract(epoch from '2026-07-20 14:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131894 -2.814346)', '2026-07-20 14:32:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132022 -2.81432)'), GeomFromEWKT('SRID=4674;POINT (-40.131894 -2.814346)'))) / (select extract(epoch from '2026-07-20 14:32:14'::timestamp) - extract(epoch from '2026-07-20 14:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132022 -2.81432)'), GeomFromEWKT('SRID=4674;POINT (-40.131894 -2.814346)'))) / (select extract(epoch from '2026-07-20 14:32:14'::timestamp) - extract(epoch from '2026-07-20 14:32: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'), 47632, 'SRID=4674;POINT (-40.131796 -2.814381)', '2026-07-20 14:32:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131894 -2.814346)'), GeomFromEWKT('SRID=4674;POINT (-40.131796 -2.814381)'))) / (select extract(epoch from '2026-07-20 14:32:21'::timestamp) - extract(epoch from '2026-07-20 14:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131894 -2.814346)'), GeomFromEWKT('SRID=4674;POINT (-40.131796 -2.814381)'))) / (select extract(epoch from '2026-07-20 14:32:21'::timestamp) - extract(epoch from '2026-07-20 14:32: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'), 47632, 'SRID=4674;POINT (-40.131668 -2.814438)', '2026-07-20 14:32:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131796 -2.814381)'), GeomFromEWKT('SRID=4674;POINT (-40.131668 -2.814438)'))) / (select extract(epoch from '2026-07-20 14:32:31'::timestamp) - extract(epoch from '2026-07-20 14:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131796 -2.814381)'), GeomFromEWKT('SRID=4674;POINT (-40.131668 -2.814438)'))) / (select extract(epoch from '2026-07-20 14:32:31'::timestamp) - extract(epoch from '2026-07-20 14:32: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'), 47632, 'SRID=4674;POINT (-40.131532 -2.814477)', '2026-07-20 14:32:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131668 -2.814438)'), GeomFromEWKT('SRID=4674;POINT (-40.131532 -2.814477)'))) / (select extract(epoch from '2026-07-20 14:32:39'::timestamp) - extract(epoch from '2026-07-20 14:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131668 -2.814438)'), GeomFromEWKT('SRID=4674;POINT (-40.131532 -2.814477)'))) / (select extract(epoch from '2026-07-20 14:32:39'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.131397 -2.814523)', '2026-07-20 14:32:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131532 -2.814477)'), GeomFromEWKT('SRID=4674;POINT (-40.131397 -2.814523)'))) / (select extract(epoch from '2026-07-20 14:32:48'::timestamp) - extract(epoch from '2026-07-20 14:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131532 -2.814477)'), GeomFromEWKT('SRID=4674;POINT (-40.131397 -2.814523)'))) / (select extract(epoch from '2026-07-20 14:32:48'::timestamp) - extract(epoch from '2026-07-20 14:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131257 -2.814579)', '2026-07-20 14:32:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131397 -2.814523)'), GeomFromEWKT('SRID=4674;POINT (-40.131257 -2.814579)'))) / (select extract(epoch from '2026-07-20 14:32:58'::timestamp) - extract(epoch from '2026-07-20 14:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131397 -2.814523)'), GeomFromEWKT('SRID=4674;POINT (-40.131257 -2.814579)'))) / (select extract(epoch from '2026-07-20 14:32:58'::timestamp) - extract(epoch from '2026-07-20 14:32: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'), 47632, 'SRID=4674;POINT (-40.131156 -2.814611)', '2026-07-20 14:33:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131257 -2.814579)'), GeomFromEWKT('SRID=4674;POINT (-40.131156 -2.814611)'))) / (select extract(epoch from '2026-07-20 14:33:05'::timestamp) - extract(epoch from '2026-07-20 14:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131257 -2.814579)'), GeomFromEWKT('SRID=4674;POINT (-40.131156 -2.814611)'))) / (select extract(epoch from '2026-07-20 14:33:05'::timestamp) - extract(epoch from '2026-07-20 14:32:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131004 -2.814646)', '2026-07-20 14:33:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131156 -2.814611)'), GeomFromEWKT('SRID=4674;POINT (-40.131004 -2.814646)'))) / (select extract(epoch from '2026-07-20 14:33:15'::timestamp) - extract(epoch from '2026-07-20 14:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131156 -2.814611)'), GeomFromEWKT('SRID=4674;POINT (-40.131004 -2.814646)'))) / (select extract(epoch from '2026-07-20 14:33:15'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.130854 -2.814689)', '2026-07-20 14:33:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131004 -2.814646)'), GeomFromEWKT('SRID=4674;POINT (-40.130854 -2.814689)'))) / (select extract(epoch from '2026-07-20 14:33:25'::timestamp) - extract(epoch from '2026-07-20 14:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131004 -2.814646)'), GeomFromEWKT('SRID=4674;POINT (-40.130854 -2.814689)'))) / (select extract(epoch from '2026-07-20 14:33:25'::timestamp) - extract(epoch from '2026-07-20 14:33: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'), 47632, 'SRID=4674;POINT (-40.130706 -2.814726)', '2026-07-20 14:33:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130854 -2.814689)'), GeomFromEWKT('SRID=4674;POINT (-40.130706 -2.814726)'))) / (select extract(epoch from '2026-07-20 14:33:35'::timestamp) - extract(epoch from '2026-07-20 14:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130854 -2.814689)'), GeomFromEWKT('SRID=4674;POINT (-40.130706 -2.814726)'))) / (select extract(epoch from '2026-07-20 14:33:35'::timestamp) - extract(epoch from '2026-07-20 14:33: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'), 47632, 'SRID=4674;POINT (-40.130571 -2.81477)', '2026-07-20 14:33:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130706 -2.814726)'), GeomFromEWKT('SRID=4674;POINT (-40.130571 -2.81477)'))) / (select extract(epoch from '2026-07-20 14:33:45'::timestamp) - extract(epoch from '2026-07-20 14:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130706 -2.814726)'), GeomFromEWKT('SRID=4674;POINT (-40.130571 -2.81477)'))) / (select extract(epoch from '2026-07-20 14:33:45'::timestamp) - extract(epoch from '2026-07-20 14:33: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'), 47632, 'SRID=4674;POINT (-40.130413 -2.814793)', '2026-07-20 14:33:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130571 -2.81477)'), GeomFromEWKT('SRID=4674;POINT (-40.130413 -2.814793)'))) / (select extract(epoch from '2026-07-20 14:33:56'::timestamp) - extract(epoch from '2026-07-20 14:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130571 -2.81477)'), GeomFromEWKT('SRID=4674;POINT (-40.130413 -2.814793)'))) / (select extract(epoch from '2026-07-20 14:33:56'::timestamp) - extract(epoch from '2026-07-20 14:33: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'), 47632, 'SRID=4674;POINT (-40.130305 -2.814807)', '2026-07-20 14:34:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130413 -2.814793)'), GeomFromEWKT('SRID=4674;POINT (-40.130305 -2.814807)'))) / (select extract(epoch from '2026-07-20 14:34:04'::timestamp) - extract(epoch from '2026-07-20 14:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130413 -2.814793)'), GeomFromEWKT('SRID=4674;POINT (-40.130305 -2.814807)'))) / (select extract(epoch from '2026-07-20 14:34:04'::timestamp) - extract(epoch from '2026-07-20 14:33: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'), 47632, 'SRID=4674;POINT (-40.130177 -2.814833)', '2026-07-20 14:34:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130305 -2.814807)'), GeomFromEWKT('SRID=4674;POINT (-40.130177 -2.814833)'))) / (select extract(epoch from '2026-07-20 14:34:12'::timestamp) - extract(epoch from '2026-07-20 14:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130305 -2.814807)'), GeomFromEWKT('SRID=4674;POINT (-40.130177 -2.814833)'))) / (select extract(epoch from '2026-07-20 14:34:12'::timestamp) - extract(epoch from '2026-07-20 14:34: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'), 47632, 'SRID=4674;POINT (-40.130061 -2.814852)', '2026-07-20 14:34:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130177 -2.814833)'), GeomFromEWKT('SRID=4674;POINT (-40.130061 -2.814852)'))) / (select extract(epoch from '2026-07-20 14:34:20'::timestamp) - extract(epoch from '2026-07-20 14:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130177 -2.814833)'), GeomFromEWKT('SRID=4674;POINT (-40.130061 -2.814852)'))) / (select extract(epoch from '2026-07-20 14:34:20'::timestamp) - extract(epoch from '2026-07-20 14:34: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'), 47632, 'SRID=4674;POINT (-40.129942 -2.814879)', '2026-07-20 14:34:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130061 -2.814852)'), GeomFromEWKT('SRID=4674;POINT (-40.129942 -2.814879)'))) / (select extract(epoch from '2026-07-20 14:34:28'::timestamp) - extract(epoch from '2026-07-20 14:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130061 -2.814852)'), GeomFromEWKT('SRID=4674;POINT (-40.129942 -2.814879)'))) / (select extract(epoch from '2026-07-20 14:34:28'::timestamp) - extract(epoch from '2026-07-20 14:34: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'), 47632, 'SRID=4674;POINT (-40.129817 -2.814907)', '2026-07-20 14:34:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129942 -2.814879)'), GeomFromEWKT('SRID=4674;POINT (-40.129817 -2.814907)'))) / (select extract(epoch from '2026-07-20 14:34:35'::timestamp) - extract(epoch from '2026-07-20 14:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129942 -2.814879)'), GeomFromEWKT('SRID=4674;POINT (-40.129817 -2.814907)'))) / (select extract(epoch from '2026-07-20 14:34:35'::timestamp) - extract(epoch from '2026-07-20 14:34: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'), 47632, 'SRID=4674;POINT (-40.129682 -2.814936)', '2026-07-20 14:34:43', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129817 -2.814907)'), GeomFromEWKT('SRID=4674;POINT (-40.129682 -2.814936)'))) / (select extract(epoch from '2026-07-20 14:34:43'::timestamp) - extract(epoch from '2026-07-20 14:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129817 -2.814907)'), GeomFromEWKT('SRID=4674;POINT (-40.129682 -2.814936)'))) / (select extract(epoch from '2026-07-20 14:34:43'::timestamp) - extract(epoch from '2026-07-20 14:34: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'), 47632, 'SRID=4674;POINT (-40.129567 -2.814947)', '2026-07-20 14:34:51', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129682 -2.814936)'), GeomFromEWKT('SRID=4674;POINT (-40.129567 -2.814947)'))) / (select extract(epoch from '2026-07-20 14:34:51'::timestamp) - extract(epoch from '2026-07-20 14:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129682 -2.814936)'), GeomFromEWKT('SRID=4674;POINT (-40.129567 -2.814947)'))) / (select extract(epoch from '2026-07-20 14:34:51'::timestamp) - extract(epoch from '2026-07-20 14:34: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'), 47632, 'SRID=4674;POINT (-40.129408 -2.814961)', '2026-07-20 14:35:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129567 -2.814947)'), GeomFromEWKT('SRID=4674;POINT (-40.129408 -2.814961)'))) / (select extract(epoch from '2026-07-20 14:35:01'::timestamp) - extract(epoch from '2026-07-20 14:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129567 -2.814947)'), GeomFromEWKT('SRID=4674;POINT (-40.129408 -2.814961)'))) / (select extract(epoch from '2026-07-20 14:35:01'::timestamp) - extract(epoch from '2026-07-20 14:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129275 -2.814973)', '2026-07-20 14:35:10', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129408 -2.814961)'), GeomFromEWKT('SRID=4674;POINT (-40.129275 -2.814973)'))) / (select extract(epoch from '2026-07-20 14:35:10'::timestamp) - extract(epoch from '2026-07-20 14:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129408 -2.814961)'), GeomFromEWKT('SRID=4674;POINT (-40.129275 -2.814973)'))) / (select extract(epoch from '2026-07-20 14:35:10'::timestamp) - extract(epoch from '2026-07-20 14:35: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'), 47632, 'SRID=4674;POINT (-40.129127 -2.814995)', '2026-07-20 14:35:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129275 -2.814973)'), GeomFromEWKT('SRID=4674;POINT (-40.129127 -2.814995)'))) / (select extract(epoch from '2026-07-20 14:35:20'::timestamp) - extract(epoch from '2026-07-20 14:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129275 -2.814973)'), GeomFromEWKT('SRID=4674;POINT (-40.129127 -2.814995)'))) / (select extract(epoch from '2026-07-20 14:35:20'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.128995 -2.815012)', '2026-07-20 14:35:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129127 -2.814995)'), GeomFromEWKT('SRID=4674;POINT (-40.128995 -2.815012)'))) / (select extract(epoch from '2026-07-20 14:35:29'::timestamp) - extract(epoch from '2026-07-20 14:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129127 -2.814995)'), GeomFromEWKT('SRID=4674;POINT (-40.128995 -2.815012)'))) / (select extract(epoch from '2026-07-20 14:35:29'::timestamp) - extract(epoch from '2026-07-20 14:35: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'), 47632, 'SRID=4674;POINT (-40.128864 -2.815016)', '2026-07-20 14:35:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128995 -2.815012)'), GeomFromEWKT('SRID=4674;POINT (-40.128864 -2.815016)'))) / (select extract(epoch from '2026-07-20 14:35:37'::timestamp) - extract(epoch from '2026-07-20 14:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128995 -2.815012)'), GeomFromEWKT('SRID=4674;POINT (-40.128864 -2.815016)'))) / (select extract(epoch from '2026-07-20 14:35:37'::timestamp) - extract(epoch from '2026-07-20 14:35:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128719 -2.815073)', '2026-07-20 14:35:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128864 -2.815016)'), GeomFromEWKT('SRID=4674;POINT (-40.128719 -2.815073)'))) / (select extract(epoch from '2026-07-20 14:35:46'::timestamp) - extract(epoch from '2026-07-20 14:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128864 -2.815016)'), GeomFromEWKT('SRID=4674;POINT (-40.128719 -2.815073)'))) / (select extract(epoch from '2026-07-20 14:35:46'::timestamp) - extract(epoch from '2026-07-20 14:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128626 -2.815066)', '2026-07-20 14:35:53', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128719 -2.815073)'), GeomFromEWKT('SRID=4674;POINT (-40.128626 -2.815066)'))) / (select extract(epoch from '2026-07-20 14:35:53'::timestamp) - extract(epoch from '2026-07-20 14:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128719 -2.815073)'), GeomFromEWKT('SRID=4674;POINT (-40.128626 -2.815066)'))) / (select extract(epoch from '2026-07-20 14:35:53'::timestamp) - extract(epoch from '2026-07-20 14:35: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'), 47632, 'SRID=4674;POINT (-40.128529 -2.814978)', '2026-07-20 14:36:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128626 -2.815066)'), GeomFromEWKT('SRID=4674;POINT (-40.128529 -2.814978)'))) / (select extract(epoch from '2026-07-20 14:36:02'::timestamp) - extract(epoch from '2026-07-20 14:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128626 -2.815066)'), GeomFromEWKT('SRID=4674;POINT (-40.128529 -2.814978)'))) / (select extract(epoch from '2026-07-20 14:36:02'::timestamp) - extract(epoch from '2026-07-20 14:35: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'), 47632, 'SRID=4674;POINT (-40.128436 -2.81492)', '2026-07-20 14:36:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128529 -2.814978)'), GeomFromEWKT('SRID=4674;POINT (-40.128436 -2.81492)'))) / (select extract(epoch from '2026-07-20 14:36:09'::timestamp) - extract(epoch from '2026-07-20 14:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128529 -2.814978)'), GeomFromEWKT('SRID=4674;POINT (-40.128436 -2.81492)'))) / (select extract(epoch from '2026-07-20 14:36:09'::timestamp) - extract(epoch from '2026-07-20 14:36: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'), 47632, 'SRID=4674;POINT (-40.128265 -2.814896)', '2026-07-20 14:36:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128436 -2.81492)'), GeomFromEWKT('SRID=4674;POINT (-40.128265 -2.814896)'))) / (select extract(epoch from '2026-07-20 14:36:20'::timestamp) - extract(epoch from '2026-07-20 14:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128436 -2.81492)'), GeomFromEWKT('SRID=4674;POINT (-40.128265 -2.814896)'))) / (select extract(epoch from '2026-07-20 14:36:20'::timestamp) - extract(epoch from '2026-07-20 14:36: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'), 47632, 'SRID=4674;POINT (-40.128166 -2.814859)', '2026-07-20 14:36:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128265 -2.814896)'), GeomFromEWKT('SRID=4674;POINT (-40.128166 -2.814859)'))) / (select extract(epoch from '2026-07-20 14:36:27'::timestamp) - extract(epoch from '2026-07-20 14:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128265 -2.814896)'), GeomFromEWKT('SRID=4674;POINT (-40.128166 -2.814859)'))) / (select extract(epoch from '2026-07-20 14:36:27'::timestamp) - extract(epoch from '2026-07-20 14:36: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'), 47632, 'SRID=4674;POINT (-40.128031 -2.814793)', '2026-07-20 14:36:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128166 -2.814859)'), GeomFromEWKT('SRID=4674;POINT (-40.128031 -2.814793)'))) / (select extract(epoch from '2026-07-20 14:36:36'::timestamp) - extract(epoch from '2026-07-20 14:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128166 -2.814859)'), GeomFromEWKT('SRID=4674;POINT (-40.128031 -2.814793)'))) / (select extract(epoch from '2026-07-20 14:36:36'::timestamp) - extract(epoch from '2026-07-20 14:36: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'), 47632, 'SRID=4674;POINT (-40.127916 -2.814722)', '2026-07-20 14:36:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128031 -2.814793)'), GeomFromEWKT('SRID=4674;POINT (-40.127916 -2.814722)'))) / (select extract(epoch from '2026-07-20 14:36:45'::timestamp) - extract(epoch from '2026-07-20 14:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128031 -2.814793)'), GeomFromEWKT('SRID=4674;POINT (-40.127916 -2.814722)'))) / (select extract(epoch from '2026-07-20 14:36:45'::timestamp) - extract(epoch from '2026-07-20 14:36: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'), 47632, 'SRID=4674;POINT (-40.127807 -2.814672)', '2026-07-20 14:36:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127916 -2.814722)'), GeomFromEWKT('SRID=4674;POINT (-40.127807 -2.814672)'))) / (select extract(epoch from '2026-07-20 14:36:53'::timestamp) - extract(epoch from '2026-07-20 14:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127916 -2.814722)'), GeomFromEWKT('SRID=4674;POINT (-40.127807 -2.814672)'))) / (select extract(epoch from '2026-07-20 14:36:53'::timestamp) - extract(epoch from '2026-07-20 14:36:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127667 -2.814598)', '2026-07-20 14:37:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127807 -2.814672)'), GeomFromEWKT('SRID=4674;POINT (-40.127667 -2.814598)'))) / (select extract(epoch from '2026-07-20 14:37:03'::timestamp) - extract(epoch from '2026-07-20 14:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127807 -2.814672)'), GeomFromEWKT('SRID=4674;POINT (-40.127667 -2.814598)'))) / (select extract(epoch from '2026-07-20 14:37:03'::timestamp) - extract(epoch from '2026-07-20 14:36: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'), 47632, 'SRID=4674;POINT (-40.127525 -2.814512)', '2026-07-20 14:37:13', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127667 -2.814598)'), GeomFromEWKT('SRID=4674;POINT (-40.127525 -2.814512)'))) / (select extract(epoch from '2026-07-20 14:37:13'::timestamp) - extract(epoch from '2026-07-20 14:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127667 -2.814598)'), GeomFromEWKT('SRID=4674;POINT (-40.127525 -2.814512)'))) / (select extract(epoch from '2026-07-20 14:37:13'::timestamp) - extract(epoch from '2026-07-20 14:37: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'), 47632, 'SRID=4674;POINT (-40.127415 -2.81443)', '2026-07-20 14:37:22', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127525 -2.814512)'), GeomFromEWKT('SRID=4674;POINT (-40.127415 -2.81443)'))) / (select extract(epoch from '2026-07-20 14:37:22'::timestamp) - extract(epoch from '2026-07-20 14:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127525 -2.814512)'), GeomFromEWKT('SRID=4674;POINT (-40.127415 -2.81443)'))) / (select extract(epoch from '2026-07-20 14:37:22'::timestamp) - extract(epoch from '2026-07-20 14:37: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'), 47632, 'SRID=4674;POINT (-40.12729 -2.814351)', '2026-07-20 14:37:32', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127415 -2.81443)'), GeomFromEWKT('SRID=4674;POINT (-40.12729 -2.814351)'))) / (select extract(epoch from '2026-07-20 14:37:32'::timestamp) - extract(epoch from '2026-07-20 14:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127415 -2.81443)'), GeomFromEWKT('SRID=4674;POINT (-40.12729 -2.814351)'))) / (select extract(epoch from '2026-07-20 14:37:32'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.127187 -2.814271)', '2026-07-20 14:37:41', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12729 -2.814351)'), GeomFromEWKT('SRID=4674;POINT (-40.127187 -2.814271)'))) / (select extract(epoch from '2026-07-20 14:37:41'::timestamp) - extract(epoch from '2026-07-20 14:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12729 -2.814351)'), GeomFromEWKT('SRID=4674;POINT (-40.127187 -2.814271)'))) / (select extract(epoch from '2026-07-20 14:37:41'::timestamp) - extract(epoch from '2026-07-20 14:37: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'), 47632, 'SRID=4674;POINT (-40.127056 -2.814214)', '2026-07-20 14:37:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127187 -2.814271)'), GeomFromEWKT('SRID=4674;POINT (-40.127056 -2.814214)'))) / (select extract(epoch from '2026-07-20 14:37:50'::timestamp) - extract(epoch from '2026-07-20 14:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127187 -2.814271)'), GeomFromEWKT('SRID=4674;POINT (-40.127056 -2.814214)'))) / (select extract(epoch from '2026-07-20 14:37:50'::timestamp) - extract(epoch from '2026-07-20 14:37: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'), 47632, 'SRID=4674;POINT (-40.126931 -2.814189)', '2026-07-20 14:37:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127056 -2.814214)'), GeomFromEWKT('SRID=4674;POINT (-40.126931 -2.814189)'))) / (select extract(epoch from '2026-07-20 14:37:59'::timestamp) - extract(epoch from '2026-07-20 14:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127056 -2.814214)'), GeomFromEWKT('SRID=4674;POINT (-40.126931 -2.814189)'))) / (select extract(epoch from '2026-07-20 14:37:59'::timestamp) - extract(epoch from '2026-07-20 14:37: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'), 47632, 'SRID=4674;POINT (-40.126813 -2.814167)', '2026-07-20 14:38:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126931 -2.814189)'), GeomFromEWKT('SRID=4674;POINT (-40.126813 -2.814167)'))) / (select extract(epoch from '2026-07-20 14:38:08'::timestamp) - extract(epoch from '2026-07-20 14:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126931 -2.814189)'), GeomFromEWKT('SRID=4674;POINT (-40.126813 -2.814167)'))) / (select extract(epoch from '2026-07-20 14:38:08'::timestamp) - extract(epoch from '2026-07-20 14:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126623 -2.814158)', '2026-07-20 14:38:20', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126813 -2.814167)'), GeomFromEWKT('SRID=4674;POINT (-40.126623 -2.814158)'))) / (select extract(epoch from '2026-07-20 14:38:20'::timestamp) - extract(epoch from '2026-07-20 14:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126813 -2.814167)'), GeomFromEWKT('SRID=4674;POINT (-40.126623 -2.814158)'))) / (select extract(epoch from '2026-07-20 14:38:20'::timestamp) - extract(epoch from '2026-07-20 14:38: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'), 47632, 'SRID=4674;POINT (-40.126424 -2.814169)', '2026-07-20 14:38:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126623 -2.814158)'), GeomFromEWKT('SRID=4674;POINT (-40.126424 -2.814169)'))) / (select extract(epoch from '2026-07-20 14:38:33'::timestamp) - extract(epoch from '2026-07-20 14:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126623 -2.814158)'), GeomFromEWKT('SRID=4674;POINT (-40.126424 -2.814169)'))) / (select extract(epoch from '2026-07-20 14:38:33'::timestamp) - extract(epoch from '2026-07-20 14:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126304 -2.814165)', '2026-07-20 14:38:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126424 -2.814169)'), GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.814165)'))) / (select extract(epoch from '2026-07-20 14:38:42'::timestamp) - extract(epoch from '2026-07-20 14:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126424 -2.814169)'), GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.814165)'))) / (select extract(epoch from '2026-07-20 14:38:42'::timestamp) - extract(epoch from '2026-07-20 14:38: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'), 47632, 'SRID=4674;POINT (-40.126199 -2.814136)', '2026-07-20 14:38:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.814165)'), GeomFromEWKT('SRID=4674;POINT (-40.126199 -2.814136)'))) / (select extract(epoch from '2026-07-20 14:38:50'::timestamp) - extract(epoch from '2026-07-20 14:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.814165)'), GeomFromEWKT('SRID=4674;POINT (-40.126199 -2.814136)'))) / (select extract(epoch from '2026-07-20 14:38:50'::timestamp) - extract(epoch from '2026-07-20 14:38:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126058 -2.814082)', '2026-07-20 14:38:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126199 -2.814136)'), GeomFromEWKT('SRID=4674;POINT (-40.126058 -2.814082)'))) / (select extract(epoch from '2026-07-20 14:38:59'::timestamp) - extract(epoch from '2026-07-20 14:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126199 -2.814136)'), GeomFromEWKT('SRID=4674;POINT (-40.126058 -2.814082)'))) / (select extract(epoch from '2026-07-20 14:38:59'::timestamp) - extract(epoch from '2026-07-20 14:38: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'), 47632, 'SRID=4674;POINT (-40.125961 -2.814046)', '2026-07-20 14:39:07', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126058 -2.814082)'), GeomFromEWKT('SRID=4674;POINT (-40.125961 -2.814046)'))) / (select extract(epoch from '2026-07-20 14:39:07'::timestamp) - extract(epoch from '2026-07-20 14:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126058 -2.814082)'), GeomFromEWKT('SRID=4674;POINT (-40.125961 -2.814046)'))) / (select extract(epoch from '2026-07-20 14:39:07'::timestamp) - extract(epoch from '2026-07-20 14:38: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'), 47632, 'SRID=4674;POINT (-40.125834 -2.814001)', '2026-07-20 14:39:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125961 -2.814046)'), GeomFromEWKT('SRID=4674;POINT (-40.125834 -2.814001)'))) / (select extract(epoch from '2026-07-20 14:39:16'::timestamp) - extract(epoch from '2026-07-20 14:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125961 -2.814046)'), GeomFromEWKT('SRID=4674;POINT (-40.125834 -2.814001)'))) / (select extract(epoch from '2026-07-20 14:39:16'::timestamp) - extract(epoch from '2026-07-20 14:39: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'), 47632, 'SRID=4674;POINT (-40.125727 -2.81394)', '2026-07-20 14:39:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125834 -2.814001)'), GeomFromEWKT('SRID=4674;POINT (-40.125727 -2.81394)'))) / (select extract(epoch from '2026-07-20 14:39:25'::timestamp) - extract(epoch from '2026-07-20 14:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125834 -2.814001)'), GeomFromEWKT('SRID=4674;POINT (-40.125727 -2.81394)'))) / (select extract(epoch from '2026-07-20 14:39:25'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.125607 -2.813917)', '2026-07-20 14:39:34', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125727 -2.81394)'), GeomFromEWKT('SRID=4674;POINT (-40.125607 -2.813917)'))) / (select extract(epoch from '2026-07-20 14:39:34'::timestamp) - extract(epoch from '2026-07-20 14:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125727 -2.81394)'), GeomFromEWKT('SRID=4674;POINT (-40.125607 -2.813917)'))) / (select extract(epoch from '2026-07-20 14:39:34'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.125477 -2.813882)', '2026-07-20 14:39:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125607 -2.813917)'), GeomFromEWKT('SRID=4674;POINT (-40.125477 -2.813882)'))) / (select extract(epoch from '2026-07-20 14:39:43'::timestamp) - extract(epoch from '2026-07-20 14:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125607 -2.813917)'), GeomFromEWKT('SRID=4674;POINT (-40.125477 -2.813882)'))) / (select extract(epoch from '2026-07-20 14:39:43'::timestamp) - extract(epoch from '2026-07-20 14:39: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'), 47632, 'SRID=4674;POINT (-40.125378 -2.81387)', '2026-07-20 14:39:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125477 -2.813882)'), GeomFromEWKT('SRID=4674;POINT (-40.125378 -2.81387)'))) / (select extract(epoch from '2026-07-20 14:39:50'::timestamp) - extract(epoch from '2026-07-20 14:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125477 -2.813882)'), GeomFromEWKT('SRID=4674;POINT (-40.125378 -2.81387)'))) / (select extract(epoch from '2026-07-20 14:39:50'::timestamp) - extract(epoch from '2026-07-20 14:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125241 -2.813833)', '2026-07-20 14:40:00', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125378 -2.81387)'), GeomFromEWKT('SRID=4674;POINT (-40.125241 -2.813833)'))) / (select extract(epoch from '2026-07-20 14:40:00'::timestamp) - extract(epoch from '2026-07-20 14:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125378 -2.81387)'), GeomFromEWKT('SRID=4674;POINT (-40.125241 -2.813833)'))) / (select extract(epoch from '2026-07-20 14:40:00'::timestamp) - extract(epoch from '2026-07-20 14:39: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'), 47632, 'SRID=4674;POINT (-40.125131 -2.813814)', '2026-07-20 14:40:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125241 -2.813833)'), GeomFromEWKT('SRID=4674;POINT (-40.125131 -2.813814)'))) / (select extract(epoch from '2026-07-20 14:40:08'::timestamp) - extract(epoch from '2026-07-20 14:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125241 -2.813833)'), GeomFromEWKT('SRID=4674;POINT (-40.125131 -2.813814)'))) / (select extract(epoch from '2026-07-20 14:40:08'::timestamp) - extract(epoch from '2026-07-20 14:40: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'), 47632, 'SRID=4674;POINT (-40.124988 -2.813797)', '2026-07-20 14:40:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125131 -2.813814)'), GeomFromEWKT('SRID=4674;POINT (-40.124988 -2.813797)'))) / (select extract(epoch from '2026-07-20 14:40:16'::timestamp) - extract(epoch from '2026-07-20 14:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125131 -2.813814)'), GeomFromEWKT('SRID=4674;POINT (-40.124988 -2.813797)'))) / (select extract(epoch from '2026-07-20 14:40:16'::timestamp) - extract(epoch from '2026-07-20 14:40: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'), 47632, 'SRID=4674;POINT (-40.124895 -2.813757)', '2026-07-20 14:40:24', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124988 -2.813797)'), GeomFromEWKT('SRID=4674;POINT (-40.124895 -2.813757)'))) / (select extract(epoch from '2026-07-20 14:40:24'::timestamp) - extract(epoch from '2026-07-20 14:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124988 -2.813797)'), GeomFromEWKT('SRID=4674;POINT (-40.124895 -2.813757)'))) / (select extract(epoch from '2026-07-20 14:40:24'::timestamp) - extract(epoch from '2026-07-20 14:40: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'), 47632, 'SRID=4674;POINT (-40.124794 -2.813686)', '2026-07-20 14:40:32', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124895 -2.813757)'), GeomFromEWKT('SRID=4674;POINT (-40.124794 -2.813686)'))) / (select extract(epoch from '2026-07-20 14:40:32'::timestamp) - extract(epoch from '2026-07-20 14:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124895 -2.813757)'), GeomFromEWKT('SRID=4674;POINT (-40.124794 -2.813686)'))) / (select extract(epoch from '2026-07-20 14:40:32'::timestamp) - extract(epoch from '2026-07-20 14:40: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'), 47632, 'SRID=4674;POINT (-40.124676 -2.81365)', '2026-07-20 14:40:40', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124794 -2.813686)'), GeomFromEWKT('SRID=4674;POINT (-40.124676 -2.81365)'))) / (select extract(epoch from '2026-07-20 14:40:40'::timestamp) - extract(epoch from '2026-07-20 14:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124794 -2.813686)'), GeomFromEWKT('SRID=4674;POINT (-40.124676 -2.81365)'))) / (select extract(epoch from '2026-07-20 14:40:40'::timestamp) - extract(epoch from '2026-07-20 14:40: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'), 47632, 'SRID=4674;POINT (-40.124548 -2.813625)', '2026-07-20 14:40:48', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124676 -2.81365)'), GeomFromEWKT('SRID=4674;POINT (-40.124548 -2.813625)'))) / (select extract(epoch from '2026-07-20 14:40:48'::timestamp) - extract(epoch from '2026-07-20 14:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124676 -2.81365)'), GeomFromEWKT('SRID=4674;POINT (-40.124548 -2.813625)'))) / (select extract(epoch from '2026-07-20 14:40:48'::timestamp) - extract(epoch from '2026-07-20 14:40: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'), 47632, 'SRID=4674;POINT (-40.124401 -2.813614)', '2026-07-20 14:40:58', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124548 -2.813625)'), GeomFromEWKT('SRID=4674;POINT (-40.124401 -2.813614)'))) / (select extract(epoch from '2026-07-20 14:40:58'::timestamp) - extract(epoch from '2026-07-20 14:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124548 -2.813625)'), GeomFromEWKT('SRID=4674;POINT (-40.124401 -2.813614)'))) / (select extract(epoch from '2026-07-20 14:40:58'::timestamp) - extract(epoch from '2026-07-20 14:40: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'), 47632, 'SRID=4674;POINT (-40.12427 -2.813592)', '2026-07-20 14:41:07', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124401 -2.813614)'), GeomFromEWKT('SRID=4674;POINT (-40.12427 -2.813592)'))) / (select extract(epoch from '2026-07-20 14:41:07'::timestamp) - extract(epoch from '2026-07-20 14:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124401 -2.813614)'), GeomFromEWKT('SRID=4674;POINT (-40.12427 -2.813592)'))) / (select extract(epoch from '2026-07-20 14:41:07'::timestamp) - extract(epoch from '2026-07-20 14:40:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124147 -2.813584)', '2026-07-20 14:41:15', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12427 -2.813592)'), GeomFromEWKT('SRID=4674;POINT (-40.124147 -2.813584)'))) / (select extract(epoch from '2026-07-20 14:41:15'::timestamp) - extract(epoch from '2026-07-20 14:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12427 -2.813592)'), GeomFromEWKT('SRID=4674;POINT (-40.124147 -2.813584)'))) / (select extract(epoch from '2026-07-20 14:41:15'::timestamp) - extract(epoch from '2026-07-20 14:41: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'), 47632, 'SRID=4674;POINT (-40.124029 -2.813572)', '2026-07-20 14:41:24', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124147 -2.813584)'), GeomFromEWKT('SRID=4674;POINT (-40.124029 -2.813572)'))) / (select extract(epoch from '2026-07-20 14:41:24'::timestamp) - extract(epoch from '2026-07-20 14:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124147 -2.813584)'), GeomFromEWKT('SRID=4674;POINT (-40.124029 -2.813572)'))) / (select extract(epoch from '2026-07-20 14:41:24'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47632, 'SRID=4674;POINT (-40.123897 -2.813577)', '2026-07-20 14:41:33', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124029 -2.813572)'), GeomFromEWKT('SRID=4674;POINT (-40.123897 -2.813577)'))) / (select extract(epoch from '2026-07-20 14:41:33'::timestamp) - extract(epoch from '2026-07-20 14:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124029 -2.813572)'), GeomFromEWKT('SRID=4674;POINT (-40.123897 -2.813577)'))) / (select extract(epoch from '2026-07-20 14:41:33'::timestamp) - extract(epoch from '2026-07-20 14:41: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'), 47632, 'SRID=4674;POINT (-40.123777 -2.813585)', '2026-07-20 14:41:41', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123897 -2.813577)'), GeomFromEWKT('SRID=4674;POINT (-40.123777 -2.813585)'))) / (select extract(epoch from '2026-07-20 14:41:41'::timestamp) - extract(epoch from '2026-07-20 14:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123897 -2.813577)'), GeomFromEWKT('SRID=4674;POINT (-40.123777 -2.813585)'))) / (select extract(epoch from '2026-07-20 14:41:41'::timestamp) - extract(epoch from '2026-07-20 14:41:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
