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'), 46710, 'SRID=4674;POINT (-40.353803 -2.806389)', '2026-06-27 02:54:12', 10.4, 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'), 46710, 'SRID=4674;POINT (-40.353768 -2.80626)', '2026-06-27 02:54:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353803 -2.806389)'), GeomFromEWKT('SRID=4674;POINT (-40.353768 -2.80626)'))) / (select extract(epoch from '2026-06-27 02:54:19'::timestamp) - extract(epoch from '2026-06-27 02:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353803 -2.806389)'), GeomFromEWKT('SRID=4674;POINT (-40.353768 -2.80626)'))) / (select extract(epoch from '2026-06-27 02:54:19'::timestamp) - extract(epoch from '2026-06-27 02:54: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'), 46710, 'SRID=4674;POINT (-40.353715 -2.806115)', '2026-06-27 02:54:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353768 -2.80626)'), GeomFromEWKT('SRID=4674;POINT (-40.353715 -2.806115)'))) / (select extract(epoch from '2026-06-27 02:54:27'::timestamp) - extract(epoch from '2026-06-27 02:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353768 -2.80626)'), GeomFromEWKT('SRID=4674;POINT (-40.353715 -2.806115)'))) / (select extract(epoch from '2026-06-27 02:54:27'::timestamp) - extract(epoch from '2026-06-27 02:54:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353656 -2.805968)', '2026-06-27 02:54:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353715 -2.806115)'), GeomFromEWKT('SRID=4674;POINT (-40.353656 -2.805968)'))) / (select extract(epoch from '2026-06-27 02:54:35'::timestamp) - extract(epoch from '2026-06-27 02:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353715 -2.806115)'), GeomFromEWKT('SRID=4674;POINT (-40.353656 -2.805968)'))) / (select extract(epoch from '2026-06-27 02:54:35'::timestamp) - extract(epoch from '2026-06-27 02: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'), 46710, 'SRID=4674;POINT (-40.353608 -2.805821)', '2026-06-27 02:54:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353656 -2.805968)'), GeomFromEWKT('SRID=4674;POINT (-40.353608 -2.805821)'))) / (select extract(epoch from '2026-06-27 02:54:43'::timestamp) - extract(epoch from '2026-06-27 02:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353656 -2.805968)'), GeomFromEWKT('SRID=4674;POINT (-40.353608 -2.805821)'))) / (select extract(epoch from '2026-06-27 02:54:43'::timestamp) - extract(epoch from '2026-06-27 02:54: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'), 46710, 'SRID=4674;POINT (-40.353545 -2.805675)', '2026-06-27 02:54:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353608 -2.805821)'), GeomFromEWKT('SRID=4674;POINT (-40.353545 -2.805675)'))) / (select extract(epoch from '2026-06-27 02:54:51'::timestamp) - extract(epoch from '2026-06-27 02:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353608 -2.805821)'), GeomFromEWKT('SRID=4674;POINT (-40.353545 -2.805675)'))) / (select extract(epoch from '2026-06-27 02:54:51'::timestamp) - extract(epoch from '2026-06-27 02:54: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'), 46710, 'SRID=4674;POINT (-40.353485 -2.805508)', '2026-06-27 02:55:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353545 -2.805675)'), GeomFromEWKT('SRID=4674;POINT (-40.353485 -2.805508)'))) / (select extract(epoch from '2026-06-27 02:55:00'::timestamp) - extract(epoch from '2026-06-27 02:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353545 -2.805675)'), GeomFromEWKT('SRID=4674;POINT (-40.353485 -2.805508)'))) / (select extract(epoch from '2026-06-27 02:55:00'::timestamp) - extract(epoch from '2026-06-27 02:54: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'), 46710, 'SRID=4674;POINT (-40.353435 -2.805341)', '2026-06-27 02:55:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353485 -2.805508)'), GeomFromEWKT('SRID=4674;POINT (-40.353435 -2.805341)'))) / (select extract(epoch from '2026-06-27 02:55:09'::timestamp) - extract(epoch from '2026-06-27 02:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353485 -2.805508)'), GeomFromEWKT('SRID=4674;POINT (-40.353435 -2.805341)'))) / (select extract(epoch from '2026-06-27 02:55:09'::timestamp) - extract(epoch from '2026-06-27 02:55:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353377 -2.805211)', '2026-06-27 02:55:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353435 -2.805341)'), GeomFromEWKT('SRID=4674;POINT (-40.353377 -2.805211)'))) / (select extract(epoch from '2026-06-27 02:55:16'::timestamp) - extract(epoch from '2026-06-27 02:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353435 -2.805341)'), GeomFromEWKT('SRID=4674;POINT (-40.353377 -2.805211)'))) / (select extract(epoch from '2026-06-27 02:55:16'::timestamp) - extract(epoch from '2026-06-27 02:55: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'), 46710, 'SRID=4674;POINT (-40.353311 -2.805024)', '2026-06-27 02:55:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353377 -2.805211)'), GeomFromEWKT('SRID=4674;POINT (-40.353311 -2.805024)'))) / (select extract(epoch from '2026-06-27 02:55:26'::timestamp) - extract(epoch from '2026-06-27 02:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353377 -2.805211)'), GeomFromEWKT('SRID=4674;POINT (-40.353311 -2.805024)'))) / (select extract(epoch from '2026-06-27 02:55:26'::timestamp) - extract(epoch from '2026-06-27 02:55: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'), 46710, 'SRID=4674;POINT (-40.353241 -2.804878)', '2026-06-27 02:55:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353311 -2.805024)'), GeomFromEWKT('SRID=4674;POINT (-40.353241 -2.804878)'))) / (select extract(epoch from '2026-06-27 02:55:35'::timestamp) - extract(epoch from '2026-06-27 02:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353311 -2.805024)'), GeomFromEWKT('SRID=4674;POINT (-40.353241 -2.804878)'))) / (select extract(epoch from '2026-06-27 02:55:35'::timestamp) - extract(epoch from '2026-06-27 02:55: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'), 46710, 'SRID=4674;POINT (-40.353171 -2.80471)', '2026-06-27 02:55:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353241 -2.804878)'), GeomFromEWKT('SRID=4674;POINT (-40.353171 -2.80471)'))) / (select extract(epoch from '2026-06-27 02:55:44'::timestamp) - extract(epoch from '2026-06-27 02:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353241 -2.804878)'), GeomFromEWKT('SRID=4674;POINT (-40.353171 -2.80471)'))) / (select extract(epoch from '2026-06-27 02:55:44'::timestamp) - extract(epoch from '2026-06-27 02:55: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'), 46710, 'SRID=4674;POINT (-40.353096 -2.804541)', '2026-06-27 02:55:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353171 -2.80471)'), GeomFromEWKT('SRID=4674;POINT (-40.353096 -2.804541)'))) / (select extract(epoch from '2026-06-27 02:55:53'::timestamp) - extract(epoch from '2026-06-27 02:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353171 -2.80471)'), GeomFromEWKT('SRID=4674;POINT (-40.353096 -2.804541)'))) / (select extract(epoch from '2026-06-27 02:55:53'::timestamp) - extract(epoch from '2026-06-27 02:55: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'), 46710, 'SRID=4674;POINT (-40.353034 -2.804366)', '2026-06-27 02:56:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353096 -2.804541)'), GeomFromEWKT('SRID=4674;POINT (-40.353034 -2.804366)'))) / (select extract(epoch from '2026-06-27 02:56:02'::timestamp) - extract(epoch from '2026-06-27 02:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353096 -2.804541)'), GeomFromEWKT('SRID=4674;POINT (-40.353034 -2.804366)'))) / (select extract(epoch from '2026-06-27 02:56:02'::timestamp) - extract(epoch from '2026-06-27 02:55: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'), 46710, 'SRID=4674;POINT (-40.352989 -2.80421)', '2026-06-27 02:56:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353034 -2.804366)'), GeomFromEWKT('SRID=4674;POINT (-40.352989 -2.80421)'))) / (select extract(epoch from '2026-06-27 02:56:10'::timestamp) - extract(epoch from '2026-06-27 02:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353034 -2.804366)'), GeomFromEWKT('SRID=4674;POINT (-40.352989 -2.80421)'))) / (select extract(epoch from '2026-06-27 02:56:10'::timestamp) - extract(epoch from '2026-06-27 02:56: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'), 46710, 'SRID=4674;POINT (-40.352957 -2.804081)', '2026-06-27 02:56:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352989 -2.80421)'), GeomFromEWKT('SRID=4674;POINT (-40.352957 -2.804081)'))) / (select extract(epoch from '2026-06-27 02:56:17'::timestamp) - extract(epoch from '2026-06-27 02:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352989 -2.80421)'), GeomFromEWKT('SRID=4674;POINT (-40.352957 -2.804081)'))) / (select extract(epoch from '2026-06-27 02:56:17'::timestamp) - extract(epoch from '2026-06-27 02:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.352897 -2.803894)', '2026-06-27 02:56:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352957 -2.804081)'), GeomFromEWKT('SRID=4674;POINT (-40.352897 -2.803894)'))) / (select extract(epoch from '2026-06-27 02:56:27'::timestamp) - extract(epoch from '2026-06-27 02:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352957 -2.804081)'), GeomFromEWKT('SRID=4674;POINT (-40.352897 -2.803894)'))) / (select extract(epoch from '2026-06-27 02:56:27'::timestamp) - extract(epoch from '2026-06-27 02:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.352835 -2.803732)', '2026-06-27 02:56:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352897 -2.803894)'), GeomFromEWKT('SRID=4674;POINT (-40.352835 -2.803732)'))) / (select extract(epoch from '2026-06-27 02:56:36'::timestamp) - extract(epoch from '2026-06-27 02:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352897 -2.803894)'), GeomFromEWKT('SRID=4674;POINT (-40.352835 -2.803732)'))) / (select extract(epoch from '2026-06-27 02:56:36'::timestamp) - extract(epoch from '2026-06-27 02:56: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'), 46710, 'SRID=4674;POINT (-40.352808 -2.803612)', '2026-06-27 02:56:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352835 -2.803732)'), GeomFromEWKT('SRID=4674;POINT (-40.352808 -2.803612)'))) / (select extract(epoch from '2026-06-27 02:56:43'::timestamp) - extract(epoch from '2026-06-27 02:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352835 -2.803732)'), GeomFromEWKT('SRID=4674;POINT (-40.352808 -2.803612)'))) / (select extract(epoch from '2026-06-27 02:56:43'::timestamp) - extract(epoch from '2026-06-27 02:56: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'), 46710, 'SRID=4674;POINT (-40.352779 -2.803475)', '2026-06-27 02:56:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352808 -2.803612)'), GeomFromEWKT('SRID=4674;POINT (-40.352779 -2.803475)'))) / (select extract(epoch from '2026-06-27 02:56:50'::timestamp) - extract(epoch from '2026-06-27 02:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352808 -2.803612)'), GeomFromEWKT('SRID=4674;POINT (-40.352779 -2.803475)'))) / (select extract(epoch from '2026-06-27 02:56:50'::timestamp) - extract(epoch from '2026-06-27 02:56: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'), 46710, 'SRID=4674;POINT (-40.352731 -2.803306)', '2026-06-27 02:56:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352779 -2.803475)'), GeomFromEWKT('SRID=4674;POINT (-40.352731 -2.803306)'))) / (select extract(epoch from '2026-06-27 02:56:59'::timestamp) - extract(epoch from '2026-06-27 02:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352779 -2.803475)'), GeomFromEWKT('SRID=4674;POINT (-40.352731 -2.803306)'))) / (select extract(epoch from '2026-06-27 02:56:59'::timestamp) - extract(epoch from '2026-06-27 02: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'), 46710, 'SRID=4674;POINT (-40.352703 -2.803169)', '2026-06-27 02:57:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352731 -2.803306)'), GeomFromEWKT('SRID=4674;POINT (-40.352703 -2.803169)'))) / (select extract(epoch from '2026-06-27 02:57:06'::timestamp) - extract(epoch from '2026-06-27 02:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352731 -2.803306)'), GeomFromEWKT('SRID=4674;POINT (-40.352703 -2.803169)'))) / (select extract(epoch from '2026-06-27 02:57:06'::timestamp) - extract(epoch from '2026-06-27 02:56: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'), 46710, 'SRID=4674;POINT (-40.352666 -2.802981)', '2026-06-27 02:57:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352703 -2.803169)'), GeomFromEWKT('SRID=4674;POINT (-40.352666 -2.802981)'))) / (select extract(epoch from '2026-06-27 02:57:16'::timestamp) - extract(epoch from '2026-06-27 02:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352703 -2.803169)'), GeomFromEWKT('SRID=4674;POINT (-40.352666 -2.802981)'))) / (select extract(epoch from '2026-06-27 02:57:16'::timestamp) - extract(epoch from '2026-06-27 02:57: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'), 46710, 'SRID=4674;POINT (-40.352639 -2.802834)', '2026-06-27 02:57:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352666 -2.802981)'), GeomFromEWKT('SRID=4674;POINT (-40.352639 -2.802834)'))) / (select extract(epoch from '2026-06-27 02:57:24'::timestamp) - extract(epoch from '2026-06-27 02:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352666 -2.802981)'), GeomFromEWKT('SRID=4674;POINT (-40.352639 -2.802834)'))) / (select extract(epoch from '2026-06-27 02:57:24'::timestamp) - extract(epoch from '2026-06-27 02: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'), 46710, 'SRID=4674;POINT (-40.352616 -2.802698)', '2026-06-27 02:57:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352639 -2.802834)'), GeomFromEWKT('SRID=4674;POINT (-40.352616 -2.802698)'))) / (select extract(epoch from '2026-06-27 02:57:31'::timestamp) - extract(epoch from '2026-06-27 02:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352639 -2.802834)'), GeomFromEWKT('SRID=4674;POINT (-40.352616 -2.802698)'))) / (select extract(epoch from '2026-06-27 02:57:31'::timestamp) - extract(epoch from '2026-06-27 02: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'), 46710, 'SRID=4674;POINT (-40.35259 -2.802497)', '2026-06-27 02:57:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352616 -2.802698)'), GeomFromEWKT('SRID=4674;POINT (-40.35259 -2.802497)'))) / (select extract(epoch from '2026-06-27 02:57:41'::timestamp) - extract(epoch from '2026-06-27 02:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352616 -2.802698)'), GeomFromEWKT('SRID=4674;POINT (-40.35259 -2.802497)'))) / (select extract(epoch from '2026-06-27 02:57:41'::timestamp) - extract(epoch from '2026-06-27 02:57: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'), 46710, 'SRID=4674;POINT (-40.352577 -2.802349)', '2026-06-27 02:57:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35259 -2.802497)'), GeomFromEWKT('SRID=4674;POINT (-40.352577 -2.802349)'))) / (select extract(epoch from '2026-06-27 02:57:48'::timestamp) - extract(epoch from '2026-06-27 02:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35259 -2.802497)'), GeomFromEWKT('SRID=4674;POINT (-40.352577 -2.802349)'))) / (select extract(epoch from '2026-06-27 02:57:48'::timestamp) - extract(epoch from '2026-06-27 02: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'), 46710, 'SRID=4674;POINT (-40.352569 -2.802211)', '2026-06-27 02:57:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352577 -2.802349)'), GeomFromEWKT('SRID=4674;POINT (-40.352569 -2.802211)'))) / (select extract(epoch from '2026-06-27 02:57:55'::timestamp) - extract(epoch from '2026-06-27 02:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352577 -2.802349)'), GeomFromEWKT('SRID=4674;POINT (-40.352569 -2.802211)'))) / (select extract(epoch from '2026-06-27 02:57:55'::timestamp) - extract(epoch from '2026-06-27 02:57:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.35256 -2.802092)', '2026-06-27 02:58:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352569 -2.802211)'), GeomFromEWKT('SRID=4674;POINT (-40.35256 -2.802092)'))) / (select extract(epoch from '2026-06-27 02:58:01'::timestamp) - extract(epoch from '2026-06-27 02:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352569 -2.802211)'), GeomFromEWKT('SRID=4674;POINT (-40.35256 -2.802092)'))) / (select extract(epoch from '2026-06-27 02:58:01'::timestamp) - extract(epoch from '2026-06-27 02:57:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.352551 -2.801949)', '2026-06-27 02:58:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35256 -2.802092)'), GeomFromEWKT('SRID=4674;POINT (-40.352551 -2.801949)'))) / (select extract(epoch from '2026-06-27 02:58:08'::timestamp) - extract(epoch from '2026-06-27 02:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35256 -2.802092)'), GeomFromEWKT('SRID=4674;POINT (-40.352551 -2.801949)'))) / (select extract(epoch from '2026-06-27 02:58:08'::timestamp) - extract(epoch from '2026-06-27 02: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'), 46710, 'SRID=4674;POINT (-40.352538 -2.801793)', '2026-06-27 02:58:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352551 -2.801949)'), GeomFromEWKT('SRID=4674;POINT (-40.352538 -2.801793)'))) / (select extract(epoch from '2026-06-27 02:58:16'::timestamp) - extract(epoch from '2026-06-27 02:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352551 -2.801949)'), GeomFromEWKT('SRID=4674;POINT (-40.352538 -2.801793)'))) / (select extract(epoch from '2026-06-27 02:58:16'::timestamp) - extract(epoch from '2026-06-27 02: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'), 46710, 'SRID=4674;POINT (-40.352514 -2.801656)', '2026-06-27 02:58:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352538 -2.801793)'), GeomFromEWKT('SRID=4674;POINT (-40.352514 -2.801656)'))) / (select extract(epoch from '2026-06-27 02:58:23'::timestamp) - extract(epoch from '2026-06-27 02:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352538 -2.801793)'), GeomFromEWKT('SRID=4674;POINT (-40.352514 -2.801656)'))) / (select extract(epoch from '2026-06-27 02:58:23'::timestamp) - extract(epoch from '2026-06-27 02:58: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'), 46710, 'SRID=4674;POINT (-40.352479 -2.801502)', '2026-06-27 02:58:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352514 -2.801656)'), GeomFromEWKT('SRID=4674;POINT (-40.352479 -2.801502)'))) / (select extract(epoch from '2026-06-27 02:58:31'::timestamp) - extract(epoch from '2026-06-27 02:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352514 -2.801656)'), GeomFromEWKT('SRID=4674;POINT (-40.352479 -2.801502)'))) / (select extract(epoch from '2026-06-27 02:58:31'::timestamp) - extract(epoch from '2026-06-27 02:58: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'), 46710, 'SRID=4674;POINT (-40.352462 -2.801372)', '2026-06-27 02:58:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352479 -2.801502)'), GeomFromEWKT('SRID=4674;POINT (-40.352462 -2.801372)'))) / (select extract(epoch from '2026-06-27 02:58:38'::timestamp) - extract(epoch from '2026-06-27 02:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352479 -2.801502)'), GeomFromEWKT('SRID=4674;POINT (-40.352462 -2.801372)'))) / (select extract(epoch from '2026-06-27 02:58:38'::timestamp) - extract(epoch from '2026-06-27 02:58: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'), 46710, 'SRID=4674;POINT (-40.35242 -2.801222)', '2026-06-27 02:58:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352462 -2.801372)'), GeomFromEWKT('SRID=4674;POINT (-40.35242 -2.801222)'))) / (select extract(epoch from '2026-06-27 02:58:46'::timestamp) - extract(epoch from '2026-06-27 02:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352462 -2.801372)'), GeomFromEWKT('SRID=4674;POINT (-40.35242 -2.801222)'))) / (select extract(epoch from '2026-06-27 02:58:46'::timestamp) - extract(epoch from '2026-06-27 02:58: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'), 46710, 'SRID=4674;POINT (-40.352374 -2.801072)', '2026-06-27 02:58:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35242 -2.801222)'), GeomFromEWKT('SRID=4674;POINT (-40.352374 -2.801072)'))) / (select extract(epoch from '2026-06-27 02:58:54'::timestamp) - extract(epoch from '2026-06-27 02:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35242 -2.801222)'), GeomFromEWKT('SRID=4674;POINT (-40.352374 -2.801072)'))) / (select extract(epoch from '2026-06-27 02:58:54'::timestamp) - extract(epoch from '2026-06-27 02:58: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'), 46710, 'SRID=4674;POINT (-40.352312 -2.800928)', '2026-06-27 02:59:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352374 -2.801072)'), GeomFromEWKT('SRID=4674;POINT (-40.352312 -2.800928)'))) / (select extract(epoch from '2026-06-27 02:59:02'::timestamp) - extract(epoch from '2026-06-27 02:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352374 -2.801072)'), GeomFromEWKT('SRID=4674;POINT (-40.352312 -2.800928)'))) / (select extract(epoch from '2026-06-27 02:59:02'::timestamp) - extract(epoch from '2026-06-27 02:58: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'), 46710, 'SRID=4674;POINT (-40.352255 -2.80076)', '2026-06-27 02:59:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352312 -2.800928)'), GeomFromEWKT('SRID=4674;POINT (-40.352255 -2.80076)'))) / (select extract(epoch from '2026-06-27 02:59:11'::timestamp) - extract(epoch from '2026-06-27 02:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352312 -2.800928)'), GeomFromEWKT('SRID=4674;POINT (-40.352255 -2.80076)'))) / (select extract(epoch from '2026-06-27 02:59:11'::timestamp) - extract(epoch from '2026-06-27 02:59: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'), 46710, 'SRID=4674;POINT (-40.352198 -2.800632)', '2026-06-27 02:59:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352255 -2.80076)'), GeomFromEWKT('SRID=4674;POINT (-40.352198 -2.800632)'))) / (select extract(epoch from '2026-06-27 02:59:18'::timestamp) - extract(epoch from '2026-06-27 02:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352255 -2.80076)'), GeomFromEWKT('SRID=4674;POINT (-40.352198 -2.800632)'))) / (select extract(epoch from '2026-06-27 02:59:18'::timestamp) - extract(epoch from '2026-06-27 02: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'), 46710, 'SRID=4674;POINT (-40.35218 -2.800482)', '2026-06-27 02:59:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352198 -2.800632)'), GeomFromEWKT('SRID=4674;POINT (-40.35218 -2.800482)'))) / (select extract(epoch from '2026-06-27 02:59:26'::timestamp) - extract(epoch from '2026-06-27 02:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352198 -2.800632)'), GeomFromEWKT('SRID=4674;POINT (-40.35218 -2.800482)'))) / (select extract(epoch from '2026-06-27 02:59:26'::timestamp) - extract(epoch from '2026-06-27 02:59: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'), 46710, 'SRID=4674;POINT (-40.352184 -2.800368)', '2026-06-27 02:59:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35218 -2.800482)'), GeomFromEWKT('SRID=4674;POINT (-40.352184 -2.800368)'))) / (select extract(epoch from '2026-06-27 02:59:32'::timestamp) - extract(epoch from '2026-06-27 02:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35218 -2.800482)'), GeomFromEWKT('SRID=4674;POINT (-40.352184 -2.800368)'))) / (select extract(epoch from '2026-06-27 02:59:32'::timestamp) - extract(epoch from '2026-06-27 02:59: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'), 46710, 'SRID=4674;POINT (-40.352187 -2.800234)', '2026-06-27 02:59:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352184 -2.800368)'), GeomFromEWKT('SRID=4674;POINT (-40.352187 -2.800234)'))) / (select extract(epoch from '2026-06-27 02:59:39'::timestamp) - extract(epoch from '2026-06-27 02:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352184 -2.800368)'), GeomFromEWKT('SRID=4674;POINT (-40.352187 -2.800234)'))) / (select extract(epoch from '2026-06-27 02:59:39'::timestamp) - extract(epoch from '2026-06-27 02:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.352169 -2.8001)', '2026-06-27 02:59:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352187 -2.800234)'), GeomFromEWKT('SRID=4674;POINT (-40.352169 -2.8001)'))) / (select extract(epoch from '2026-06-27 02:59:46'::timestamp) - extract(epoch from '2026-06-27 02:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352187 -2.800234)'), GeomFromEWKT('SRID=4674;POINT (-40.352169 -2.8001)'))) / (select extract(epoch from '2026-06-27 02:59:46'::timestamp) - extract(epoch from '2026-06-27 02:59: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'), 46710, 'SRID=4674;POINT (-40.352156 -2.799964)', '2026-06-27 02:59:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352169 -2.8001)'), GeomFromEWKT('SRID=4674;POINT (-40.352156 -2.799964)'))) / (select extract(epoch from '2026-06-27 02:59:53'::timestamp) - extract(epoch from '2026-06-27 02:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352169 -2.8001)'), GeomFromEWKT('SRID=4674;POINT (-40.352156 -2.799964)'))) / (select extract(epoch from '2026-06-27 02:59:53'::timestamp) - extract(epoch from '2026-06-27 02: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'), 46710, 'SRID=4674;POINT (-40.352133 -2.799826)', '2026-06-27 03:00:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352156 -2.799964)'), GeomFromEWKT('SRID=4674;POINT (-40.352133 -2.799826)'))) / (select extract(epoch from '2026-06-27 03:00:00'::timestamp) - extract(epoch from '2026-06-27 02:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352156 -2.799964)'), GeomFromEWKT('SRID=4674;POINT (-40.352133 -2.799826)'))) / (select extract(epoch from '2026-06-27 03:00:00'::timestamp) - extract(epoch from '2026-06-27 02:59: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'), 46710, 'SRID=4674;POINT (-40.352106 -2.79971)', '2026-06-27 03:00:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352133 -2.799826)'), GeomFromEWKT('SRID=4674;POINT (-40.352106 -2.79971)'))) / (select extract(epoch from '2026-06-27 03:00:06'::timestamp) - extract(epoch from '2026-06-27 03:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352133 -2.799826)'), GeomFromEWKT('SRID=4674;POINT (-40.352106 -2.79971)'))) / (select extract(epoch from '2026-06-27 03:00:06'::timestamp) - extract(epoch from '2026-06-27 03:00: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'), 46710, 'SRID=4674;POINT (-40.352073 -2.799553)', '2026-06-27 03:00:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352106 -2.79971)'), GeomFromEWKT('SRID=4674;POINT (-40.352073 -2.799553)'))) / (select extract(epoch from '2026-06-27 03:00:14'::timestamp) - extract(epoch from '2026-06-27 03:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352106 -2.79971)'), GeomFromEWKT('SRID=4674;POINT (-40.352073 -2.799553)'))) / (select extract(epoch from '2026-06-27 03:00:14'::timestamp) - extract(epoch from '2026-06-27 03:00: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'), 46710, 'SRID=4674;POINT (-40.352099 -2.799443)', '2026-06-27 03:00:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352073 -2.799553)'), GeomFromEWKT('SRID=4674;POINT (-40.352099 -2.799443)'))) / (select extract(epoch from '2026-06-27 03:00:20'::timestamp) - extract(epoch from '2026-06-27 03:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352073 -2.799553)'), GeomFromEWKT('SRID=4674;POINT (-40.352099 -2.799443)'))) / (select extract(epoch from '2026-06-27 03:00:20'::timestamp) - extract(epoch from '2026-06-27 03:00: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'), 46710, 'SRID=4674;POINT (-40.352151 -2.799308)', '2026-06-27 03:00:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352099 -2.799443)'), GeomFromEWKT('SRID=4674;POINT (-40.352151 -2.799308)'))) / (select extract(epoch from '2026-06-27 03:00:27'::timestamp) - extract(epoch from '2026-06-27 03:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352099 -2.799443)'), GeomFromEWKT('SRID=4674;POINT (-40.352151 -2.799308)'))) / (select extract(epoch from '2026-06-27 03:00:27'::timestamp) - extract(epoch from '2026-06-27 03:00: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'), 46710, 'SRID=4674;POINT (-40.352215 -2.799179)', '2026-06-27 03:00:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352151 -2.799308)'), GeomFromEWKT('SRID=4674;POINT (-40.352215 -2.799179)'))) / (select extract(epoch from '2026-06-27 03:00:34'::timestamp) - extract(epoch from '2026-06-27 03:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352151 -2.799308)'), GeomFromEWKT('SRID=4674;POINT (-40.352215 -2.799179)'))) / (select extract(epoch from '2026-06-27 03:00:34'::timestamp) - extract(epoch from '2026-06-27 03:00: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'), 46710, 'SRID=4674;POINT (-40.352277 -2.799015)', '2026-06-27 03:00:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352215 -2.799179)'), GeomFromEWKT('SRID=4674;POINT (-40.352277 -2.799015)'))) / (select extract(epoch from '2026-06-27 03:00:43'::timestamp) - extract(epoch from '2026-06-27 03:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352215 -2.799179)'), GeomFromEWKT('SRID=4674;POINT (-40.352277 -2.799015)'))) / (select extract(epoch from '2026-06-27 03:00:43'::timestamp) - extract(epoch from '2026-06-27 03:00: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'), 46710, 'SRID=4674;POINT (-40.352328 -2.798883)', '2026-06-27 03:00:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352277 -2.799015)'), GeomFromEWKT('SRID=4674;POINT (-40.352328 -2.798883)'))) / (select extract(epoch from '2026-06-27 03:00:50'::timestamp) - extract(epoch from '2026-06-27 03:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352277 -2.799015)'), GeomFromEWKT('SRID=4674;POINT (-40.352328 -2.798883)'))) / (select extract(epoch from '2026-06-27 03:00:50'::timestamp) - extract(epoch from '2026-06-27 03:00: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'), 46710, 'SRID=4674;POINT (-40.352385 -2.798744)', '2026-06-27 03:00:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352328 -2.798883)'), GeomFromEWKT('SRID=4674;POINT (-40.352385 -2.798744)'))) / (select extract(epoch from '2026-06-27 03:00:57'::timestamp) - extract(epoch from '2026-06-27 03:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352328 -2.798883)'), GeomFromEWKT('SRID=4674;POINT (-40.352385 -2.798744)'))) / (select extract(epoch from '2026-06-27 03:00:57'::timestamp) - extract(epoch from '2026-06-27 03:00: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'), 46710, 'SRID=4674;POINT (-40.352448 -2.798635)', '2026-06-27 03:01:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352385 -2.798744)'), GeomFromEWKT('SRID=4674;POINT (-40.352448 -2.798635)'))) / (select extract(epoch from '2026-06-27 03:01:03'::timestamp) - extract(epoch from '2026-06-27 03:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352385 -2.798744)'), GeomFromEWKT('SRID=4674;POINT (-40.352448 -2.798635)'))) / (select extract(epoch from '2026-06-27 03:01:03'::timestamp) - extract(epoch from '2026-06-27 03:00: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'), 46710, 'SRID=4674;POINT (-40.352512 -2.798464)', '2026-06-27 03:01:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352448 -2.798635)'), GeomFromEWKT('SRID=4674;POINT (-40.352512 -2.798464)'))) / (select extract(epoch from '2026-06-27 03:01:12'::timestamp) - extract(epoch from '2026-06-27 03:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352448 -2.798635)'), GeomFromEWKT('SRID=4674;POINT (-40.352512 -2.798464)'))) / (select extract(epoch from '2026-06-27 03:01:12'::timestamp) - extract(epoch from '2026-06-27 03:01: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'), 46710, 'SRID=4674;POINT (-40.352559 -2.798331)', '2026-06-27 03:01:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352512 -2.798464)'), GeomFromEWKT('SRID=4674;POINT (-40.352559 -2.798331)'))) / (select extract(epoch from '2026-06-27 03:01:19'::timestamp) - extract(epoch from '2026-06-27 03:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352512 -2.798464)'), GeomFromEWKT('SRID=4674;POINT (-40.352559 -2.798331)'))) / (select extract(epoch from '2026-06-27 03:01:19'::timestamp) - extract(epoch from '2026-06-27 03:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.352585 -2.798216)', '2026-06-27 03:01:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352559 -2.798331)'), GeomFromEWKT('SRID=4674;POINT (-40.352585 -2.798216)'))) / (select extract(epoch from '2026-06-27 03:01:25'::timestamp) - extract(epoch from '2026-06-27 03:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352559 -2.798331)'), GeomFromEWKT('SRID=4674;POINT (-40.352585 -2.798216)'))) / (select extract(epoch from '2026-06-27 03:01:25'::timestamp) - extract(epoch from '2026-06-27 03:01: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'), 46710, 'SRID=4674;POINT (-40.352604 -2.798098)', '2026-06-27 03:01:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352585 -2.798216)'), GeomFromEWKT('SRID=4674;POINT (-40.352604 -2.798098)'))) / (select extract(epoch from '2026-06-27 03:01:31'::timestamp) - extract(epoch from '2026-06-27 03:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352585 -2.798216)'), GeomFromEWKT('SRID=4674;POINT (-40.352604 -2.798098)'))) / (select extract(epoch from '2026-06-27 03:01:31'::timestamp) - extract(epoch from '2026-06-27 03:01: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'), 46710, 'SRID=4674;POINT (-40.35268 -2.797993)', '2026-06-27 03:01:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352604 -2.798098)'), GeomFromEWKT('SRID=4674;POINT (-40.35268 -2.797993)'))) / (select extract(epoch from '2026-06-27 03:01:38'::timestamp) - extract(epoch from '2026-06-27 03:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352604 -2.798098)'), GeomFromEWKT('SRID=4674;POINT (-40.35268 -2.797993)'))) / (select extract(epoch from '2026-06-27 03:01:38'::timestamp) - extract(epoch from '2026-06-27 03:01: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'), 46710, 'SRID=4674;POINT (-40.352806 -2.797897)', '2026-06-27 03:01:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35268 -2.797993)'), GeomFromEWKT('SRID=4674;POINT (-40.352806 -2.797897)'))) / (select extract(epoch from '2026-06-27 03:01:46'::timestamp) - extract(epoch from '2026-06-27 03:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35268 -2.797993)'), GeomFromEWKT('SRID=4674;POINT (-40.352806 -2.797897)'))) / (select extract(epoch from '2026-06-27 03:01:46'::timestamp) - extract(epoch from '2026-06-27 03:01: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'), 46710, 'SRID=4674;POINT (-40.352897 -2.797789)', '2026-06-27 03:01:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352806 -2.797897)'), GeomFromEWKT('SRID=4674;POINT (-40.352897 -2.797789)'))) / (select extract(epoch from '2026-06-27 03:01:53'::timestamp) - extract(epoch from '2026-06-27 03:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352806 -2.797897)'), GeomFromEWKT('SRID=4674;POINT (-40.352897 -2.797789)'))) / (select extract(epoch from '2026-06-27 03:01:53'::timestamp) - extract(epoch from '2026-06-27 03:01: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'), 46710, 'SRID=4674;POINT (-40.352983 -2.797673)', '2026-06-27 03:02:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352897 -2.797789)'), GeomFromEWKT('SRID=4674;POINT (-40.352983 -2.797673)'))) / (select extract(epoch from '2026-06-27 03:02:00'::timestamp) - extract(epoch from '2026-06-27 03:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352897 -2.797789)'), GeomFromEWKT('SRID=4674;POINT (-40.352983 -2.797673)'))) / (select extract(epoch from '2026-06-27 03:02:00'::timestamp) - extract(epoch from '2026-06-27 03:01: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'), 46710, 'SRID=4674;POINT (-40.35308 -2.797532)', '2026-06-27 03:02:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352983 -2.797673)'), GeomFromEWKT('SRID=4674;POINT (-40.35308 -2.797532)'))) / (select extract(epoch from '2026-06-27 03:02:08'::timestamp) - extract(epoch from '2026-06-27 03:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352983 -2.797673)'), GeomFromEWKT('SRID=4674;POINT (-40.35308 -2.797532)'))) / (select extract(epoch from '2026-06-27 03:02:08'::timestamp) - extract(epoch from '2026-06-27 03:02: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'), 46710, 'SRID=4674;POINT (-40.353183 -2.797436)', '2026-06-27 03:02:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35308 -2.797532)'), GeomFromEWKT('SRID=4674;POINT (-40.353183 -2.797436)'))) / (select extract(epoch from '2026-06-27 03:02:15'::timestamp) - extract(epoch from '2026-06-27 03:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35308 -2.797532)'), GeomFromEWKT('SRID=4674;POINT (-40.353183 -2.797436)'))) / (select extract(epoch from '2026-06-27 03:02:15'::timestamp) - extract(epoch from '2026-06-27 03:02: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'), 46710, 'SRID=4674;POINT (-40.353277 -2.797388)', '2026-06-27 03:02:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353183 -2.797436)'), GeomFromEWKT('SRID=4674;POINT (-40.353277 -2.797388)'))) / (select extract(epoch from '2026-06-27 03:02:21'::timestamp) - extract(epoch from '2026-06-27 03:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353183 -2.797436)'), GeomFromEWKT('SRID=4674;POINT (-40.353277 -2.797388)'))) / (select extract(epoch from '2026-06-27 03:02:21'::timestamp) - extract(epoch from '2026-06-27 03:02: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'), 46710, 'SRID=4674;POINT (-40.353368 -2.79737)', '2026-06-27 03:02:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353277 -2.797388)'), GeomFromEWKT('SRID=4674;POINT (-40.353368 -2.79737)'))) / (select extract(epoch from '2026-06-27 03:02:28'::timestamp) - extract(epoch from '2026-06-27 03:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353277 -2.797388)'), GeomFromEWKT('SRID=4674;POINT (-40.353368 -2.79737)'))) / (select extract(epoch from '2026-06-27 03:02:28'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.353394 -2.797366)', '2026-06-27 03:02:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353368 -2.79737)'), GeomFromEWKT('SRID=4674;POINT (-40.353394 -2.797366)'))) / (select extract(epoch from '2026-06-27 03:02:31'::timestamp) - extract(epoch from '2026-06-27 03:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353368 -2.79737)'), GeomFromEWKT('SRID=4674;POINT (-40.353394 -2.797366)'))) / (select extract(epoch from '2026-06-27 03:02:31'::timestamp) - extract(epoch from '2026-06-27 03:02: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'), 46710, 'SRID=4674;POINT (-40.353412 -2.797368)', '2026-06-27 03:02:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353394 -2.797366)'), GeomFromEWKT('SRID=4674;POINT (-40.353412 -2.797368)'))) / (select extract(epoch from '2026-06-27 03:02:33'::timestamp) - extract(epoch from '2026-06-27 03:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353394 -2.797366)'), GeomFromEWKT('SRID=4674;POINT (-40.353412 -2.797368)'))) / (select extract(epoch from '2026-06-27 03:02:33'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.353459 -2.79737)', '2026-06-27 03:02:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353412 -2.797368)'), GeomFromEWKT('SRID=4674;POINT (-40.353459 -2.79737)'))) / (select extract(epoch from '2026-06-27 03:02:38'::timestamp) - extract(epoch from '2026-06-27 03:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353412 -2.797368)'), GeomFromEWKT('SRID=4674;POINT (-40.353459 -2.79737)'))) / (select extract(epoch from '2026-06-27 03:02:38'::timestamp) - extract(epoch from '2026-06-27 03:02: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'), 46710, 'SRID=4674;POINT (-40.353466 -2.797373)', '2026-06-27 03:02:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353459 -2.79737)'), GeomFromEWKT('SRID=4674;POINT (-40.353466 -2.797373)'))) / (select extract(epoch from '2026-06-27 03:02:39'::timestamp) - extract(epoch from '2026-06-27 03:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353459 -2.79737)'), GeomFromEWKT('SRID=4674;POINT (-40.353466 -2.797373)'))) / (select extract(epoch from '2026-06-27 03:02:39'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.353492 -2.797371)', '2026-06-27 03:02:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353466 -2.797373)'), GeomFromEWKT('SRID=4674;POINT (-40.353492 -2.797371)'))) / (select extract(epoch from '2026-06-27 03:02:45'::timestamp) - extract(epoch from '2026-06-27 03:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353466 -2.797373)'), GeomFromEWKT('SRID=4674;POINT (-40.353492 -2.797371)'))) / (select extract(epoch from '2026-06-27 03:02:45'::timestamp) - extract(epoch from '2026-06-27 03:02: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'), 46710, 'SRID=4674;POINT (-40.353537 -2.797379)', '2026-06-27 03:02:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353492 -2.797371)'), GeomFromEWKT('SRID=4674;POINT (-40.353537 -2.797379)'))) / (select extract(epoch from '2026-06-27 03:02:53'::timestamp) - extract(epoch from '2026-06-27 03:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353492 -2.797371)'), GeomFromEWKT('SRID=4674;POINT (-40.353537 -2.797379)'))) / (select extract(epoch from '2026-06-27 03:02:53'::timestamp) - extract(epoch from '2026-06-27 03:02: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'), 46710, 'SRID=4674;POINT (-40.35359 -2.797396)', '2026-06-27 03:03:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353537 -2.797379)'), GeomFromEWKT('SRID=4674;POINT (-40.35359 -2.797396)'))) / (select extract(epoch from '2026-06-27 03:03:05'::timestamp) - extract(epoch from '2026-06-27 03:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353537 -2.797379)'), GeomFromEWKT('SRID=4674;POINT (-40.35359 -2.797396)'))) / (select extract(epoch from '2026-06-27 03:03:05'::timestamp) - extract(epoch from '2026-06-27 03:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353626 -2.797404)', '2026-06-27 03:03:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35359 -2.797396)'), GeomFromEWKT('SRID=4674;POINT (-40.353626 -2.797404)'))) / (select extract(epoch from '2026-06-27 03:03:13'::timestamp) - extract(epoch from '2026-06-27 03:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35359 -2.797396)'), GeomFromEWKT('SRID=4674;POINT (-40.353626 -2.797404)'))) / (select extract(epoch from '2026-06-27 03:03:13'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.35365 -2.797413)', '2026-06-27 03:03:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353626 -2.797404)'), GeomFromEWKT('SRID=4674;POINT (-40.35365 -2.797413)'))) / (select extract(epoch from '2026-06-27 03:03:21'::timestamp) - extract(epoch from '2026-06-27 03:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353626 -2.797404)'), GeomFromEWKT('SRID=4674;POINT (-40.35365 -2.797413)'))) / (select extract(epoch from '2026-06-27 03:03:21'::timestamp) - extract(epoch from '2026-06-27 03:03: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'), 46710, 'SRID=4674;POINT (-40.353677 -2.797418)', '2026-06-27 03:03:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35365 -2.797413)'), GeomFromEWKT('SRID=4674;POINT (-40.353677 -2.797418)'))) / (select extract(epoch from '2026-06-27 03:03:32'::timestamp) - extract(epoch from '2026-06-27 03:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35365 -2.797413)'), GeomFromEWKT('SRID=4674;POINT (-40.353677 -2.797418)'))) / (select extract(epoch from '2026-06-27 03:03:32'::timestamp) - extract(epoch from '2026-06-27 03:03: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'), 46710, 'SRID=4674;POINT (-40.35371 -2.797422)', '2026-06-27 03:03:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353677 -2.797418)'), GeomFromEWKT('SRID=4674;POINT (-40.35371 -2.797422)'))) / (select extract(epoch from '2026-06-27 03:03:43'::timestamp) - extract(epoch from '2026-06-27 03:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353677 -2.797418)'), GeomFromEWKT('SRID=4674;POINT (-40.35371 -2.797422)'))) / (select extract(epoch from '2026-06-27 03:03:43'::timestamp) - extract(epoch from '2026-06-27 03:03: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'), 46710, 'SRID=4674;POINT (-40.353734 -2.797425)', '2026-06-27 03:03:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35371 -2.797422)'), GeomFromEWKT('SRID=4674;POINT (-40.353734 -2.797425)'))) / (select extract(epoch from '2026-06-27 03:03:52'::timestamp) - extract(epoch from '2026-06-27 03:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35371 -2.797422)'), GeomFromEWKT('SRID=4674;POINT (-40.353734 -2.797425)'))) / (select extract(epoch from '2026-06-27 03:03:52'::timestamp) - extract(epoch from '2026-06-27 03:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353766 -2.797421)', '2026-06-27 03:04:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353734 -2.797425)'), GeomFromEWKT('SRID=4674;POINT (-40.353766 -2.797421)'))) / (select extract(epoch from '2026-06-27 03:04:06'::timestamp) - extract(epoch from '2026-06-27 03:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353734 -2.797425)'), GeomFromEWKT('SRID=4674;POINT (-40.353766 -2.797421)'))) / (select extract(epoch from '2026-06-27 03:04:06'::timestamp) - extract(epoch from '2026-06-27 03:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353791 -2.797406)', '2026-06-27 03:04:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353766 -2.797421)'), GeomFromEWKT('SRID=4674;POINT (-40.353791 -2.797406)'))) / (select extract(epoch from '2026-06-27 03:04:19'::timestamp) - extract(epoch from '2026-06-27 03:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353766 -2.797421)'), GeomFromEWKT('SRID=4674;POINT (-40.353791 -2.797406)'))) / (select extract(epoch from '2026-06-27 03:04:19'::timestamp) - extract(epoch from '2026-06-27 03:04: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'), 46710, 'SRID=4674;POINT (-40.353806 -2.797409)', '2026-06-27 03:04:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353791 -2.797406)'), GeomFromEWKT('SRID=4674;POINT (-40.353806 -2.797409)'))) / (select extract(epoch from '2026-06-27 03:04:28'::timestamp) - extract(epoch from '2026-06-27 03:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353791 -2.797406)'), GeomFromEWKT('SRID=4674;POINT (-40.353806 -2.797409)'))) / (select extract(epoch from '2026-06-27 03:04:28'::timestamp) - extract(epoch from '2026-06-27 03:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353837 -2.797406)', '2026-06-27 03:04:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353806 -2.797409)'), GeomFromEWKT('SRID=4674;POINT (-40.353837 -2.797406)'))) / (select extract(epoch from '2026-06-27 03:04:41'::timestamp) - extract(epoch from '2026-06-27 03:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353806 -2.797409)'), GeomFromEWKT('SRID=4674;POINT (-40.353837 -2.797406)'))) / (select extract(epoch from '2026-06-27 03:04:41'::timestamp) - extract(epoch from '2026-06-27 03:04: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'), 46710, 'SRID=4674;POINT (-40.353869 -2.797402)', '2026-06-27 03:04:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353837 -2.797406)'), GeomFromEWKT('SRID=4674;POINT (-40.353869 -2.797402)'))) / (select extract(epoch from '2026-06-27 03:04:51'::timestamp) - extract(epoch from '2026-06-27 03:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353837 -2.797406)'), GeomFromEWKT('SRID=4674;POINT (-40.353869 -2.797402)'))) / (select extract(epoch from '2026-06-27 03:04:51'::timestamp) - extract(epoch from '2026-06-27 03:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353882 -2.79745)', '2026-06-27 03:04:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353869 -2.797402)'), GeomFromEWKT('SRID=4674;POINT (-40.353882 -2.79745)'))) / (select extract(epoch from '2026-06-27 03:04:59'::timestamp) - extract(epoch from '2026-06-27 03:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353869 -2.797402)'), GeomFromEWKT('SRID=4674;POINT (-40.353882 -2.79745)'))) / (select extract(epoch from '2026-06-27 03:04:59'::timestamp) - extract(epoch from '2026-06-27 03:04: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'), 46710, 'SRID=4674;POINT (-40.353851 -2.797465)', '2026-06-27 03:05:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353882 -2.79745)'), GeomFromEWKT('SRID=4674;POINT (-40.353851 -2.797465)'))) / (select extract(epoch from '2026-06-27 03:05:04'::timestamp) - extract(epoch from '2026-06-27 03:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353882 -2.79745)'), GeomFromEWKT('SRID=4674;POINT (-40.353851 -2.797465)'))) / (select extract(epoch from '2026-06-27 03:05:04'::timestamp) - extract(epoch from '2026-06-27 03:04: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'), 46710, 'SRID=4674;POINT (-40.353813 -2.797466)', '2026-06-27 03:05:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353851 -2.797465)'), GeomFromEWKT('SRID=4674;POINT (-40.353813 -2.797466)'))) / (select extract(epoch from '2026-06-27 03:05:08'::timestamp) - extract(epoch from '2026-06-27 03:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353851 -2.797465)'), GeomFromEWKT('SRID=4674;POINT (-40.353813 -2.797466)'))) / (select extract(epoch from '2026-06-27 03:05:08'::timestamp) - extract(epoch from '2026-06-27 03:05: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'), 46710, 'SRID=4674;POINT (-40.353768 -2.797456)', '2026-06-27 03:05:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353813 -2.797466)'), GeomFromEWKT('SRID=4674;POINT (-40.353768 -2.797456)'))) / (select extract(epoch from '2026-06-27 03:05:12'::timestamp) - extract(epoch from '2026-06-27 03:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353813 -2.797466)'), GeomFromEWKT('SRID=4674;POINT (-40.353768 -2.797456)'))) / (select extract(epoch from '2026-06-27 03:05:12'::timestamp) - extract(epoch from '2026-06-27 03:05: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'), 46710, 'SRID=4674;POINT (-40.353745 -2.797449)', '2026-06-27 03:05:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353768 -2.797456)'), GeomFromEWKT('SRID=4674;POINT (-40.353745 -2.797449)'))) / (select extract(epoch from '2026-06-27 03:05:14'::timestamp) - extract(epoch from '2026-06-27 03:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353768 -2.797456)'), GeomFromEWKT('SRID=4674;POINT (-40.353745 -2.797449)'))) / (select extract(epoch from '2026-06-27 03:05:14'::timestamp) - extract(epoch from '2026-06-27 03:05: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'), 46710, 'SRID=4674;POINT (-40.353663 -2.797417)', '2026-06-27 03:05:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353745 -2.797449)'), GeomFromEWKT('SRID=4674;POINT (-40.353663 -2.797417)'))) / (select extract(epoch from '2026-06-27 03:05:21'::timestamp) - extract(epoch from '2026-06-27 03:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353745 -2.797449)'), GeomFromEWKT('SRID=4674;POINT (-40.353663 -2.797417)'))) / (select extract(epoch from '2026-06-27 03:05:21'::timestamp) - extract(epoch from '2026-06-27 03:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353584 -2.797375)', '2026-06-27 03:05:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353663 -2.797417)'), GeomFromEWKT('SRID=4674;POINT (-40.353584 -2.797375)'))) / (select extract(epoch from '2026-06-27 03:05:28'::timestamp) - extract(epoch from '2026-06-27 03:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353663 -2.797417)'), GeomFromEWKT('SRID=4674;POINT (-40.353584 -2.797375)'))) / (select extract(epoch from '2026-06-27 03:05:28'::timestamp) - extract(epoch from '2026-06-27 03:05: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'), 46710, 'SRID=4674;POINT (-40.353526 -2.797337)', '2026-06-27 03:05:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353584 -2.797375)'), GeomFromEWKT('SRID=4674;POINT (-40.353526 -2.797337)'))) / (select extract(epoch from '2026-06-27 03:05:34'::timestamp) - extract(epoch from '2026-06-27 03:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353584 -2.797375)'), GeomFromEWKT('SRID=4674;POINT (-40.353526 -2.797337)'))) / (select extract(epoch from '2026-06-27 03:05:34'::timestamp) - extract(epoch from '2026-06-27 03:05: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'), 46710, 'SRID=4674;POINT (-40.353456 -2.797275)', '2026-06-27 03:05:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353526 -2.797337)'), GeomFromEWKT('SRID=4674;POINT (-40.353456 -2.797275)'))) / (select extract(epoch from '2026-06-27 03:05:41'::timestamp) - extract(epoch from '2026-06-27 03:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353526 -2.797337)'), GeomFromEWKT('SRID=4674;POINT (-40.353456 -2.797275)'))) / (select extract(epoch from '2026-06-27 03:05:41'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.353416 -2.797239)', '2026-06-27 03:05:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353456 -2.797275)'), GeomFromEWKT('SRID=4674;POINT (-40.353416 -2.797239)'))) / (select extract(epoch from '2026-06-27 03:05:45'::timestamp) - extract(epoch from '2026-06-27 03:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353456 -2.797275)'), GeomFromEWKT('SRID=4674;POINT (-40.353416 -2.797239)'))) / (select extract(epoch from '2026-06-27 03:05:45'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.353328 -2.79717)', '2026-06-27 03:05:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353416 -2.797239)'), GeomFromEWKT('SRID=4674;POINT (-40.353328 -2.79717)'))) / (select extract(epoch from '2026-06-27 03:05:53'::timestamp) - extract(epoch from '2026-06-27 03:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353416 -2.797239)'), GeomFromEWKT('SRID=4674;POINT (-40.353328 -2.79717)'))) / (select extract(epoch from '2026-06-27 03:05:53'::timestamp) - extract(epoch from '2026-06-27 03:05: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'), 46710, 'SRID=4674;POINT (-40.353249 -2.797146)', '2026-06-27 03:05:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353328 -2.79717)'), GeomFromEWKT('SRID=4674;POINT (-40.353249 -2.797146)'))) / (select extract(epoch from '2026-06-27 03:05:59'::timestamp) - extract(epoch from '2026-06-27 03:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353328 -2.79717)'), GeomFromEWKT('SRID=4674;POINT (-40.353249 -2.797146)'))) / (select extract(epoch from '2026-06-27 03:05:59'::timestamp) - extract(epoch from '2026-06-27 03:05:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353238 -2.797139)', '2026-06-27 03:06:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353249 -2.797146)'), GeomFromEWKT('SRID=4674;POINT (-40.353238 -2.797139)'))) / (select extract(epoch from '2026-06-27 03:06:00'::timestamp) - extract(epoch from '2026-06-27 03:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353249 -2.797146)'), GeomFromEWKT('SRID=4674;POINT (-40.353238 -2.797139)'))) / (select extract(epoch from '2026-06-27 03:06:00'::timestamp) - extract(epoch from '2026-06-27 03:05:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353217 -2.797126)', '2026-06-27 03:06:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353238 -2.797139)'), GeomFromEWKT('SRID=4674;POINT (-40.353217 -2.797126)'))) / (select extract(epoch from '2026-06-27 03:06:02'::timestamp) - extract(epoch from '2026-06-27 03:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353238 -2.797139)'), GeomFromEWKT('SRID=4674;POINT (-40.353217 -2.797126)'))) / (select extract(epoch from '2026-06-27 03:06:02'::timestamp) - extract(epoch from '2026-06-27 03:06:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353192 -2.797111)', '2026-06-27 03:06:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353217 -2.797126)'), GeomFromEWKT('SRID=4674;POINT (-40.353192 -2.797111)'))) / (select extract(epoch from '2026-06-27 03:06:05'::timestamp) - extract(epoch from '2026-06-27 03:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353217 -2.797126)'), GeomFromEWKT('SRID=4674;POINT (-40.353192 -2.797111)'))) / (select extract(epoch from '2026-06-27 03:06:05'::timestamp) - extract(epoch from '2026-06-27 03:06: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'), 46710, 'SRID=4674;POINT (-40.353145 -2.797096)', '2026-06-27 03:06:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353192 -2.797111)'), GeomFromEWKT('SRID=4674;POINT (-40.353145 -2.797096)'))) / (select extract(epoch from '2026-06-27 03:06:11'::timestamp) - extract(epoch from '2026-06-27 03:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353192 -2.797111)'), GeomFromEWKT('SRID=4674;POINT (-40.353145 -2.797096)'))) / (select extract(epoch from '2026-06-27 03:06:11'::timestamp) - extract(epoch from '2026-06-27 03:06: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'), 46710, 'SRID=4674;POINT (-40.353126 -2.797107)', '2026-06-27 03:06:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353145 -2.797096)'), GeomFromEWKT('SRID=4674;POINT (-40.353126 -2.797107)'))) / (select extract(epoch from '2026-06-27 03:06:17'::timestamp) - extract(epoch from '2026-06-27 03:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353145 -2.797096)'), GeomFromEWKT('SRID=4674;POINT (-40.353126 -2.797107)'))) / (select extract(epoch from '2026-06-27 03:06:17'::timestamp) - extract(epoch from '2026-06-27 03:06: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'), 46710, 'SRID=4674;POINT (-40.353133 -2.797111)', '2026-06-27 03:06:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353126 -2.797107)'), GeomFromEWKT('SRID=4674;POINT (-40.353133 -2.797111)'))) / (select extract(epoch from '2026-06-27 03:06:27'::timestamp) - extract(epoch from '2026-06-27 03:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353126 -2.797107)'), GeomFromEWKT('SRID=4674;POINT (-40.353133 -2.797111)'))) / (select extract(epoch from '2026-06-27 03:06:27'::timestamp) - extract(epoch from '2026-06-27 03:06: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'), 46710, 'SRID=4674;POINT (-40.353162 -2.797112)', '2026-06-27 03:06:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353133 -2.797111)'), GeomFromEWKT('SRID=4674;POINT (-40.353162 -2.797112)'))) / (select extract(epoch from '2026-06-27 03:06:34'::timestamp) - extract(epoch from '2026-06-27 03:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353133 -2.797111)'), GeomFromEWKT('SRID=4674;POINT (-40.353162 -2.797112)'))) / (select extract(epoch from '2026-06-27 03:06:34'::timestamp) - extract(epoch from '2026-06-27 03:06: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'), 46710, 'SRID=4674;POINT (-40.353186 -2.797105)', '2026-06-27 03:06:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353162 -2.797112)'), GeomFromEWKT('SRID=4674;POINT (-40.353186 -2.797105)'))) / (select extract(epoch from '2026-06-27 03:06:43'::timestamp) - extract(epoch from '2026-06-27 03:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353162 -2.797112)'), GeomFromEWKT('SRID=4674;POINT (-40.353186 -2.797105)'))) / (select extract(epoch from '2026-06-27 03:06:43'::timestamp) - extract(epoch from '2026-06-27 03:06: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'), 46710, 'SRID=4674;POINT (-40.353188 -2.797102)', '2026-06-27 03:06:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353186 -2.797105)'), GeomFromEWKT('SRID=4674;POINT (-40.353188 -2.797102)'))) / (select extract(epoch from '2026-06-27 03:06:44'::timestamp) - extract(epoch from '2026-06-27 03:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353186 -2.797105)'), GeomFromEWKT('SRID=4674;POINT (-40.353188 -2.797102)'))) / (select extract(epoch from '2026-06-27 03:06:44'::timestamp) - extract(epoch from '2026-06-27 03:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353207 -2.79709)', '2026-06-27 03:06:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353188 -2.797102)'), GeomFromEWKT('SRID=4674;POINT (-40.353207 -2.79709)'))) / (select extract(epoch from '2026-06-27 03:06:54'::timestamp) - extract(epoch from '2026-06-27 03:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353188 -2.797102)'), GeomFromEWKT('SRID=4674;POINT (-40.353207 -2.79709)'))) / (select extract(epoch from '2026-06-27 03:06:54'::timestamp) - extract(epoch from '2026-06-27 03:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353235 -2.797086)', '2026-06-27 03:07:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353207 -2.79709)'), GeomFromEWKT('SRID=4674;POINT (-40.353235 -2.797086)'))) / (select extract(epoch from '2026-06-27 03:07:04'::timestamp) - extract(epoch from '2026-06-27 03:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353207 -2.79709)'), GeomFromEWKT('SRID=4674;POINT (-40.353235 -2.797086)'))) / (select extract(epoch from '2026-06-27 03:07:04'::timestamp) - extract(epoch from '2026-06-27 03:06: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'), 46710, 'SRID=4674;POINT (-40.353255 -2.797077)', '2026-06-27 03:07:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353235 -2.797086)'), GeomFromEWKT('SRID=4674;POINT (-40.353255 -2.797077)'))) / (select extract(epoch from '2026-06-27 03:07:14'::timestamp) - extract(epoch from '2026-06-27 03:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353235 -2.797086)'), GeomFromEWKT('SRID=4674;POINT (-40.353255 -2.797077)'))) / (select extract(epoch from '2026-06-27 03:07:14'::timestamp) - extract(epoch from '2026-06-27 03:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353289 -2.797072)', '2026-06-27 03:07:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353255 -2.797077)'), GeomFromEWKT('SRID=4674;POINT (-40.353289 -2.797072)'))) / (select extract(epoch from '2026-06-27 03:07:28'::timestamp) - extract(epoch from '2026-06-27 03:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353255 -2.797077)'), GeomFromEWKT('SRID=4674;POINT (-40.353289 -2.797072)'))) / (select extract(epoch from '2026-06-27 03:07:28'::timestamp) - extract(epoch from '2026-06-27 03:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353325 -2.797059)', '2026-06-27 03:07:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353289 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-40.353325 -2.797059)'))) / (select extract(epoch from '2026-06-27 03:07:40'::timestamp) - extract(epoch from '2026-06-27 03:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353289 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-40.353325 -2.797059)'))) / (select extract(epoch from '2026-06-27 03:07:40'::timestamp) - extract(epoch from '2026-06-27 03:07:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353343 -2.797061)', '2026-06-27 03:07:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353325 -2.797059)'), GeomFromEWKT('SRID=4674;POINT (-40.353343 -2.797061)'))) / (select extract(epoch from '2026-06-27 03:07:50'::timestamp) - extract(epoch from '2026-06-27 03:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353325 -2.797059)'), GeomFromEWKT('SRID=4674;POINT (-40.353343 -2.797061)'))) / (select extract(epoch from '2026-06-27 03:07:50'::timestamp) - extract(epoch from '2026-06-27 03:07:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353389 -2.797098)', '2026-06-27 03:07:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353343 -2.797061)'), GeomFromEWKT('SRID=4674;POINT (-40.353389 -2.797098)'))) / (select extract(epoch from '2026-06-27 03:07:59'::timestamp) - extract(epoch from '2026-06-27 03:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353343 -2.797061)'), GeomFromEWKT('SRID=4674;POINT (-40.353389 -2.797098)'))) / (select extract(epoch from '2026-06-27 03:07:59'::timestamp) - extract(epoch from '2026-06-27 03:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353434 -2.797123)', '2026-06-27 03:08:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353389 -2.797098)'), GeomFromEWKT('SRID=4674;POINT (-40.353434 -2.797123)'))) / (select extract(epoch from '2026-06-27 03:08:07'::timestamp) - extract(epoch from '2026-06-27 03:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353389 -2.797098)'), GeomFromEWKT('SRID=4674;POINT (-40.353434 -2.797123)'))) / (select extract(epoch from '2026-06-27 03:08:07'::timestamp) - extract(epoch from '2026-06-27 03:07:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.3535 -2.797153)', '2026-06-27 03:08:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353434 -2.797123)'), GeomFromEWKT('SRID=4674;POINT (-40.3535 -2.797153)'))) / (select extract(epoch from '2026-06-27 03:08:19'::timestamp) - extract(epoch from '2026-06-27 03:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353434 -2.797123)'), GeomFromEWKT('SRID=4674;POINT (-40.3535 -2.797153)'))) / (select extract(epoch from '2026-06-27 03:08:19'::timestamp) - extract(epoch from '2026-06-27 03:08: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'), 46710, 'SRID=4674;POINT (-40.353548 -2.797176)', '2026-06-27 03:08:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3535 -2.797153)'), GeomFromEWKT('SRID=4674;POINT (-40.353548 -2.797176)'))) / (select extract(epoch from '2026-06-27 03:08:27'::timestamp) - extract(epoch from '2026-06-27 03:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3535 -2.797153)'), GeomFromEWKT('SRID=4674;POINT (-40.353548 -2.797176)'))) / (select extract(epoch from '2026-06-27 03:08:27'::timestamp) - extract(epoch from '2026-06-27 03:08: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'), 46710, 'SRID=4674;POINT (-40.353616 -2.797203)', '2026-06-27 03:08:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353548 -2.797176)'), GeomFromEWKT('SRID=4674;POINT (-40.353616 -2.797203)'))) / (select extract(epoch from '2026-06-27 03:08:37'::timestamp) - extract(epoch from '2026-06-27 03:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353548 -2.797176)'), GeomFromEWKT('SRID=4674;POINT (-40.353616 -2.797203)'))) / (select extract(epoch from '2026-06-27 03:08:37'::timestamp) - extract(epoch from '2026-06-27 03:08:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.35367 -2.797236)', '2026-06-27 03:08:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353616 -2.797203)'), GeomFromEWKT('SRID=4674;POINT (-40.35367 -2.797236)'))) / (select extract(epoch from '2026-06-27 03:08:45'::timestamp) - extract(epoch from '2026-06-27 03:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353616 -2.797203)'), GeomFromEWKT('SRID=4674;POINT (-40.35367 -2.797236)'))) / (select extract(epoch from '2026-06-27 03:08:45'::timestamp) - extract(epoch from '2026-06-27 03:08: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'), 46710, 'SRID=4674;POINT (-40.353721 -2.797279)', '2026-06-27 03:08:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35367 -2.797236)'), GeomFromEWKT('SRID=4674;POINT (-40.353721 -2.797279)'))) / (select extract(epoch from '2026-06-27 03:08:56'::timestamp) - extract(epoch from '2026-06-27 03:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35367 -2.797236)'), GeomFromEWKT('SRID=4674;POINT (-40.353721 -2.797279)'))) / (select extract(epoch from '2026-06-27 03:08:56'::timestamp) - extract(epoch from '2026-06-27 03:08: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'), 46710, 'SRID=4674;POINT (-40.353741 -2.79732)', '2026-06-27 03:09:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353721 -2.797279)'), GeomFromEWKT('SRID=4674;POINT (-40.353741 -2.79732)'))) / (select extract(epoch from '2026-06-27 03:09:06'::timestamp) - extract(epoch from '2026-06-27 03:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353721 -2.797279)'), GeomFromEWKT('SRID=4674;POINT (-40.353741 -2.79732)'))) / (select extract(epoch from '2026-06-27 03:09:06'::timestamp) - extract(epoch from '2026-06-27 03:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.353768 -2.79736)', '2026-06-27 03:09:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353741 -2.79732)'), GeomFromEWKT('SRID=4674;POINT (-40.353768 -2.79736)'))) / (select extract(epoch from '2026-06-27 03:09:14'::timestamp) - extract(epoch from '2026-06-27 03:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353741 -2.79732)'), GeomFromEWKT('SRID=4674;POINT (-40.353768 -2.79736)'))) / (select extract(epoch from '2026-06-27 03:09:14'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.353797 -2.797386)', '2026-06-27 03:09:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353768 -2.79736)'), GeomFromEWKT('SRID=4674;POINT (-40.353797 -2.797386)'))) / (select extract(epoch from '2026-06-27 03:09:21'::timestamp) - extract(epoch from '2026-06-27 03:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353768 -2.79736)'), GeomFromEWKT('SRID=4674;POINT (-40.353797 -2.797386)'))) / (select extract(epoch from '2026-06-27 03:09:21'::timestamp) - extract(epoch from '2026-06-27 03:09: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'), 46710, 'SRID=4674;POINT (-40.353842 -2.797412)', '2026-06-27 03:09:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353797 -2.797386)'), GeomFromEWKT('SRID=4674;POINT (-40.353842 -2.797412)'))) / (select extract(epoch from '2026-06-27 03:09:30'::timestamp) - extract(epoch from '2026-06-27 03:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353797 -2.797386)'), GeomFromEWKT('SRID=4674;POINT (-40.353842 -2.797412)'))) / (select extract(epoch from '2026-06-27 03:09:30'::timestamp) - extract(epoch from '2026-06-27 03:09: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'), 46710, 'SRID=4674;POINT (-40.353899 -2.797448)', '2026-06-27 03:09:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353842 -2.797412)'), GeomFromEWKT('SRID=4674;POINT (-40.353899 -2.797448)'))) / (select extract(epoch from '2026-06-27 03:09:42'::timestamp) - extract(epoch from '2026-06-27 03:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353842 -2.797412)'), GeomFromEWKT('SRID=4674;POINT (-40.353899 -2.797448)'))) / (select extract(epoch from '2026-06-27 03:09:42'::timestamp) - extract(epoch from '2026-06-27 03:09: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'), 46710, 'SRID=4674;POINT (-40.353914 -2.797433)', '2026-06-27 03:09:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353899 -2.797448)'), GeomFromEWKT('SRID=4674;POINT (-40.353914 -2.797433)'))) / (select extract(epoch from '2026-06-27 03:09:50'::timestamp) - extract(epoch from '2026-06-27 03:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353899 -2.797448)'), GeomFromEWKT('SRID=4674;POINT (-40.353914 -2.797433)'))) / (select extract(epoch from '2026-06-27 03:09:50'::timestamp) - extract(epoch from '2026-06-27 03:09: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'), 46710, 'SRID=4674;POINT (-40.35393 -2.797428)', '2026-06-27 03:10:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353914 -2.797433)'), GeomFromEWKT('SRID=4674;POINT (-40.35393 -2.797428)'))) / (select extract(epoch from '2026-06-27 03:10:05'::timestamp) - extract(epoch from '2026-06-27 03:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353914 -2.797433)'), GeomFromEWKT('SRID=4674;POINT (-40.35393 -2.797428)'))) / (select extract(epoch from '2026-06-27 03:10:05'::timestamp) - extract(epoch from '2026-06-27 03:09: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'), 46710, 'SRID=4674;POINT (-40.353975 -2.797447)', '2026-06-27 03:10:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35393 -2.797428)'), GeomFromEWKT('SRID=4674;POINT (-40.353975 -2.797447)'))) / (select extract(epoch from '2026-06-27 03:10:14'::timestamp) - extract(epoch from '2026-06-27 03:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35393 -2.797428)'), GeomFromEWKT('SRID=4674;POINT (-40.353975 -2.797447)'))) / (select extract(epoch from '2026-06-27 03:10:14'::timestamp) - extract(epoch from '2026-06-27 03:10: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'), 46710, 'SRID=4674;POINT (-40.354032 -2.797463)', '2026-06-27 03:10:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353975 -2.797447)'), GeomFromEWKT('SRID=4674;POINT (-40.354032 -2.797463)'))) / (select extract(epoch from '2026-06-27 03:10:26'::timestamp) - extract(epoch from '2026-06-27 03:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353975 -2.797447)'), GeomFromEWKT('SRID=4674;POINT (-40.354032 -2.797463)'))) / (select extract(epoch from '2026-06-27 03:10:26'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.354094 -2.797468)', '2026-06-27 03:10:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354032 -2.797463)'), GeomFromEWKT('SRID=4674;POINT (-40.354094 -2.797468)'))) / (select extract(epoch from '2026-06-27 03:10:39'::timestamp) - extract(epoch from '2026-06-27 03:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354032 -2.797463)'), GeomFromEWKT('SRID=4674;POINT (-40.354094 -2.797468)'))) / (select extract(epoch from '2026-06-27 03:10:39'::timestamp) - extract(epoch from '2026-06-27 03:10: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'), 46710, 'SRID=4674;POINT (-40.354142 -2.797469)', '2026-06-27 03:10:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354094 -2.797468)'), GeomFromEWKT('SRID=4674;POINT (-40.354142 -2.797469)'))) / (select extract(epoch from '2026-06-27 03:10:49'::timestamp) - extract(epoch from '2026-06-27 03:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354094 -2.797468)'), GeomFromEWKT('SRID=4674;POINT (-40.354142 -2.797469)'))) / (select extract(epoch from '2026-06-27 03:10:49'::timestamp) - extract(epoch from '2026-06-27 03:10: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'), 46710, 'SRID=4674;POINT (-40.354183 -2.797461)', '2026-06-27 03:10:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354142 -2.797469)'), GeomFromEWKT('SRID=4674;POINT (-40.354183 -2.797461)'))) / (select extract(epoch from '2026-06-27 03:10:57'::timestamp) - extract(epoch from '2026-06-27 03:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354142 -2.797469)'), GeomFromEWKT('SRID=4674;POINT (-40.354183 -2.797461)'))) / (select extract(epoch from '2026-06-27 03:10:57'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.354254 -2.797463)', '2026-06-27 03:11:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354183 -2.797461)'), GeomFromEWKT('SRID=4674;POINT (-40.354254 -2.797463)'))) / (select extract(epoch from '2026-06-27 03:11:08'::timestamp) - extract(epoch from '2026-06-27 03:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354183 -2.797461)'), GeomFromEWKT('SRID=4674;POINT (-40.354254 -2.797463)'))) / (select extract(epoch from '2026-06-27 03:11:08'::timestamp) - extract(epoch from '2026-06-27 03:10:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.354347 -2.797457)', '2026-06-27 03:11:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354254 -2.797463)'), GeomFromEWKT('SRID=4674;POINT (-40.354347 -2.797457)'))) / (select extract(epoch from '2026-06-27 03:11:22'::timestamp) - extract(epoch from '2026-06-27 03:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354254 -2.797463)'), GeomFromEWKT('SRID=4674;POINT (-40.354347 -2.797457)'))) / (select extract(epoch from '2026-06-27 03:11:22'::timestamp) - extract(epoch from '2026-06-27 03:11: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'), 46710, 'SRID=4674;POINT (-40.354433 -2.79745)', '2026-06-27 03:11:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354347 -2.797457)'), GeomFromEWKT('SRID=4674;POINT (-40.354433 -2.79745)'))) / (select extract(epoch from '2026-06-27 03:11:36'::timestamp) - extract(epoch from '2026-06-27 03:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354347 -2.797457)'), GeomFromEWKT('SRID=4674;POINT (-40.354433 -2.79745)'))) / (select extract(epoch from '2026-06-27 03:11:36'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.354511 -2.797437)', '2026-06-27 03:11:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354433 -2.79745)'), GeomFromEWKT('SRID=4674;POINT (-40.354511 -2.797437)'))) / (select extract(epoch from '2026-06-27 03:11:50'::timestamp) - extract(epoch from '2026-06-27 03:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354433 -2.79745)'), GeomFromEWKT('SRID=4674;POINT (-40.354511 -2.797437)'))) / (select extract(epoch from '2026-06-27 03:11:50'::timestamp) - extract(epoch from '2026-06-27 03:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.354549 -2.797438)', '2026-06-27 03:12:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354511 -2.797437)'), GeomFromEWKT('SRID=4674;POINT (-40.354549 -2.797438)'))) / (select extract(epoch from '2026-06-27 03:12:01'::timestamp) - extract(epoch from '2026-06-27 03:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354511 -2.797437)'), GeomFromEWKT('SRID=4674;POINT (-40.354549 -2.797438)'))) / (select extract(epoch from '2026-06-27 03:12:01'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.354609 -2.797434)', '2026-06-27 03:12:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354549 -2.797438)'), GeomFromEWKT('SRID=4674;POINT (-40.354609 -2.797434)'))) / (select extract(epoch from '2026-06-27 03:12:13'::timestamp) - extract(epoch from '2026-06-27 03:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354549 -2.797438)'), GeomFromEWKT('SRID=4674;POINT (-40.354609 -2.797434)'))) / (select extract(epoch from '2026-06-27 03:12:13'::timestamp) - extract(epoch from '2026-06-27 03:12: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'), 46710, 'SRID=4674;POINT (-40.354681 -2.797438)', '2026-06-27 03:12:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354609 -2.797434)'), GeomFromEWKT('SRID=4674;POINT (-40.354681 -2.797438)'))) / (select extract(epoch from '2026-06-27 03:12:24'::timestamp) - extract(epoch from '2026-06-27 03:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354609 -2.797434)'), GeomFromEWKT('SRID=4674;POINT (-40.354681 -2.797438)'))) / (select extract(epoch from '2026-06-27 03:12:24'::timestamp) - extract(epoch from '2026-06-27 03:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.354733 -2.797423)', '2026-06-27 03:12:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354681 -2.797438)'), GeomFromEWKT('SRID=4674;POINT (-40.354733 -2.797423)'))) / (select extract(epoch from '2026-06-27 03:12:34'::timestamp) - extract(epoch from '2026-06-27 03:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354681 -2.797438)'), GeomFromEWKT('SRID=4674;POINT (-40.354733 -2.797423)'))) / (select extract(epoch from '2026-06-27 03:12:34'::timestamp) - extract(epoch from '2026-06-27 03:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.354787 -2.797401)', '2026-06-27 03:12:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354733 -2.797423)'), GeomFromEWKT('SRID=4674;POINT (-40.354787 -2.797401)'))) / (select extract(epoch from '2026-06-27 03:12:43'::timestamp) - extract(epoch from '2026-06-27 03:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354733 -2.797423)'), GeomFromEWKT('SRID=4674;POINT (-40.354787 -2.797401)'))) / (select extract(epoch from '2026-06-27 03:12:43'::timestamp) - extract(epoch from '2026-06-27 03:12: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'), 46710, 'SRID=4674;POINT (-40.354863 -2.797378)', '2026-06-27 03:12:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354787 -2.797401)'), GeomFromEWKT('SRID=4674;POINT (-40.354863 -2.797378)'))) / (select extract(epoch from '2026-06-27 03:12:53'::timestamp) - extract(epoch from '2026-06-27 03:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354787 -2.797401)'), GeomFromEWKT('SRID=4674;POINT (-40.354863 -2.797378)'))) / (select extract(epoch from '2026-06-27 03:12:53'::timestamp) - extract(epoch from '2026-06-27 03:12: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'), 46710, 'SRID=4674;POINT (-40.354928 -2.797355)', '2026-06-27 03:13:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354863 -2.797378)'), GeomFromEWKT('SRID=4674;POINT (-40.354928 -2.797355)'))) / (select extract(epoch from '2026-06-27 03:13:05'::timestamp) - extract(epoch from '2026-06-27 03:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354863 -2.797378)'), GeomFromEWKT('SRID=4674;POINT (-40.354928 -2.797355)'))) / (select extract(epoch from '2026-06-27 03:13:05'::timestamp) - extract(epoch from '2026-06-27 03:12: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'), 46710, 'SRID=4674;POINT (-40.354967 -2.797334)', '2026-06-27 03:13:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354928 -2.797355)'), GeomFromEWKT('SRID=4674;POINT (-40.354967 -2.797334)'))) / (select extract(epoch from '2026-06-27 03:13:14'::timestamp) - extract(epoch from '2026-06-27 03:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354928 -2.797355)'), GeomFromEWKT('SRID=4674;POINT (-40.354967 -2.797334)'))) / (select extract(epoch from '2026-06-27 03:13:14'::timestamp) - extract(epoch from '2026-06-27 03:13: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'), 46710, 'SRID=4674;POINT (-40.354996 -2.797318)', '2026-06-27 03:13:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354967 -2.797334)'), GeomFromEWKT('SRID=4674;POINT (-40.354996 -2.797318)'))) / (select extract(epoch from '2026-06-27 03:13:21'::timestamp) - extract(epoch from '2026-06-27 03:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354967 -2.797334)'), GeomFromEWKT('SRID=4674;POINT (-40.354996 -2.797318)'))) / (select extract(epoch from '2026-06-27 03:13:21'::timestamp) - extract(epoch from '2026-06-27 03:13: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'), 46710, 'SRID=4674;POINT (-40.355041 -2.797291)', '2026-06-27 03:13:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354996 -2.797318)'), GeomFromEWKT('SRID=4674;POINT (-40.355041 -2.797291)'))) / (select extract(epoch from '2026-06-27 03:13:30'::timestamp) - extract(epoch from '2026-06-27 03:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354996 -2.797318)'), GeomFromEWKT('SRID=4674;POINT (-40.355041 -2.797291)'))) / (select extract(epoch from '2026-06-27 03:13:30'::timestamp) - extract(epoch from '2026-06-27 03:13: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'), 46710, 'SRID=4674;POINT (-40.35511 -2.797276)', '2026-06-27 03:13:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355041 -2.797291)'), GeomFromEWKT('SRID=4674;POINT (-40.35511 -2.797276)'))) / (select extract(epoch from '2026-06-27 03:13:40'::timestamp) - extract(epoch from '2026-06-27 03:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355041 -2.797291)'), GeomFromEWKT('SRID=4674;POINT (-40.35511 -2.797276)'))) / (select extract(epoch from '2026-06-27 03:13:40'::timestamp) - extract(epoch from '2026-06-27 03:13: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'), 46710, 'SRID=4674;POINT (-40.355167 -2.797253)', '2026-06-27 03:13:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35511 -2.797276)'), GeomFromEWKT('SRID=4674;POINT (-40.355167 -2.797253)'))) / (select extract(epoch from '2026-06-27 03:13:50'::timestamp) - extract(epoch from '2026-06-27 03:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35511 -2.797276)'), GeomFromEWKT('SRID=4674;POINT (-40.355167 -2.797253)'))) / (select extract(epoch from '2026-06-27 03:13:50'::timestamp) - extract(epoch from '2026-06-27 03:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.355214 -2.79723)', '2026-06-27 03:14:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355167 -2.797253)'), GeomFromEWKT('SRID=4674;POINT (-40.355214 -2.79723)'))) / (select extract(epoch from '2026-06-27 03:14:00'::timestamp) - extract(epoch from '2026-06-27 03:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355167 -2.797253)'), GeomFromEWKT('SRID=4674;POINT (-40.355214 -2.79723)'))) / (select extract(epoch from '2026-06-27 03:14:00'::timestamp) - extract(epoch from '2026-06-27 03:13: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'), 46710, 'SRID=4674;POINT (-40.355271 -2.797195)', '2026-06-27 03:14:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355214 -2.79723)'), GeomFromEWKT('SRID=4674;POINT (-40.355271 -2.797195)'))) / (select extract(epoch from '2026-06-27 03:14:11'::timestamp) - extract(epoch from '2026-06-27 03:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355214 -2.79723)'), GeomFromEWKT('SRID=4674;POINT (-40.355271 -2.797195)'))) / (select extract(epoch from '2026-06-27 03:14:11'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.355312 -2.797179)', '2026-06-27 03:14:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355271 -2.797195)'), GeomFromEWKT('SRID=4674;POINT (-40.355312 -2.797179)'))) / (select extract(epoch from '2026-06-27 03:14:19'::timestamp) - extract(epoch from '2026-06-27 03:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355271 -2.797195)'), GeomFromEWKT('SRID=4674;POINT (-40.355312 -2.797179)'))) / (select extract(epoch from '2026-06-27 03:14:19'::timestamp) - extract(epoch from '2026-06-27 03:14: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'), 46710, 'SRID=4674;POINT (-40.355355 -2.797175)', '2026-06-27 03:14:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355312 -2.797179)'), GeomFromEWKT('SRID=4674;POINT (-40.355355 -2.797175)'))) / (select extract(epoch from '2026-06-27 03:14:29'::timestamp) - extract(epoch from '2026-06-27 03:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355312 -2.797179)'), GeomFromEWKT('SRID=4674;POINT (-40.355355 -2.797175)'))) / (select extract(epoch from '2026-06-27 03:14:29'::timestamp) - extract(epoch from '2026-06-27 03:14:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.355416 -2.797172)', '2026-06-27 03:14:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355355 -2.797175)'), GeomFromEWKT('SRID=4674;POINT (-40.355416 -2.797172)'))) / (select extract(epoch from '2026-06-27 03:14:38'::timestamp) - extract(epoch from '2026-06-27 03:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355355 -2.797175)'), GeomFromEWKT('SRID=4674;POINT (-40.355416 -2.797172)'))) / (select extract(epoch from '2026-06-27 03:14:38'::timestamp) - extract(epoch from '2026-06-27 03:14: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'), 46710, 'SRID=4674;POINT (-40.355468 -2.797151)', '2026-06-27 03:14:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355416 -2.797172)'), GeomFromEWKT('SRID=4674;POINT (-40.355468 -2.797151)'))) / (select extract(epoch from '2026-06-27 03:14:49'::timestamp) - extract(epoch from '2026-06-27 03:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355416 -2.797172)'), GeomFromEWKT('SRID=4674;POINT (-40.355468 -2.797151)'))) / (select extract(epoch from '2026-06-27 03:14:49'::timestamp) - extract(epoch from '2026-06-27 03:14: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'), 46710, 'SRID=4674;POINT (-40.355534 -2.79713)', '2026-06-27 03:14:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355468 -2.797151)'), GeomFromEWKT('SRID=4674;POINT (-40.355534 -2.79713)'))) / (select extract(epoch from '2026-06-27 03:14:59'::timestamp) - extract(epoch from '2026-06-27 03:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355468 -2.797151)'), GeomFromEWKT('SRID=4674;POINT (-40.355534 -2.79713)'))) / (select extract(epoch from '2026-06-27 03:14:59'::timestamp) - extract(epoch from '2026-06-27 03:14: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'), 46710, 'SRID=4674;POINT (-40.355626 -2.797104)', '2026-06-27 03:15:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355534 -2.79713)'), GeomFromEWKT('SRID=4674;POINT (-40.355626 -2.797104)'))) / (select extract(epoch from '2026-06-27 03:15:13'::timestamp) - extract(epoch from '2026-06-27 03:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355534 -2.79713)'), GeomFromEWKT('SRID=4674;POINT (-40.355626 -2.797104)'))) / (select extract(epoch from '2026-06-27 03:15:13'::timestamp) - extract(epoch from '2026-06-27 03:14: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'), 46710, 'SRID=4674;POINT (-40.355669 -2.797081)', '2026-06-27 03:15:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355626 -2.797104)'), GeomFromEWKT('SRID=4674;POINT (-40.355669 -2.797081)'))) / (select extract(epoch from '2026-06-27 03:15:23'::timestamp) - extract(epoch from '2026-06-27 03:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355626 -2.797104)'), GeomFromEWKT('SRID=4674;POINT (-40.355669 -2.797081)'))) / (select extract(epoch from '2026-06-27 03:15:23'::timestamp) - extract(epoch from '2026-06-27 03:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.355697 -2.797069)', '2026-06-27 03:15:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355669 -2.797081)'), GeomFromEWKT('SRID=4674;POINT (-40.355697 -2.797069)'))) / (select extract(epoch from '2026-06-27 03:15:31'::timestamp) - extract(epoch from '2026-06-27 03:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355669 -2.797081)'), GeomFromEWKT('SRID=4674;POINT (-40.355697 -2.797069)'))) / (select extract(epoch from '2026-06-27 03:15:31'::timestamp) - extract(epoch from '2026-06-27 03:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.355742 -2.797049)', '2026-06-27 03:15:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355697 -2.797069)'), GeomFromEWKT('SRID=4674;POINT (-40.355742 -2.797049)'))) / (select extract(epoch from '2026-06-27 03:15:42'::timestamp) - extract(epoch from '2026-06-27 03:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355697 -2.797069)'), GeomFromEWKT('SRID=4674;POINT (-40.355742 -2.797049)'))) / (select extract(epoch from '2026-06-27 03:15:42'::timestamp) - extract(epoch from '2026-06-27 03:15: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'), 46710, 'SRID=4674;POINT (-40.355801 -2.797035)', '2026-06-27 03:15:53', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355742 -2.797049)'), GeomFromEWKT('SRID=4674;POINT (-40.355801 -2.797035)'))) / (select extract(epoch from '2026-06-27 03:15:53'::timestamp) - extract(epoch from '2026-06-27 03:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355742 -2.797049)'), GeomFromEWKT('SRID=4674;POINT (-40.355801 -2.797035)'))) / (select extract(epoch from '2026-06-27 03:15:53'::timestamp) - extract(epoch from '2026-06-27 03:15: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'), 46710, 'SRID=4674;POINT (-40.355873 -2.797009)', '2026-06-27 03:16:06', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355801 -2.797035)'), GeomFromEWKT('SRID=4674;POINT (-40.355873 -2.797009)'))) / (select extract(epoch from '2026-06-27 03:16:06'::timestamp) - extract(epoch from '2026-06-27 03:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355801 -2.797035)'), GeomFromEWKT('SRID=4674;POINT (-40.355873 -2.797009)'))) / (select extract(epoch from '2026-06-27 03:16:06'::timestamp) - extract(epoch from '2026-06-27 03:15: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'), 46710, 'SRID=4674;POINT (-40.355938 -2.796989)', '2026-06-27 03:16:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355873 -2.797009)'), GeomFromEWKT('SRID=4674;POINT (-40.355938 -2.796989)'))) / (select extract(epoch from '2026-06-27 03:16:16'::timestamp) - extract(epoch from '2026-06-27 03:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355873 -2.797009)'), GeomFromEWKT('SRID=4674;POINT (-40.355938 -2.796989)'))) / (select extract(epoch from '2026-06-27 03:16:16'::timestamp) - extract(epoch from '2026-06-27 03:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.356005 -2.796974)', '2026-06-27 03:16:24', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355938 -2.796989)'), GeomFromEWKT('SRID=4674;POINT (-40.356005 -2.796974)'))) / (select extract(epoch from '2026-06-27 03:16:24'::timestamp) - extract(epoch from '2026-06-27 03:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355938 -2.796989)'), GeomFromEWKT('SRID=4674;POINT (-40.356005 -2.796974)'))) / (select extract(epoch from '2026-06-27 03:16:24'::timestamp) - extract(epoch from '2026-06-27 03:16: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'), 46710, 'SRID=4674;POINT (-40.356061 -2.796951)', '2026-06-27 03:16:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356005 -2.796974)'), GeomFromEWKT('SRID=4674;POINT (-40.356061 -2.796951)'))) / (select extract(epoch from '2026-06-27 03:16:34'::timestamp) - extract(epoch from '2026-06-27 03:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356005 -2.796974)'), GeomFromEWKT('SRID=4674;POINT (-40.356061 -2.796951)'))) / (select extract(epoch from '2026-06-27 03:16:34'::timestamp) - extract(epoch from '2026-06-27 03:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.356103 -2.796926)', '2026-06-27 03:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356061 -2.796951)'), GeomFromEWKT('SRID=4674;POINT (-40.356103 -2.796926)'))) / (select extract(epoch from '2026-06-27 03:16:44'::timestamp) - extract(epoch from '2026-06-27 03:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356061 -2.796951)'), GeomFromEWKT('SRID=4674;POINT (-40.356103 -2.796926)'))) / (select extract(epoch from '2026-06-27 03:16:44'::timestamp) - extract(epoch from '2026-06-27 03:16: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'), 46710, 'SRID=4674;POINT (-40.35614 -2.796901)', '2026-06-27 03:16:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356103 -2.796926)'), GeomFromEWKT('SRID=4674;POINT (-40.35614 -2.796901)'))) / (select extract(epoch from '2026-06-27 03:16:53'::timestamp) - extract(epoch from '2026-06-27 03:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356103 -2.796926)'), GeomFromEWKT('SRID=4674;POINT (-40.35614 -2.796901)'))) / (select extract(epoch from '2026-06-27 03:16:53'::timestamp) - extract(epoch from '2026-06-27 03:16: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'), 46710, 'SRID=4674;POINT (-40.356179 -2.796882)', '2026-06-27 03:17:03', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35614 -2.796901)'), GeomFromEWKT('SRID=4674;POINT (-40.356179 -2.796882)'))) / (select extract(epoch from '2026-06-27 03:17:03'::timestamp) - extract(epoch from '2026-06-27 03:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35614 -2.796901)'), GeomFromEWKT('SRID=4674;POINT (-40.356179 -2.796882)'))) / (select extract(epoch from '2026-06-27 03:17:03'::timestamp) - extract(epoch from '2026-06-27 03:16:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.3562 -2.796871)', '2026-06-27 03:17:21', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356179 -2.796882)'), GeomFromEWKT('SRID=4674;POINT (-40.3562 -2.796871)'))) / (select extract(epoch from '2026-06-27 03:17:21'::timestamp) - extract(epoch from '2026-06-27 03:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356179 -2.796882)'), GeomFromEWKT('SRID=4674;POINT (-40.3562 -2.796871)'))) / (select extract(epoch from '2026-06-27 03:17:21'::timestamp) - extract(epoch from '2026-06-27 03:17: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'), 46710, 'SRID=4674;POINT (-40.356249 -2.796863)', '2026-06-27 03:17:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3562 -2.796871)'), GeomFromEWKT('SRID=4674;POINT (-40.356249 -2.796863)'))) / (select extract(epoch from '2026-06-27 03:17:30'::timestamp) - extract(epoch from '2026-06-27 03:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3562 -2.796871)'), GeomFromEWKT('SRID=4674;POINT (-40.356249 -2.796863)'))) / (select extract(epoch from '2026-06-27 03:17:30'::timestamp) - extract(epoch from '2026-06-27 03:17: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'), 46710, 'SRID=4674;POINT (-40.356294 -2.796845)', '2026-06-27 03:17:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356249 -2.796863)'), GeomFromEWKT('SRID=4674;POINT (-40.356294 -2.796845)'))) / (select extract(epoch from '2026-06-27 03:17:41'::timestamp) - extract(epoch from '2026-06-27 03:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356249 -2.796863)'), GeomFromEWKT('SRID=4674;POINT (-40.356294 -2.796845)'))) / (select extract(epoch from '2026-06-27 03:17:41'::timestamp) - extract(epoch from '2026-06-27 03:17: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'), 46710, 'SRID=4674;POINT (-40.356316 -2.796823)', '2026-06-27 03:17:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356294 -2.796845)'), GeomFromEWKT('SRID=4674;POINT (-40.356316 -2.796823)'))) / (select extract(epoch from '2026-06-27 03:17:51'::timestamp) - extract(epoch from '2026-06-27 03:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356294 -2.796845)'), GeomFromEWKT('SRID=4674;POINT (-40.356316 -2.796823)'))) / (select extract(epoch from '2026-06-27 03:17:51'::timestamp) - extract(epoch from '2026-06-27 03:17: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'), 46710, 'SRID=4674;POINT (-40.356366 -2.796822)', '2026-06-27 03:18:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356316 -2.796823)'), GeomFromEWKT('SRID=4674;POINT (-40.356366 -2.796822)'))) / (select extract(epoch from '2026-06-27 03:18:02'::timestamp) - extract(epoch from '2026-06-27 03:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356316 -2.796823)'), GeomFromEWKT('SRID=4674;POINT (-40.356366 -2.796822)'))) / (select extract(epoch from '2026-06-27 03:18:02'::timestamp) - extract(epoch from '2026-06-27 03:17: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'), 46710, 'SRID=4674;POINT (-40.356425 -2.796812)', '2026-06-27 03:18:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356366 -2.796822)'), GeomFromEWKT('SRID=4674;POINT (-40.356425 -2.796812)'))) / (select extract(epoch from '2026-06-27 03:18:11'::timestamp) - extract(epoch from '2026-06-27 03:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356366 -2.796822)'), GeomFromEWKT('SRID=4674;POINT (-40.356425 -2.796812)'))) / (select extract(epoch from '2026-06-27 03:18:11'::timestamp) - extract(epoch from '2026-06-27 03:18: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'), 46710, 'SRID=4674;POINT (-40.356467 -2.796807)', '2026-06-27 03:18:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356425 -2.796812)'), GeomFromEWKT('SRID=4674;POINT (-40.356467 -2.796807)'))) / (select extract(epoch from '2026-06-27 03:18:18'::timestamp) - extract(epoch from '2026-06-27 03:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356425 -2.796812)'), GeomFromEWKT('SRID=4674;POINT (-40.356467 -2.796807)'))) / (select extract(epoch from '2026-06-27 03:18:18'::timestamp) - extract(epoch from '2026-06-27 03:18: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'), 46710, 'SRID=4674;POINT (-40.35655 -2.796797)', '2026-06-27 03:18:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356467 -2.796807)'), GeomFromEWKT('SRID=4674;POINT (-40.35655 -2.796797)'))) / (select extract(epoch from '2026-06-27 03:18:29'::timestamp) - extract(epoch from '2026-06-27 03:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356467 -2.796807)'), GeomFromEWKT('SRID=4674;POINT (-40.35655 -2.796797)'))) / (select extract(epoch from '2026-06-27 03:18:29'::timestamp) - extract(epoch from '2026-06-27 03:18: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'), 46710, 'SRID=4674;POINT (-40.356601 -2.796783)', '2026-06-27 03:18:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35655 -2.796797)'), GeomFromEWKT('SRID=4674;POINT (-40.356601 -2.796783)'))) / (select extract(epoch from '2026-06-27 03:18:39'::timestamp) - extract(epoch from '2026-06-27 03:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35655 -2.796797)'), GeomFromEWKT('SRID=4674;POINT (-40.356601 -2.796783)'))) / (select extract(epoch from '2026-06-27 03:18:39'::timestamp) - extract(epoch from '2026-06-27 03:18: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'), 46710, 'SRID=4674;POINT (-40.356649 -2.796777)', '2026-06-27 03:18:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356601 -2.796783)'), GeomFromEWKT('SRID=4674;POINT (-40.356649 -2.796777)'))) / (select extract(epoch from '2026-06-27 03:18:48'::timestamp) - extract(epoch from '2026-06-27 03:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356601 -2.796783)'), GeomFromEWKT('SRID=4674;POINT (-40.356649 -2.796777)'))) / (select extract(epoch from '2026-06-27 03:18:48'::timestamp) - extract(epoch from '2026-06-27 03:18: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'), 46710, 'SRID=4674;POINT (-40.356692 -2.796761)', '2026-06-27 03:18:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356649 -2.796777)'), GeomFromEWKT('SRID=4674;POINT (-40.356692 -2.796761)'))) / (select extract(epoch from '2026-06-27 03:18:57'::timestamp) - extract(epoch from '2026-06-27 03:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356649 -2.796777)'), GeomFromEWKT('SRID=4674;POINT (-40.356692 -2.796761)'))) / (select extract(epoch from '2026-06-27 03:18:57'::timestamp) - extract(epoch from '2026-06-27 03:18: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'), 46710, 'SRID=4674;POINT (-40.356736 -2.796739)', '2026-06-27 03:19:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356692 -2.796761)'), GeomFromEWKT('SRID=4674;POINT (-40.356736 -2.796739)'))) / (select extract(epoch from '2026-06-27 03:19:07'::timestamp) - extract(epoch from '2026-06-27 03:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356692 -2.796761)'), GeomFromEWKT('SRID=4674;POINT (-40.356736 -2.796739)'))) / (select extract(epoch from '2026-06-27 03:19:07'::timestamp) - extract(epoch from '2026-06-27 03:18: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'), 46710, 'SRID=4674;POINT (-40.35677 -2.796725)', '2026-06-27 03:19:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356736 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.35677 -2.796725)'))) / (select extract(epoch from '2026-06-27 03:19:17'::timestamp) - extract(epoch from '2026-06-27 03:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356736 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.35677 -2.796725)'))) / (select extract(epoch from '2026-06-27 03:19:17'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.356819 -2.796698)', '2026-06-27 03:19:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35677 -2.796725)'), GeomFromEWKT('SRID=4674;POINT (-40.356819 -2.796698)'))) / (select extract(epoch from '2026-06-27 03:19:32'::timestamp) - extract(epoch from '2026-06-27 03:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35677 -2.796725)'), GeomFromEWKT('SRID=4674;POINT (-40.356819 -2.796698)'))) / (select extract(epoch from '2026-06-27 03:19:32'::timestamp) - extract(epoch from '2026-06-27 03:19: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'), 46710, 'SRID=4674;POINT (-40.356892 -2.796655)', '2026-06-27 03:19:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356819 -2.796698)'), GeomFromEWKT('SRID=4674;POINT (-40.356892 -2.796655)'))) / (select extract(epoch from '2026-06-27 03:19:47'::timestamp) - extract(epoch from '2026-06-27 03:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356819 -2.796698)'), GeomFromEWKT('SRID=4674;POINT (-40.356892 -2.796655)'))) / (select extract(epoch from '2026-06-27 03:19:47'::timestamp) - extract(epoch from '2026-06-27 03:19: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'), 46710, 'SRID=4674;POINT (-40.356953 -2.796618)', '2026-06-27 03:19:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356892 -2.796655)'), GeomFromEWKT('SRID=4674;POINT (-40.356953 -2.796618)'))) / (select extract(epoch from '2026-06-27 03:19:58'::timestamp) - extract(epoch from '2026-06-27 03:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356892 -2.796655)'), GeomFromEWKT('SRID=4674;POINT (-40.356953 -2.796618)'))) / (select extract(epoch from '2026-06-27 03:19:58'::timestamp) - extract(epoch from '2026-06-27 03:19: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'), 46710, 'SRID=4674;POINT (-40.357026 -2.796602)', '2026-06-27 03:20:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356953 -2.796618)'), GeomFromEWKT('SRID=4674;POINT (-40.357026 -2.796602)'))) / (select extract(epoch from '2026-06-27 03:20:09'::timestamp) - extract(epoch from '2026-06-27 03:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356953 -2.796618)'), GeomFromEWKT('SRID=4674;POINT (-40.357026 -2.796602)'))) / (select extract(epoch from '2026-06-27 03:20:09'::timestamp) - extract(epoch from '2026-06-27 03:19: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'), 46710, 'SRID=4674;POINT (-40.357078 -2.796585)', '2026-06-27 03:20:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357026 -2.796602)'), GeomFromEWKT('SRID=4674;POINT (-40.357078 -2.796585)'))) / (select extract(epoch from '2026-06-27 03:20:18'::timestamp) - extract(epoch from '2026-06-27 03:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357026 -2.796602)'), GeomFromEWKT('SRID=4674;POINT (-40.357078 -2.796585)'))) / (select extract(epoch from '2026-06-27 03:20:18'::timestamp) - extract(epoch from '2026-06-27 03:20:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.357155 -2.796575)', '2026-06-27 03:20:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357078 -2.796585)'), GeomFromEWKT('SRID=4674;POINT (-40.357155 -2.796575)'))) / (select extract(epoch from '2026-06-27 03:20:28'::timestamp) - extract(epoch from '2026-06-27 03:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357078 -2.796585)'), GeomFromEWKT('SRID=4674;POINT (-40.357155 -2.796575)'))) / (select extract(epoch from '2026-06-27 03:20:28'::timestamp) - extract(epoch from '2026-06-27 03:20: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'), 46710, 'SRID=4674;POINT (-40.357221 -2.796555)', '2026-06-27 03:20:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357155 -2.796575)'), GeomFromEWKT('SRID=4674;POINT (-40.357221 -2.796555)'))) / (select extract(epoch from '2026-06-27 03:20:38'::timestamp) - extract(epoch from '2026-06-27 03:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357155 -2.796575)'), GeomFromEWKT('SRID=4674;POINT (-40.357221 -2.796555)'))) / (select extract(epoch from '2026-06-27 03:20:38'::timestamp) - extract(epoch from '2026-06-27 03:20:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.357287 -2.796549)', '2026-06-27 03:20:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357221 -2.796555)'), GeomFromEWKT('SRID=4674;POINT (-40.357287 -2.796549)'))) / (select extract(epoch from '2026-06-27 03:20:47'::timestamp) - extract(epoch from '2026-06-27 03:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357221 -2.796555)'), GeomFromEWKT('SRID=4674;POINT (-40.357287 -2.796549)'))) / (select extract(epoch from '2026-06-27 03:20:47'::timestamp) - extract(epoch from '2026-06-27 03:20: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'), 46710, 'SRID=4674;POINT (-40.357345 -2.796544)', '2026-06-27 03:20:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357287 -2.796549)'), GeomFromEWKT('SRID=4674;POINT (-40.357345 -2.796544)'))) / (select extract(epoch from '2026-06-27 03:20:54'::timestamp) - extract(epoch from '2026-06-27 03:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357287 -2.796549)'), GeomFromEWKT('SRID=4674;POINT (-40.357345 -2.796544)'))) / (select extract(epoch from '2026-06-27 03:20:54'::timestamp) - extract(epoch from '2026-06-27 03:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.357375 -2.796542)', '2026-06-27 03:20:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357345 -2.796544)'), GeomFromEWKT('SRID=4674;POINT (-40.357375 -2.796542)'))) / (select extract(epoch from '2026-06-27 03:20:58'::timestamp) - extract(epoch from '2026-06-27 03:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357345 -2.796544)'), GeomFromEWKT('SRID=4674;POINT (-40.357375 -2.796542)'))) / (select extract(epoch from '2026-06-27 03:20:58'::timestamp) - extract(epoch from '2026-06-27 03:20: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'), 46710, 'SRID=4674;POINT (-40.357381 -2.79654)', '2026-06-27 03:20:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357375 -2.796542)'), GeomFromEWKT('SRID=4674;POINT (-40.357381 -2.79654)'))) / (select extract(epoch from '2026-06-27 03:20:59'::timestamp) - extract(epoch from '2026-06-27 03:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357375 -2.796542)'), GeomFromEWKT('SRID=4674;POINT (-40.357381 -2.79654)'))) / (select extract(epoch from '2026-06-27 03:20:59'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.357464 -2.796537)', '2026-06-27 03:21:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357381 -2.79654)'), GeomFromEWKT('SRID=4674;POINT (-40.357464 -2.796537)'))) / (select extract(epoch from '2026-06-27 03:21:10'::timestamp) - extract(epoch from '2026-06-27 03:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357381 -2.79654)'), GeomFromEWKT('SRID=4674;POINT (-40.357464 -2.796537)'))) / (select extract(epoch from '2026-06-27 03:21:10'::timestamp) - extract(epoch from '2026-06-27 03:20: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'), 46710, 'SRID=4674;POINT (-40.357545 -2.796519)', '2026-06-27 03:21:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357464 -2.796537)'), GeomFromEWKT('SRID=4674;POINT (-40.357545 -2.796519)'))) / (select extract(epoch from '2026-06-27 03:21:21'::timestamp) - extract(epoch from '2026-06-27 03:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357464 -2.796537)'), GeomFromEWKT('SRID=4674;POINT (-40.357545 -2.796519)'))) / (select extract(epoch from '2026-06-27 03:21:21'::timestamp) - extract(epoch from '2026-06-27 03:21: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'), 46710, 'SRID=4674;POINT (-40.357594 -2.796492)', '2026-06-27 03:21:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357545 -2.796519)'), GeomFromEWKT('SRID=4674;POINT (-40.357594 -2.796492)'))) / (select extract(epoch from '2026-06-27 03:21:31'::timestamp) - extract(epoch from '2026-06-27 03:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357545 -2.796519)'), GeomFromEWKT('SRID=4674;POINT (-40.357594 -2.796492)'))) / (select extract(epoch from '2026-06-27 03:21:31'::timestamp) - extract(epoch from '2026-06-27 03:21: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'), 46710, 'SRID=4674;POINT (-40.357639 -2.796481)', '2026-06-27 03:21:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357594 -2.796492)'), GeomFromEWKT('SRID=4674;POINT (-40.357639 -2.796481)'))) / (select extract(epoch from '2026-06-27 03:21:40'::timestamp) - extract(epoch from '2026-06-27 03:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357594 -2.796492)'), GeomFromEWKT('SRID=4674;POINT (-40.357639 -2.796481)'))) / (select extract(epoch from '2026-06-27 03:21:40'::timestamp) - extract(epoch from '2026-06-27 03:21: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'), 46710, 'SRID=4674;POINT (-40.35768 -2.796466)', '2026-06-27 03:21:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357639 -2.796481)'), GeomFromEWKT('SRID=4674;POINT (-40.35768 -2.796466)'))) / (select extract(epoch from '2026-06-27 03:21:50'::timestamp) - extract(epoch from '2026-06-27 03:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357639 -2.796481)'), GeomFromEWKT('SRID=4674;POINT (-40.35768 -2.796466)'))) / (select extract(epoch from '2026-06-27 03:21:50'::timestamp) - extract(epoch from '2026-06-27 03:21: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'), 46710, 'SRID=4674;POINT (-40.357698 -2.796467)', '2026-06-27 03:22:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35768 -2.796466)'), GeomFromEWKT('SRID=4674;POINT (-40.357698 -2.796467)'))) / (select extract(epoch from '2026-06-27 03:22:01'::timestamp) - extract(epoch from '2026-06-27 03:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35768 -2.796466)'), GeomFromEWKT('SRID=4674;POINT (-40.357698 -2.796467)'))) / (select extract(epoch from '2026-06-27 03:22:01'::timestamp) - extract(epoch from '2026-06-27 03:21: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'), 46710, 'SRID=4674;POINT (-40.357733 -2.796491)', '2026-06-27 03:22:10', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357698 -2.796467)'), GeomFromEWKT('SRID=4674;POINT (-40.357733 -2.796491)'))) / (select extract(epoch from '2026-06-27 03:22:10'::timestamp) - extract(epoch from '2026-06-27 03:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357698 -2.796467)'), GeomFromEWKT('SRID=4674;POINT (-40.357733 -2.796491)'))) / (select extract(epoch from '2026-06-27 03:22:10'::timestamp) - extract(epoch from '2026-06-27 03:22: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'), 46710, 'SRID=4674;POINT (-40.357766 -2.796494)', '2026-06-27 03:22:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357733 -2.796491)'), GeomFromEWKT('SRID=4674;POINT (-40.357766 -2.796494)'))) / (select extract(epoch from '2026-06-27 03:22:21'::timestamp) - extract(epoch from '2026-06-27 03:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357733 -2.796491)'), GeomFromEWKT('SRID=4674;POINT (-40.357766 -2.796494)'))) / (select extract(epoch from '2026-06-27 03:22:21'::timestamp) - extract(epoch from '2026-06-27 03:22:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.357836 -2.796508)', '2026-06-27 03:22:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357766 -2.796494)'), GeomFromEWKT('SRID=4674;POINT (-40.357836 -2.796508)'))) / (select extract(epoch from '2026-06-27 03:22:36'::timestamp) - extract(epoch from '2026-06-27 03:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357766 -2.796494)'), GeomFromEWKT('SRID=4674;POINT (-40.357836 -2.796508)'))) / (select extract(epoch from '2026-06-27 03:22:36'::timestamp) - extract(epoch from '2026-06-27 03:22: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'), 46710, 'SRID=4674;POINT (-40.357881 -2.796504)', '2026-06-27 03:22:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357836 -2.796508)'), GeomFromEWKT('SRID=4674;POINT (-40.357881 -2.796504)'))) / (select extract(epoch from '2026-06-27 03:22:46'::timestamp) - extract(epoch from '2026-06-27 03:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357836 -2.796508)'), GeomFromEWKT('SRID=4674;POINT (-40.357881 -2.796504)'))) / (select extract(epoch from '2026-06-27 03:22:46'::timestamp) - extract(epoch from '2026-06-27 03:22: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'), 46710, 'SRID=4674;POINT (-40.35796 -2.796501)', '2026-06-27 03:22:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357881 -2.796504)'), GeomFromEWKT('SRID=4674;POINT (-40.35796 -2.796501)'))) / (select extract(epoch from '2026-06-27 03:22:59'::timestamp) - extract(epoch from '2026-06-27 03:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357881 -2.796504)'), GeomFromEWKT('SRID=4674;POINT (-40.35796 -2.796501)'))) / (select extract(epoch from '2026-06-27 03:22:59'::timestamp) - extract(epoch from '2026-06-27 03:22: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'), 46710, 'SRID=4674;POINT (-40.357991 -2.79647)', '2026-06-27 03:23:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35796 -2.796501)'), GeomFromEWKT('SRID=4674;POINT (-40.357991 -2.79647)'))) / (select extract(epoch from '2026-06-27 03:23:11'::timestamp) - extract(epoch from '2026-06-27 03:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35796 -2.796501)'), GeomFromEWKT('SRID=4674;POINT (-40.357991 -2.79647)'))) / (select extract(epoch from '2026-06-27 03:23:11'::timestamp) - extract(epoch from '2026-06-27 03:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.357993 -2.796444)', '2026-06-27 03:23:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357991 -2.79647)'), GeomFromEWKT('SRID=4674;POINT (-40.357993 -2.796444)'))) / (select extract(epoch from '2026-06-27 03:23:23'::timestamp) - extract(epoch from '2026-06-27 03:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357991 -2.79647)'), GeomFromEWKT('SRID=4674;POINT (-40.357993 -2.796444)'))) / (select extract(epoch from '2026-06-27 03:23:23'::timestamp) - extract(epoch from '2026-06-27 03:23: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'), 46710, 'SRID=4674;POINT (-40.358001 -2.79641)', '2026-06-27 03:23:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357993 -2.796444)'), GeomFromEWKT('SRID=4674;POINT (-40.358001 -2.79641)'))) / (select extract(epoch from '2026-06-27 03:23:33'::timestamp) - extract(epoch from '2026-06-27 03:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357993 -2.796444)'), GeomFromEWKT('SRID=4674;POINT (-40.358001 -2.79641)'))) / (select extract(epoch from '2026-06-27 03:23:33'::timestamp) - extract(epoch from '2026-06-27 03:23: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'), 46710, 'SRID=4674;POINT (-40.35799 -2.796413)', '2026-06-27 03:23:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358001 -2.79641)'), GeomFromEWKT('SRID=4674;POINT (-40.35799 -2.796413)'))) / (select extract(epoch from '2026-06-27 03:23:41'::timestamp) - extract(epoch from '2026-06-27 03:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358001 -2.79641)'), GeomFromEWKT('SRID=4674;POINT (-40.35799 -2.796413)'))) / (select extract(epoch from '2026-06-27 03:23:41'::timestamp) - extract(epoch from '2026-06-27 03:23:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.358023 -2.796436)', '2026-06-27 03:23:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35799 -2.796413)'), GeomFromEWKT('SRID=4674;POINT (-40.358023 -2.796436)'))) / (select extract(epoch from '2026-06-27 03:23:51'::timestamp) - extract(epoch from '2026-06-27 03:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35799 -2.796413)'), GeomFromEWKT('SRID=4674;POINT (-40.358023 -2.796436)'))) / (select extract(epoch from '2026-06-27 03:23:51'::timestamp) - extract(epoch from '2026-06-27 03:23: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'), 46710, 'SRID=4674;POINT (-40.35806 -2.796428)', '2026-06-27 03:24:01', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358023 -2.796436)'), GeomFromEWKT('SRID=4674;POINT (-40.35806 -2.796428)'))) / (select extract(epoch from '2026-06-27 03:24:01'::timestamp) - extract(epoch from '2026-06-27 03:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358023 -2.796436)'), GeomFromEWKT('SRID=4674;POINT (-40.35806 -2.796428)'))) / (select extract(epoch from '2026-06-27 03:24:01'::timestamp) - extract(epoch from '2026-06-27 03:23:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.358153 -2.796418)', '2026-06-27 03:24:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35806 -2.796428)'), GeomFromEWKT('SRID=4674;POINT (-40.358153 -2.796418)'))) / (select extract(epoch from '2026-06-27 03:24:17'::timestamp) - extract(epoch from '2026-06-27 03:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35806 -2.796428)'), GeomFromEWKT('SRID=4674;POINT (-40.358153 -2.796418)'))) / (select extract(epoch from '2026-06-27 03:24:17'::timestamp) - extract(epoch from '2026-06-27 03:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.358206 -2.796406)', '2026-06-27 03:24:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358153 -2.796418)'), GeomFromEWKT('SRID=4674;POINT (-40.358206 -2.796406)'))) / (select extract(epoch from '2026-06-27 03:24:26'::timestamp) - extract(epoch from '2026-06-27 03:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358153 -2.796418)'), GeomFromEWKT('SRID=4674;POINT (-40.358206 -2.796406)'))) / (select extract(epoch from '2026-06-27 03:24:26'::timestamp) - extract(epoch from '2026-06-27 03:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.358264 -2.796393)', '2026-06-27 03:24:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358206 -2.796406)'), GeomFromEWKT('SRID=4674;POINT (-40.358264 -2.796393)'))) / (select extract(epoch from '2026-06-27 03:24:35'::timestamp) - extract(epoch from '2026-06-27 03:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358206 -2.796406)'), GeomFromEWKT('SRID=4674;POINT (-40.358264 -2.796393)'))) / (select extract(epoch from '2026-06-27 03:24:35'::timestamp) - extract(epoch from '2026-06-27 03:24: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'), 46710, 'SRID=4674;POINT (-40.358321 -2.796375)', '2026-06-27 03:24:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358264 -2.796393)'), GeomFromEWKT('SRID=4674;POINT (-40.358321 -2.796375)'))) / (select extract(epoch from '2026-06-27 03:24:46'::timestamp) - extract(epoch from '2026-06-27 03:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358264 -2.796393)'), GeomFromEWKT('SRID=4674;POINT (-40.358321 -2.796375)'))) / (select extract(epoch from '2026-06-27 03:24:46'::timestamp) - extract(epoch from '2026-06-27 03:24: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'), 46710, 'SRID=4674;POINT (-40.358375 -2.796364)', '2026-06-27 03:24:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358321 -2.796375)'), GeomFromEWKT('SRID=4674;POINT (-40.358375 -2.796364)'))) / (select extract(epoch from '2026-06-27 03:24:56'::timestamp) - extract(epoch from '2026-06-27 03:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358321 -2.796375)'), GeomFromEWKT('SRID=4674;POINT (-40.358375 -2.796364)'))) / (select extract(epoch from '2026-06-27 03:24:56'::timestamp) - extract(epoch from '2026-06-27 03:24: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'), 46710, 'SRID=4674;POINT (-40.358408 -2.796365)', '2026-06-27 03:25:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358375 -2.796364)'), GeomFromEWKT('SRID=4674;POINT (-40.358408 -2.796365)'))) / (select extract(epoch from '2026-06-27 03:25:00'::timestamp) - extract(epoch from '2026-06-27 03:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358375 -2.796364)'), GeomFromEWKT('SRID=4674;POINT (-40.358408 -2.796365)'))) / (select extract(epoch from '2026-06-27 03:25:00'::timestamp) - extract(epoch from '2026-06-27 03:24: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'), 46710, 'SRID=4674;POINT (-40.358431 -2.796362)', '2026-06-27 03:25:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358408 -2.796365)'), GeomFromEWKT('SRID=4674;POINT (-40.358431 -2.796362)'))) / (select extract(epoch from '2026-06-27 03:25:03'::timestamp) - extract(epoch from '2026-06-27 03:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358408 -2.796365)'), GeomFromEWKT('SRID=4674;POINT (-40.358431 -2.796362)'))) / (select extract(epoch from '2026-06-27 03:25:03'::timestamp) - extract(epoch from '2026-06-27 03:25:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.358495 -2.796357)', '2026-06-27 03:25:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358431 -2.796362)'), GeomFromEWKT('SRID=4674;POINT (-40.358495 -2.796357)'))) / (select extract(epoch from '2026-06-27 03:25:13'::timestamp) - extract(epoch from '2026-06-27 03:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358431 -2.796362)'), GeomFromEWKT('SRID=4674;POINT (-40.358495 -2.796357)'))) / (select extract(epoch from '2026-06-27 03:25:13'::timestamp) - extract(epoch from '2026-06-27 03:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.358546 -2.796344)', '2026-06-27 03:25:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358495 -2.796357)'), GeomFromEWKT('SRID=4674;POINT (-40.358546 -2.796344)'))) / (select extract(epoch from '2026-06-27 03:25:22'::timestamp) - extract(epoch from '2026-06-27 03:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358495 -2.796357)'), GeomFromEWKT('SRID=4674;POINT (-40.358546 -2.796344)'))) / (select extract(epoch from '2026-06-27 03:25:22'::timestamp) - extract(epoch from '2026-06-27 03:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.358592 -2.796328)', '2026-06-27 03:25:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358546 -2.796344)'), GeomFromEWKT('SRID=4674;POINT (-40.358592 -2.796328)'))) / (select extract(epoch from '2026-06-27 03:25:31'::timestamp) - extract(epoch from '2026-06-27 03:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358546 -2.796344)'), GeomFromEWKT('SRID=4674;POINT (-40.358592 -2.796328)'))) / (select extract(epoch from '2026-06-27 03:25:31'::timestamp) - extract(epoch from '2026-06-27 03:25: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'), 46710, 'SRID=4674;POINT (-40.35865 -2.796311)', '2026-06-27 03:25:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358592 -2.796328)'), GeomFromEWKT('SRID=4674;POINT (-40.35865 -2.796311)'))) / (select extract(epoch from '2026-06-27 03:25:42'::timestamp) - extract(epoch from '2026-06-27 03:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358592 -2.796328)'), GeomFromEWKT('SRID=4674;POINT (-40.35865 -2.796311)'))) / (select extract(epoch from '2026-06-27 03:25:42'::timestamp) - extract(epoch from '2026-06-27 03:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.358694 -2.796305)', '2026-06-27 03:25:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35865 -2.796311)'), GeomFromEWKT('SRID=4674;POINT (-40.358694 -2.796305)'))) / (select extract(epoch from '2026-06-27 03:25:49'::timestamp) - extract(epoch from '2026-06-27 03:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35865 -2.796311)'), GeomFromEWKT('SRID=4674;POINT (-40.358694 -2.796305)'))) / (select extract(epoch from '2026-06-27 03:25:49'::timestamp) - extract(epoch from '2026-06-27 03:25: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'), 46710, 'SRID=4674;POINT (-40.358734 -2.796288)', '2026-06-27 03:25:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358694 -2.796305)'), GeomFromEWKT('SRID=4674;POINT (-40.358734 -2.796288)'))) / (select extract(epoch from '2026-06-27 03:25:57'::timestamp) - extract(epoch from '2026-06-27 03:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358694 -2.796305)'), GeomFromEWKT('SRID=4674;POINT (-40.358734 -2.796288)'))) / (select extract(epoch from '2026-06-27 03:25:57'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.358773 -2.796273)', '2026-06-27 03:26:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358734 -2.796288)'), GeomFromEWKT('SRID=4674;POINT (-40.358773 -2.796273)'))) / (select extract(epoch from '2026-06-27 03:26:06'::timestamp) - extract(epoch from '2026-06-27 03:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358734 -2.796288)'), GeomFromEWKT('SRID=4674;POINT (-40.358773 -2.796273)'))) / (select extract(epoch from '2026-06-27 03:26:06'::timestamp) - extract(epoch from '2026-06-27 03:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.358798 -2.796262)', '2026-06-27 03:26:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358773 -2.796273)'), GeomFromEWKT('SRID=4674;POINT (-40.358798 -2.796262)'))) / (select extract(epoch from '2026-06-27 03:26:13'::timestamp) - extract(epoch from '2026-06-27 03:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358773 -2.796273)'), GeomFromEWKT('SRID=4674;POINT (-40.358798 -2.796262)'))) / (select extract(epoch from '2026-06-27 03:26:13'::timestamp) - extract(epoch from '2026-06-27 03:26: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'), 46710, 'SRID=4674;POINT (-40.358829 -2.796249)', '2026-06-27 03:26:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358798 -2.796262)'), GeomFromEWKT('SRID=4674;POINT (-40.358829 -2.796249)'))) / (select extract(epoch from '2026-06-27 03:26:22'::timestamp) - extract(epoch from '2026-06-27 03:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358798 -2.796262)'), GeomFromEWKT('SRID=4674;POINT (-40.358829 -2.796249)'))) / (select extract(epoch from '2026-06-27 03:26:22'::timestamp) - extract(epoch from '2026-06-27 03:26: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'), 46710, 'SRID=4674;POINT (-40.358868 -2.796237)', '2026-06-27 03:26:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358829 -2.796249)'), GeomFromEWKT('SRID=4674;POINT (-40.358868 -2.796237)'))) / (select extract(epoch from '2026-06-27 03:26:32'::timestamp) - extract(epoch from '2026-06-27 03:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358829 -2.796249)'), GeomFromEWKT('SRID=4674;POINT (-40.358868 -2.796237)'))) / (select extract(epoch from '2026-06-27 03:26:32'::timestamp) - extract(epoch from '2026-06-27 03:26:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.358897 -2.796226)', '2026-06-27 03:26:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358868 -2.796237)'), GeomFromEWKT('SRID=4674;POINT (-40.358897 -2.796226)'))) / (select extract(epoch from '2026-06-27 03:26:41'::timestamp) - extract(epoch from '2026-06-27 03:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358868 -2.796237)'), GeomFromEWKT('SRID=4674;POINT (-40.358897 -2.796226)'))) / (select extract(epoch from '2026-06-27 03:26:41'::timestamp) - extract(epoch from '2026-06-27 03:26: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'), 46710, 'SRID=4674;POINT (-40.358924 -2.796214)', '2026-06-27 03:26:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358897 -2.796226)'), GeomFromEWKT('SRID=4674;POINT (-40.358924 -2.796214)'))) / (select extract(epoch from '2026-06-27 03:26:50'::timestamp) - extract(epoch from '2026-06-27 03:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358897 -2.796226)'), GeomFromEWKT('SRID=4674;POINT (-40.358924 -2.796214)'))) / (select extract(epoch from '2026-06-27 03:26:50'::timestamp) - extract(epoch from '2026-06-27 03:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.358992 -2.79621)', '2026-06-27 03:27:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358924 -2.796214)'), GeomFromEWKT('SRID=4674;POINT (-40.358992 -2.79621)'))) / (select extract(epoch from '2026-06-27 03:27:03'::timestamp) - extract(epoch from '2026-06-27 03:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358924 -2.796214)'), GeomFromEWKT('SRID=4674;POINT (-40.358992 -2.79621)'))) / (select extract(epoch from '2026-06-27 03:27:03'::timestamp) - extract(epoch from '2026-06-27 03:26: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'), 46710, 'SRID=4674;POINT (-40.359058 -2.796204)', '2026-06-27 03:27:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358992 -2.79621)'), GeomFromEWKT('SRID=4674;POINT (-40.359058 -2.796204)'))) / (select extract(epoch from '2026-06-27 03:27:14'::timestamp) - extract(epoch from '2026-06-27 03:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358992 -2.79621)'), GeomFromEWKT('SRID=4674;POINT (-40.359058 -2.796204)'))) / (select extract(epoch from '2026-06-27 03:27:14'::timestamp) - extract(epoch from '2026-06-27 03:27: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'), 46710, 'SRID=4674;POINT (-40.359114 -2.796189)', '2026-06-27 03:27:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359058 -2.796204)'), GeomFromEWKT('SRID=4674;POINT (-40.359114 -2.796189)'))) / (select extract(epoch from '2026-06-27 03:27:23'::timestamp) - extract(epoch from '2026-06-27 03:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359058 -2.796204)'), GeomFromEWKT('SRID=4674;POINT (-40.359114 -2.796189)'))) / (select extract(epoch from '2026-06-27 03:27:23'::timestamp) - extract(epoch from '2026-06-27 03:27: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'), 46710, 'SRID=4674;POINT (-40.359157 -2.796174)', '2026-06-27 03:27:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359114 -2.796189)'), GeomFromEWKT('SRID=4674;POINT (-40.359157 -2.796174)'))) / (select extract(epoch from '2026-06-27 03:27:32'::timestamp) - extract(epoch from '2026-06-27 03:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359114 -2.796189)'), GeomFromEWKT('SRID=4674;POINT (-40.359157 -2.796174)'))) / (select extract(epoch from '2026-06-27 03:27:32'::timestamp) - extract(epoch from '2026-06-27 03:27: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'), 46710, 'SRID=4674;POINT (-40.359202 -2.796157)', '2026-06-27 03:27:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359157 -2.796174)'), GeomFromEWKT('SRID=4674;POINT (-40.359202 -2.796157)'))) / (select extract(epoch from '2026-06-27 03:27:41'::timestamp) - extract(epoch from '2026-06-27 03:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359157 -2.796174)'), GeomFromEWKT('SRID=4674;POINT (-40.359202 -2.796157)'))) / (select extract(epoch from '2026-06-27 03:27:41'::timestamp) - extract(epoch from '2026-06-27 03:27: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'), 46710, 'SRID=4674;POINT (-40.359243 -2.796138)', '2026-06-27 03:27:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359202 -2.796157)'), GeomFromEWKT('SRID=4674;POINT (-40.359243 -2.796138)'))) / (select extract(epoch from '2026-06-27 03:27:50'::timestamp) - extract(epoch from '2026-06-27 03:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359202 -2.796157)'), GeomFromEWKT('SRID=4674;POINT (-40.359243 -2.796138)'))) / (select extract(epoch from '2026-06-27 03:27:50'::timestamp) - extract(epoch from '2026-06-27 03:27: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'), 46710, 'SRID=4674;POINT (-40.359284 -2.796113)', '2026-06-27 03:28:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359243 -2.796138)'), GeomFromEWKT('SRID=4674;POINT (-40.359284 -2.796113)'))) / (select extract(epoch from '2026-06-27 03:28:00'::timestamp) - extract(epoch from '2026-06-27 03:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359243 -2.796138)'), GeomFromEWKT('SRID=4674;POINT (-40.359284 -2.796113)'))) / (select extract(epoch from '2026-06-27 03:28:00'::timestamp) - extract(epoch from '2026-06-27 03:27: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'), 46710, 'SRID=4674;POINT (-40.35932 -2.796088)', '2026-06-27 03:28:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359284 -2.796113)'), GeomFromEWKT('SRID=4674;POINT (-40.35932 -2.796088)'))) / (select extract(epoch from '2026-06-27 03:28:09'::timestamp) - extract(epoch from '2026-06-27 03:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359284 -2.796113)'), GeomFromEWKT('SRID=4674;POINT (-40.35932 -2.796088)'))) / (select extract(epoch from '2026-06-27 03:28:09'::timestamp) - extract(epoch from '2026-06-27 03:28: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'), 46710, 'SRID=4674;POINT (-40.359346 -2.796073)', '2026-06-27 03:28:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35932 -2.796088)'), GeomFromEWKT('SRID=4674;POINT (-40.359346 -2.796073)'))) / (select extract(epoch from '2026-06-27 03:28:16'::timestamp) - extract(epoch from '2026-06-27 03:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35932 -2.796088)'), GeomFromEWKT('SRID=4674;POINT (-40.359346 -2.796073)'))) / (select extract(epoch from '2026-06-27 03:28:16'::timestamp) - extract(epoch from '2026-06-27 03:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.359381 -2.796041)', '2026-06-27 03:28:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359346 -2.796073)'), GeomFromEWKT('SRID=4674;POINT (-40.359381 -2.796041)'))) / (select extract(epoch from '2026-06-27 03:28:25'::timestamp) - extract(epoch from '2026-06-27 03:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359346 -2.796073)'), GeomFromEWKT('SRID=4674;POINT (-40.359381 -2.796041)'))) / (select extract(epoch from '2026-06-27 03:28:25'::timestamp) - extract(epoch from '2026-06-27 03:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.359412 -2.796014)', '2026-06-27 03:28:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359381 -2.796041)'), GeomFromEWKT('SRID=4674;POINT (-40.359412 -2.796014)'))) / (select extract(epoch from '2026-06-27 03:28:34'::timestamp) - extract(epoch from '2026-06-27 03:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359381 -2.796041)'), GeomFromEWKT('SRID=4674;POINT (-40.359412 -2.796014)'))) / (select extract(epoch from '2026-06-27 03:28:34'::timestamp) - extract(epoch from '2026-06-27 03:28: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'), 46710, 'SRID=4674;POINT (-40.359473 -2.795972)', '2026-06-27 03:28:49', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359412 -2.796014)'), GeomFromEWKT('SRID=4674;POINT (-40.359473 -2.795972)'))) / (select extract(epoch from '2026-06-27 03:28:49'::timestamp) - extract(epoch from '2026-06-27 03:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359412 -2.796014)'), GeomFromEWKT('SRID=4674;POINT (-40.359473 -2.795972)'))) / (select extract(epoch from '2026-06-27 03:28:49'::timestamp) - extract(epoch from '2026-06-27 03:28: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'), 46710, 'SRID=4674;POINT (-40.35952 -2.795941)', '2026-06-27 03:29:02', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359473 -2.795972)'), GeomFromEWKT('SRID=4674;POINT (-40.35952 -2.795941)'))) / (select extract(epoch from '2026-06-27 03:29:02'::timestamp) - extract(epoch from '2026-06-27 03:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359473 -2.795972)'), GeomFromEWKT('SRID=4674;POINT (-40.35952 -2.795941)'))) / (select extract(epoch from '2026-06-27 03:29:02'::timestamp) - extract(epoch from '2026-06-27 03:28: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'), 46710, 'SRID=4674;POINT (-40.359581 -2.795884)', '2026-06-27 03:29:19', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35952 -2.795941)'), GeomFromEWKT('SRID=4674;POINT (-40.359581 -2.795884)'))) / (select extract(epoch from '2026-06-27 03:29:19'::timestamp) - extract(epoch from '2026-06-27 03:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35952 -2.795941)'), GeomFromEWKT('SRID=4674;POINT (-40.359581 -2.795884)'))) / (select extract(epoch from '2026-06-27 03:29:19'::timestamp) - extract(epoch from '2026-06-27 03:29: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'), 46710, 'SRID=4674;POINT (-40.359628 -2.795847)', '2026-06-27 03:29:27', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359581 -2.795884)'), GeomFromEWKT('SRID=4674;POINT (-40.359628 -2.795847)'))) / (select extract(epoch from '2026-06-27 03:29:27'::timestamp) - extract(epoch from '2026-06-27 03:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359581 -2.795884)'), GeomFromEWKT('SRID=4674;POINT (-40.359628 -2.795847)'))) / (select extract(epoch from '2026-06-27 03:29:27'::timestamp) - extract(epoch from '2026-06-27 03:29: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'), 46710, 'SRID=4674;POINT (-40.359688 -2.795813)', '2026-06-27 03:29:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359628 -2.795847)'), GeomFromEWKT('SRID=4674;POINT (-40.359688 -2.795813)'))) / (select extract(epoch from '2026-06-27 03:29:37'::timestamp) - extract(epoch from '2026-06-27 03:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359628 -2.795847)'), GeomFromEWKT('SRID=4674;POINT (-40.359688 -2.795813)'))) / (select extract(epoch from '2026-06-27 03:29:37'::timestamp) - extract(epoch from '2026-06-27 03:29: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'), 46710, 'SRID=4674;POINT (-40.359734 -2.795795)', '2026-06-27 03:29:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359688 -2.795813)'), GeomFromEWKT('SRID=4674;POINT (-40.359734 -2.795795)'))) / (select extract(epoch from '2026-06-27 03:29:44'::timestamp) - extract(epoch from '2026-06-27 03:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359688 -2.795813)'), GeomFromEWKT('SRID=4674;POINT (-40.359734 -2.795795)'))) / (select extract(epoch from '2026-06-27 03:29:44'::timestamp) - extract(epoch from '2026-06-27 03:29: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'), 46710, 'SRID=4674;POINT (-40.359787 -2.795773)', '2026-06-27 03:29:53', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359734 -2.795795)'), GeomFromEWKT('SRID=4674;POINT (-40.359787 -2.795773)'))) / (select extract(epoch from '2026-06-27 03:29:53'::timestamp) - extract(epoch from '2026-06-27 03:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359734 -2.795795)'), GeomFromEWKT('SRID=4674;POINT (-40.359787 -2.795773)'))) / (select extract(epoch from '2026-06-27 03:29:53'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.359835 -2.795759)', '2026-06-27 03:30:02', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359787 -2.795773)'), GeomFromEWKT('SRID=4674;POINT (-40.359835 -2.795759)'))) / (select extract(epoch from '2026-06-27 03:30:02'::timestamp) - extract(epoch from '2026-06-27 03:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359787 -2.795773)'), GeomFromEWKT('SRID=4674;POINT (-40.359835 -2.795759)'))) / (select extract(epoch from '2026-06-27 03:30:02'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.359895 -2.795742)', '2026-06-27 03:30:12', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359835 -2.795759)'), GeomFromEWKT('SRID=4674;POINT (-40.359895 -2.795742)'))) / (select extract(epoch from '2026-06-27 03:30:12'::timestamp) - extract(epoch from '2026-06-27 03:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359835 -2.795759)'), GeomFromEWKT('SRID=4674;POINT (-40.359895 -2.795742)'))) / (select extract(epoch from '2026-06-27 03:30:12'::timestamp) - extract(epoch from '2026-06-27 03:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.359945 -2.795719)', '2026-06-27 03:30:21', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359895 -2.795742)'), GeomFromEWKT('SRID=4674;POINT (-40.359945 -2.795719)'))) / (select extract(epoch from '2026-06-27 03:30:21'::timestamp) - extract(epoch from '2026-06-27 03:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359895 -2.795742)'), GeomFromEWKT('SRID=4674;POINT (-40.359945 -2.795719)'))) / (select extract(epoch from '2026-06-27 03:30:21'::timestamp) - extract(epoch from '2026-06-27 03:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.360015 -2.795683)', '2026-06-27 03:30:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359945 -2.795719)'), GeomFromEWKT('SRID=4674;POINT (-40.360015 -2.795683)'))) / (select extract(epoch from '2026-06-27 03:30:34'::timestamp) - extract(epoch from '2026-06-27 03:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359945 -2.795719)'), GeomFromEWKT('SRID=4674;POINT (-40.360015 -2.795683)'))) / (select extract(epoch from '2026-06-27 03:30:34'::timestamp) - extract(epoch from '2026-06-27 03:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.36007 -2.795655)', '2026-06-27 03:30:45', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360015 -2.795683)'), GeomFromEWKT('SRID=4674;POINT (-40.36007 -2.795655)'))) / (select extract(epoch from '2026-06-27 03:30:45'::timestamp) - extract(epoch from '2026-06-27 03:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360015 -2.795683)'), GeomFromEWKT('SRID=4674;POINT (-40.36007 -2.795655)'))) / (select extract(epoch from '2026-06-27 03:30:45'::timestamp) - extract(epoch from '2026-06-27 03:30: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'), 46710, 'SRID=4674;POINT (-40.360125 -2.795642)', '2026-06-27 03:30:54', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36007 -2.795655)'), GeomFromEWKT('SRID=4674;POINT (-40.360125 -2.795642)'))) / (select extract(epoch from '2026-06-27 03:30:54'::timestamp) - extract(epoch from '2026-06-27 03:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36007 -2.795655)'), GeomFromEWKT('SRID=4674;POINT (-40.360125 -2.795642)'))) / (select extract(epoch from '2026-06-27 03:30:54'::timestamp) - extract(epoch from '2026-06-27 03:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.360197 -2.795627)', '2026-06-27 03:31:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360125 -2.795642)'), GeomFromEWKT('SRID=4674;POINT (-40.360197 -2.795627)'))) / (select extract(epoch from '2026-06-27 03:31:08'::timestamp) - extract(epoch from '2026-06-27 03:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360125 -2.795642)'), GeomFromEWKT('SRID=4674;POINT (-40.360197 -2.795627)'))) / (select extract(epoch from '2026-06-27 03:31:08'::timestamp) - extract(epoch from '2026-06-27 03:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.36027 -2.795616)', '2026-06-27 03:31:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360197 -2.795627)'), GeomFromEWKT('SRID=4674;POINT (-40.36027 -2.795616)'))) / (select extract(epoch from '2026-06-27 03:31:21'::timestamp) - extract(epoch from '2026-06-27 03:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360197 -2.795627)'), GeomFromEWKT('SRID=4674;POINT (-40.36027 -2.795616)'))) / (select extract(epoch from '2026-06-27 03:31:21'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.360315 -2.795604)', '2026-06-27 03:31:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36027 -2.795616)'), GeomFromEWKT('SRID=4674;POINT (-40.360315 -2.795604)'))) / (select extract(epoch from '2026-06-27 03:31:30'::timestamp) - extract(epoch from '2026-06-27 03:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36027 -2.795616)'), GeomFromEWKT('SRID=4674;POINT (-40.360315 -2.795604)'))) / (select extract(epoch from '2026-06-27 03:31:30'::timestamp) - extract(epoch from '2026-06-27 03:31: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'), 46710, 'SRID=4674;POINT (-40.360351 -2.795593)', '2026-06-27 03:31:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360315 -2.795604)'), GeomFromEWKT('SRID=4674;POINT (-40.360351 -2.795593)'))) / (select extract(epoch from '2026-06-27 03:31:37'::timestamp) - extract(epoch from '2026-06-27 03:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360315 -2.795604)'), GeomFromEWKT('SRID=4674;POINT (-40.360351 -2.795593)'))) / (select extract(epoch from '2026-06-27 03:31:37'::timestamp) - extract(epoch from '2026-06-27 03:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.360396 -2.795581)', '2026-06-27 03:31:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360351 -2.795593)'), GeomFromEWKT('SRID=4674;POINT (-40.360396 -2.795581)'))) / (select extract(epoch from '2026-06-27 03:31:45'::timestamp) - extract(epoch from '2026-06-27 03:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360351 -2.795593)'), GeomFromEWKT('SRID=4674;POINT (-40.360396 -2.795581)'))) / (select extract(epoch from '2026-06-27 03:31:45'::timestamp) - extract(epoch from '2026-06-27 03:31: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'), 46710, 'SRID=4674;POINT (-40.360463 -2.795567)', '2026-06-27 03:31:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360396 -2.795581)'), GeomFromEWKT('SRID=4674;POINT (-40.360463 -2.795567)'))) / (select extract(epoch from '2026-06-27 03:31:54'::timestamp) - extract(epoch from '2026-06-27 03:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360396 -2.795581)'), GeomFromEWKT('SRID=4674;POINT (-40.360463 -2.795567)'))) / (select extract(epoch from '2026-06-27 03:31:54'::timestamp) - extract(epoch from '2026-06-27 03:31: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'), 46710, 'SRID=4674;POINT (-40.360527 -2.795556)', '2026-06-27 03:32:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360463 -2.795567)'), GeomFromEWKT('SRID=4674;POINT (-40.360527 -2.795556)'))) / (select extract(epoch from '2026-06-27 03:32:03'::timestamp) - extract(epoch from '2026-06-27 03:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360463 -2.795567)'), GeomFromEWKT('SRID=4674;POINT (-40.360527 -2.795556)'))) / (select extract(epoch from '2026-06-27 03:32:03'::timestamp) - extract(epoch from '2026-06-27 03:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.360578 -2.79555)', '2026-06-27 03:32:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360527 -2.795556)'), GeomFromEWKT('SRID=4674;POINT (-40.360578 -2.79555)'))) / (select extract(epoch from '2026-06-27 03:32:11'::timestamp) - extract(epoch from '2026-06-27 03:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360527 -2.795556)'), GeomFromEWKT('SRID=4674;POINT (-40.360578 -2.79555)'))) / (select extract(epoch from '2026-06-27 03:32:11'::timestamp) - extract(epoch from '2026-06-27 03:32: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'), 46710, 'SRID=4674;POINT (-40.360677 -2.795533)', '2026-06-27 03:32:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360578 -2.79555)'), GeomFromEWKT('SRID=4674;POINT (-40.360677 -2.795533)'))) / (select extract(epoch from '2026-06-27 03:32:26'::timestamp) - extract(epoch from '2026-06-27 03:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360578 -2.79555)'), GeomFromEWKT('SRID=4674;POINT (-40.360677 -2.795533)'))) / (select extract(epoch from '2026-06-27 03:32:26'::timestamp) - extract(epoch from '2026-06-27 03:32:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.360776 -2.795505)', '2026-06-27 03:32:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360677 -2.795533)'), GeomFromEWKT('SRID=4674;POINT (-40.360776 -2.795505)'))) / (select extract(epoch from '2026-06-27 03:32:43'::timestamp) - extract(epoch from '2026-06-27 03:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360677 -2.795533)'), GeomFromEWKT('SRID=4674;POINT (-40.360776 -2.795505)'))) / (select extract(epoch from '2026-06-27 03:32:43'::timestamp) - extract(epoch from '2026-06-27 03:32:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.360803 -2.795505)', '2026-06-27 03:32:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360776 -2.795505)'), GeomFromEWKT('SRID=4674;POINT (-40.360803 -2.795505)'))) / (select extract(epoch from '2026-06-27 03:32:46'::timestamp) - extract(epoch from '2026-06-27 03:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360776 -2.795505)'), GeomFromEWKT('SRID=4674;POINT (-40.360803 -2.795505)'))) / (select extract(epoch from '2026-06-27 03:32:46'::timestamp) - extract(epoch from '2026-06-27 03:32: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'), 46710, 'SRID=4674;POINT (-40.36083 -2.795494)', '2026-06-27 03:32:50', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360803 -2.795505)'), GeomFromEWKT('SRID=4674;POINT (-40.36083 -2.795494)'))) / (select extract(epoch from '2026-06-27 03:32:50'::timestamp) - extract(epoch from '2026-06-27 03:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360803 -2.795505)'), GeomFromEWKT('SRID=4674;POINT (-40.36083 -2.795494)'))) / (select extract(epoch from '2026-06-27 03:32:50'::timestamp) - extract(epoch from '2026-06-27 03:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.360878 -2.795482)', '2026-06-27 03:32:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36083 -2.795494)'), GeomFromEWKT('SRID=4674;POINT (-40.360878 -2.795482)'))) / (select extract(epoch from '2026-06-27 03:32:57'::timestamp) - extract(epoch from '2026-06-27 03:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36083 -2.795494)'), GeomFromEWKT('SRID=4674;POINT (-40.360878 -2.795482)'))) / (select extract(epoch from '2026-06-27 03:32:57'::timestamp) - extract(epoch from '2026-06-27 03:32: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'), 46710, 'SRID=4674;POINT (-40.360949 -2.795452)', '2026-06-27 03:33:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360878 -2.795482)'), GeomFromEWKT('SRID=4674;POINT (-40.360949 -2.795452)'))) / (select extract(epoch from '2026-06-27 03:33:11'::timestamp) - extract(epoch from '2026-06-27 03:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360878 -2.795482)'), GeomFromEWKT('SRID=4674;POINT (-40.360949 -2.795452)'))) / (select extract(epoch from '2026-06-27 03:33:11'::timestamp) - extract(epoch from '2026-06-27 03:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.360979 -2.795436)', '2026-06-27 03:33:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360949 -2.795452)'), GeomFromEWKT('SRID=4674;POINT (-40.360979 -2.795436)'))) / (select extract(epoch from '2026-06-27 03:33:18'::timestamp) - extract(epoch from '2026-06-27 03:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360949 -2.795452)'), GeomFromEWKT('SRID=4674;POINT (-40.360979 -2.795436)'))) / (select extract(epoch from '2026-06-27 03:33:18'::timestamp) - extract(epoch from '2026-06-27 03:33: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'), 46710, 'SRID=4674;POINT (-40.361024 -2.795419)', '2026-06-27 03:33:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360979 -2.795436)'), GeomFromEWKT('SRID=4674;POINT (-40.361024 -2.795419)'))) / (select extract(epoch from '2026-06-27 03:33:27'::timestamp) - extract(epoch from '2026-06-27 03:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360979 -2.795436)'), GeomFromEWKT('SRID=4674;POINT (-40.361024 -2.795419)'))) / (select extract(epoch from '2026-06-27 03:33:27'::timestamp) - extract(epoch from '2026-06-27 03:33: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'), 46710, 'SRID=4674;POINT (-40.361077 -2.795403)', '2026-06-27 03:33:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361024 -2.795419)'), GeomFromEWKT('SRID=4674;POINT (-40.361077 -2.795403)'))) / (select extract(epoch from '2026-06-27 03:33:34'::timestamp) - extract(epoch from '2026-06-27 03:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361024 -2.795419)'), GeomFromEWKT('SRID=4674;POINT (-40.361077 -2.795403)'))) / (select extract(epoch from '2026-06-27 03:33:34'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.36117 -2.795387)', '2026-06-27 03:33:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361077 -2.795403)'), GeomFromEWKT('SRID=4674;POINT (-40.36117 -2.795387)'))) / (select extract(epoch from '2026-06-27 03:33:46'::timestamp) - extract(epoch from '2026-06-27 03:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361077 -2.795403)'), GeomFromEWKT('SRID=4674;POINT (-40.36117 -2.795387)'))) / (select extract(epoch from '2026-06-27 03:33:46'::timestamp) - extract(epoch from '2026-06-27 03:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.361224 -2.795379)', '2026-06-27 03:33:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36117 -2.795387)'), GeomFromEWKT('SRID=4674;POINT (-40.361224 -2.795379)'))) / (select extract(epoch from '2026-06-27 03:33:54'::timestamp) - extract(epoch from '2026-06-27 03:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36117 -2.795387)'), GeomFromEWKT('SRID=4674;POINT (-40.361224 -2.795379)'))) / (select extract(epoch from '2026-06-27 03:33:54'::timestamp) - extract(epoch from '2026-06-27 03:33: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'), 46710, 'SRID=4674;POINT (-40.361288 -2.795361)', '2026-06-27 03:34:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361224 -2.795379)'), GeomFromEWKT('SRID=4674;POINT (-40.361288 -2.795361)'))) / (select extract(epoch from '2026-06-27 03:34:04'::timestamp) - extract(epoch from '2026-06-27 03:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361224 -2.795379)'), GeomFromEWKT('SRID=4674;POINT (-40.361288 -2.795361)'))) / (select extract(epoch from '2026-06-27 03:34:04'::timestamp) - extract(epoch from '2026-06-27 03:33:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.361376 -2.795348)', '2026-06-27 03:34:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361288 -2.795361)'), GeomFromEWKT('SRID=4674;POINT (-40.361376 -2.795348)'))) / (select extract(epoch from '2026-06-27 03:34:17'::timestamp) - extract(epoch from '2026-06-27 03:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361288 -2.795361)'), GeomFromEWKT('SRID=4674;POINT (-40.361376 -2.795348)'))) / (select extract(epoch from '2026-06-27 03:34:17'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.361427 -2.795328)', '2026-06-27 03:34:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361376 -2.795348)'), GeomFromEWKT('SRID=4674;POINT (-40.361427 -2.795328)'))) / (select extract(epoch from '2026-06-27 03:34:26'::timestamp) - extract(epoch from '2026-06-27 03:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361376 -2.795348)'), GeomFromEWKT('SRID=4674;POINT (-40.361427 -2.795328)'))) / (select extract(epoch from '2026-06-27 03:34:26'::timestamp) - extract(epoch from '2026-06-27 03:34: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'), 46710, 'SRID=4674;POINT (-40.361481 -2.795306)', '2026-06-27 03:34:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361427 -2.795328)'), GeomFromEWKT('SRID=4674;POINT (-40.361481 -2.795306)'))) / (select extract(epoch from '2026-06-27 03:34:37'::timestamp) - extract(epoch from '2026-06-27 03:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361427 -2.795328)'), GeomFromEWKT('SRID=4674;POINT (-40.361481 -2.795306)'))) / (select extract(epoch from '2026-06-27 03:34:37'::timestamp) - extract(epoch from '2026-06-27 03:34: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'), 46710, 'SRID=4674;POINT (-40.361582 -2.795285)', '2026-06-27 03:34:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361481 -2.795306)'), GeomFromEWKT('SRID=4674;POINT (-40.361582 -2.795285)'))) / (select extract(epoch from '2026-06-27 03:34:52'::timestamp) - extract(epoch from '2026-06-27 03:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361481 -2.795306)'), GeomFromEWKT('SRID=4674;POINT (-40.361582 -2.795285)'))) / (select extract(epoch from '2026-06-27 03:34:52'::timestamp) - extract(epoch from '2026-06-27 03:34: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'), 46710, 'SRID=4674;POINT (-40.361651 -2.795259)', '2026-06-27 03:35:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361582 -2.795285)'), GeomFromEWKT('SRID=4674;POINT (-40.361651 -2.795259)'))) / (select extract(epoch from '2026-06-27 03:35:04'::timestamp) - extract(epoch from '2026-06-27 03:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361582 -2.795285)'), GeomFromEWKT('SRID=4674;POINT (-40.361651 -2.795259)'))) / (select extract(epoch from '2026-06-27 03:35:04'::timestamp) - extract(epoch from '2026-06-27 03:34: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'), 46710, 'SRID=4674;POINT (-40.3617 -2.795238)', '2026-06-27 03:35:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361651 -2.795259)'), GeomFromEWKT('SRID=4674;POINT (-40.3617 -2.795238)'))) / (select extract(epoch from '2026-06-27 03:35:12'::timestamp) - extract(epoch from '2026-06-27 03:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361651 -2.795259)'), GeomFromEWKT('SRID=4674;POINT (-40.3617 -2.795238)'))) / (select extract(epoch from '2026-06-27 03:35:12'::timestamp) - extract(epoch from '2026-06-27 03:35: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'), 46710, 'SRID=4674;POINT (-40.361715 -2.795234)', '2026-06-27 03:35:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3617 -2.795238)'), GeomFromEWKT('SRID=4674;POINT (-40.361715 -2.795234)'))) / (select extract(epoch from '2026-06-27 03:35:14'::timestamp) - extract(epoch from '2026-06-27 03:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3617 -2.795238)'), GeomFromEWKT('SRID=4674;POINT (-40.361715 -2.795234)'))) / (select extract(epoch from '2026-06-27 03:35:14'::timestamp) - extract(epoch from '2026-06-27 03:35: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'), 46710, 'SRID=4674;POINT (-40.361736 -2.795229)', '2026-06-27 03:35:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361715 -2.795234)'), GeomFromEWKT('SRID=4674;POINT (-40.361736 -2.795229)'))) / (select extract(epoch from '2026-06-27 03:35:17'::timestamp) - extract(epoch from '2026-06-27 03:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361715 -2.795234)'), GeomFromEWKT('SRID=4674;POINT (-40.361736 -2.795229)'))) / (select extract(epoch from '2026-06-27 03:35:17'::timestamp) - extract(epoch from '2026-06-27 03:35: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'), 46710, 'SRID=4674;POINT (-40.361781 -2.795218)', '2026-06-27 03:35:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361736 -2.795229)'), GeomFromEWKT('SRID=4674;POINT (-40.361781 -2.795218)'))) / (select extract(epoch from '2026-06-27 03:35:24'::timestamp) - extract(epoch from '2026-06-27 03:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361736 -2.795229)'), GeomFromEWKT('SRID=4674;POINT (-40.361781 -2.795218)'))) / (select extract(epoch from '2026-06-27 03:35:24'::timestamp) - extract(epoch from '2026-06-27 03:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.361859 -2.795204)', '2026-06-27 03:35:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361781 -2.795218)'), GeomFromEWKT('SRID=4674;POINT (-40.361859 -2.795204)'))) / (select extract(epoch from '2026-06-27 03:35:36'::timestamp) - extract(epoch from '2026-06-27 03:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361781 -2.795218)'), GeomFromEWKT('SRID=4674;POINT (-40.361859 -2.795204)'))) / (select extract(epoch from '2026-06-27 03:35:36'::timestamp) - extract(epoch from '2026-06-27 03:35: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'), 46710, 'SRID=4674;POINT (-40.36193 -2.795186)', '2026-06-27 03:35:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361859 -2.795204)'), GeomFromEWKT('SRID=4674;POINT (-40.36193 -2.795186)'))) / (select extract(epoch from '2026-06-27 03:35:48'::timestamp) - extract(epoch from '2026-06-27 03:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361859 -2.795204)'), GeomFromEWKT('SRID=4674;POINT (-40.36193 -2.795186)'))) / (select extract(epoch from '2026-06-27 03:35:48'::timestamp) - extract(epoch from '2026-06-27 03:35: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'), 46710, 'SRID=4674;POINT (-40.362009 -2.795183)', '2026-06-27 03:35:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36193 -2.795186)'), GeomFromEWKT('SRID=4674;POINT (-40.362009 -2.795183)'))) / (select extract(epoch from '2026-06-27 03:35:59'::timestamp) - extract(epoch from '2026-06-27 03:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36193 -2.795186)'), GeomFromEWKT('SRID=4674;POINT (-40.362009 -2.795183)'))) / (select extract(epoch from '2026-06-27 03:35:59'::timestamp) - extract(epoch from '2026-06-27 03:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.362078 -2.79517)', '2026-06-27 03:36:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362009 -2.795183)'), GeomFromEWKT('SRID=4674;POINT (-40.362078 -2.79517)'))) / (select extract(epoch from '2026-06-27 03:36:11'::timestamp) - extract(epoch from '2026-06-27 03:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362009 -2.795183)'), GeomFromEWKT('SRID=4674;POINT (-40.362078 -2.79517)'))) / (select extract(epoch from '2026-06-27 03:36:11'::timestamp) - extract(epoch from '2026-06-27 03:35: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'), 46710, 'SRID=4674;POINT (-40.362164 -2.795163)', '2026-06-27 03:36:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362078 -2.79517)'), GeomFromEWKT('SRID=4674;POINT (-40.362164 -2.795163)'))) / (select extract(epoch from '2026-06-27 03:36:23'::timestamp) - extract(epoch from '2026-06-27 03:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362078 -2.79517)'), GeomFromEWKT('SRID=4674;POINT (-40.362164 -2.795163)'))) / (select extract(epoch from '2026-06-27 03:36:23'::timestamp) - extract(epoch from '2026-06-27 03:36: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'), 46710, 'SRID=4674;POINT (-40.362242 -2.795136)', '2026-06-27 03:36:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362164 -2.795163)'), GeomFromEWKT('SRID=4674;POINT (-40.362242 -2.795136)'))) / (select extract(epoch from '2026-06-27 03:36:36'::timestamp) - extract(epoch from '2026-06-27 03:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362164 -2.795163)'), GeomFromEWKT('SRID=4674;POINT (-40.362242 -2.795136)'))) / (select extract(epoch from '2026-06-27 03:36:36'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.362313 -2.795128)', '2026-06-27 03:36:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362242 -2.795136)'), GeomFromEWKT('SRID=4674;POINT (-40.362313 -2.795128)'))) / (select extract(epoch from '2026-06-27 03:36:46'::timestamp) - extract(epoch from '2026-06-27 03:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362242 -2.795136)'), GeomFromEWKT('SRID=4674;POINT (-40.362313 -2.795128)'))) / (select extract(epoch from '2026-06-27 03:36:46'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.362381 -2.795106)', '2026-06-27 03:36:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362313 -2.795128)'), GeomFromEWKT('SRID=4674;POINT (-40.362381 -2.795106)'))) / (select extract(epoch from '2026-06-27 03:36:56'::timestamp) - extract(epoch from '2026-06-27 03:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362313 -2.795128)'), GeomFromEWKT('SRID=4674;POINT (-40.362381 -2.795106)'))) / (select extract(epoch from '2026-06-27 03:36:56'::timestamp) - extract(epoch from '2026-06-27 03:36: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'), 46710, 'SRID=4674;POINT (-40.362433 -2.795086)', '2026-06-27 03:37:06', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362381 -2.795106)'), GeomFromEWKT('SRID=4674;POINT (-40.362433 -2.795086)'))) / (select extract(epoch from '2026-06-27 03:37:06'::timestamp) - extract(epoch from '2026-06-27 03:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362381 -2.795106)'), GeomFromEWKT('SRID=4674;POINT (-40.362433 -2.795086)'))) / (select extract(epoch from '2026-06-27 03:37:06'::timestamp) - extract(epoch from '2026-06-27 03:36: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'), 46710, 'SRID=4674;POINT (-40.362492 -2.795075)', '2026-06-27 03:37:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362433 -2.795086)'), GeomFromEWKT('SRID=4674;POINT (-40.362492 -2.795075)'))) / (select extract(epoch from '2026-06-27 03:37:14'::timestamp) - extract(epoch from '2026-06-27 03:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362433 -2.795086)'), GeomFromEWKT('SRID=4674;POINT (-40.362492 -2.795075)'))) / (select extract(epoch from '2026-06-27 03:37:14'::timestamp) - extract(epoch from '2026-06-27 03:37: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'), 46710, 'SRID=4674;POINT (-40.362547 -2.795053)', '2026-06-27 03:37:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362492 -2.795075)'), GeomFromEWKT('SRID=4674;POINT (-40.362547 -2.795053)'))) / (select extract(epoch from '2026-06-27 03:37:23'::timestamp) - extract(epoch from '2026-06-27 03:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362492 -2.795075)'), GeomFromEWKT('SRID=4674;POINT (-40.362547 -2.795053)'))) / (select extract(epoch from '2026-06-27 03:37:23'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.362615 -2.795018)', '2026-06-27 03:37:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362547 -2.795053)'), GeomFromEWKT('SRID=4674;POINT (-40.362615 -2.795018)'))) / (select extract(epoch from '2026-06-27 03:37:37'::timestamp) - extract(epoch from '2026-06-27 03:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362547 -2.795053)'), GeomFromEWKT('SRID=4674;POINT (-40.362615 -2.795018)'))) / (select extract(epoch from '2026-06-27 03:37:37'::timestamp) - extract(epoch from '2026-06-27 03:37: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'), 46710, 'SRID=4674;POINT (-40.362661 -2.794986)', '2026-06-27 03:37:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362615 -2.795018)'), GeomFromEWKT('SRID=4674;POINT (-40.362661 -2.794986)'))) / (select extract(epoch from '2026-06-27 03:37:47'::timestamp) - extract(epoch from '2026-06-27 03:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362615 -2.795018)'), GeomFromEWKT('SRID=4674;POINT (-40.362661 -2.794986)'))) / (select extract(epoch from '2026-06-27 03:37:47'::timestamp) - extract(epoch from '2026-06-27 03:37: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'), 46710, 'SRID=4674;POINT (-40.36273 -2.794953)', '2026-06-27 03:37:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362661 -2.794986)'), GeomFromEWKT('SRID=4674;POINT (-40.36273 -2.794953)'))) / (select extract(epoch from '2026-06-27 03:37:57'::timestamp) - extract(epoch from '2026-06-27 03:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362661 -2.794986)'), GeomFromEWKT('SRID=4674;POINT (-40.36273 -2.794953)'))) / (select extract(epoch from '2026-06-27 03:37:57'::timestamp) - extract(epoch from '2026-06-27 03:37: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'), 46710, 'SRID=4674;POINT (-40.36277 -2.794938)', '2026-06-27 03:38:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36273 -2.794953)'), GeomFromEWKT('SRID=4674;POINT (-40.36277 -2.794938)'))) / (select extract(epoch from '2026-06-27 03:38:04'::timestamp) - extract(epoch from '2026-06-27 03:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36273 -2.794953)'), GeomFromEWKT('SRID=4674;POINT (-40.36277 -2.794938)'))) / (select extract(epoch from '2026-06-27 03:38:04'::timestamp) - extract(epoch from '2026-06-27 03:37: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'), 46710, 'SRID=4674;POINT (-40.362851 -2.79492)', '2026-06-27 03:38:16', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36277 -2.794938)'), GeomFromEWKT('SRID=4674;POINT (-40.362851 -2.79492)'))) / (select extract(epoch from '2026-06-27 03:38:16'::timestamp) - extract(epoch from '2026-06-27 03:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36277 -2.794938)'), GeomFromEWKT('SRID=4674;POINT (-40.362851 -2.79492)'))) / (select extract(epoch from '2026-06-27 03:38:16'::timestamp) - extract(epoch from '2026-06-27 03:38: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'), 46710, 'SRID=4674;POINT (-40.362921 -2.794906)', '2026-06-27 03:38:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362851 -2.79492)'), GeomFromEWKT('SRID=4674;POINT (-40.362921 -2.794906)'))) / (select extract(epoch from '2026-06-27 03:38:26'::timestamp) - extract(epoch from '2026-06-27 03:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362851 -2.79492)'), GeomFromEWKT('SRID=4674;POINT (-40.362921 -2.794906)'))) / (select extract(epoch from '2026-06-27 03:38:26'::timestamp) - extract(epoch from '2026-06-27 03:38: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'), 46710, 'SRID=4674;POINT (-40.362976 -2.794898)', '2026-06-27 03:38:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362921 -2.794906)'), GeomFromEWKT('SRID=4674;POINT (-40.362976 -2.794898)'))) / (select extract(epoch from '2026-06-27 03:38:37'::timestamp) - extract(epoch from '2026-06-27 03:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362921 -2.794906)'), GeomFromEWKT('SRID=4674;POINT (-40.362976 -2.794898)'))) / (select extract(epoch from '2026-06-27 03:38:37'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.363038 -2.794911)', '2026-06-27 03:38:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362976 -2.794898)'), GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.794911)'))) / (select extract(epoch from '2026-06-27 03:38:45'::timestamp) - extract(epoch from '2026-06-27 03:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362976 -2.794898)'), GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.794911)'))) / (select extract(epoch from '2026-06-27 03:38:45'::timestamp) - extract(epoch from '2026-06-27 03:38: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'), 46710, 'SRID=4674;POINT (-40.363087 -2.794906)', '2026-06-27 03:38:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.794911)'), GeomFromEWKT('SRID=4674;POINT (-40.363087 -2.794906)'))) / (select extract(epoch from '2026-06-27 03:38:52'::timestamp) - extract(epoch from '2026-06-27 03:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363038 -2.794911)'), GeomFromEWKT('SRID=4674;POINT (-40.363087 -2.794906)'))) / (select extract(epoch from '2026-06-27 03:38:52'::timestamp) - extract(epoch from '2026-06-27 03:38: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'), 46710, 'SRID=4674;POINT (-40.363146 -2.794885)', '2026-06-27 03:38:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363087 -2.794906)'), GeomFromEWKT('SRID=4674;POINT (-40.363146 -2.794885)'))) / (select extract(epoch from '2026-06-27 03:38:59'::timestamp) - extract(epoch from '2026-06-27 03:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363087 -2.794906)'), GeomFromEWKT('SRID=4674;POINT (-40.363146 -2.794885)'))) / (select extract(epoch from '2026-06-27 03:38:59'::timestamp) - extract(epoch from '2026-06-27 03:38: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'), 46710, 'SRID=4674;POINT (-40.363197 -2.794863)', '2026-06-27 03:39:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363146 -2.794885)'), GeomFromEWKT('SRID=4674;POINT (-40.363197 -2.794863)'))) / (select extract(epoch from '2026-06-27 03:39:10'::timestamp) - extract(epoch from '2026-06-27 03:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363146 -2.794885)'), GeomFromEWKT('SRID=4674;POINT (-40.363197 -2.794863)'))) / (select extract(epoch from '2026-06-27 03:39:10'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.363262 -2.794827)', '2026-06-27 03:39:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363197 -2.794863)'), GeomFromEWKT('SRID=4674;POINT (-40.363262 -2.794827)'))) / (select extract(epoch from '2026-06-27 03:39:23'::timestamp) - extract(epoch from '2026-06-27 03:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363197 -2.794863)'), GeomFromEWKT('SRID=4674;POINT (-40.363262 -2.794827)'))) / (select extract(epoch from '2026-06-27 03:39:23'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.363281 -2.794809)', '2026-06-27 03:39:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363262 -2.794827)'), GeomFromEWKT('SRID=4674;POINT (-40.363281 -2.794809)'))) / (select extract(epoch from '2026-06-27 03:39:37'::timestamp) - extract(epoch from '2026-06-27 03:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363262 -2.794827)'), GeomFromEWKT('SRID=4674;POINT (-40.363281 -2.794809)'))) / (select extract(epoch from '2026-06-27 03:39:37'::timestamp) - extract(epoch from '2026-06-27 03:39: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'), 46710, 'SRID=4674;POINT (-40.363277 -2.794787)', '2026-06-27 03:39:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363281 -2.794809)'), GeomFromEWKT('SRID=4674;POINT (-40.363277 -2.794787)'))) / (select extract(epoch from '2026-06-27 03:39:50'::timestamp) - extract(epoch from '2026-06-27 03:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363281 -2.794809)'), GeomFromEWKT('SRID=4674;POINT (-40.363277 -2.794787)'))) / (select extract(epoch from '2026-06-27 03:39:50'::timestamp) - extract(epoch from '2026-06-27 03:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363279 -2.794778)', '2026-06-27 03:40:03', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363277 -2.794787)'), GeomFromEWKT('SRID=4674;POINT (-40.363279 -2.794778)'))) / (select extract(epoch from '2026-06-27 03:40:03'::timestamp) - extract(epoch from '2026-06-27 03:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363277 -2.794787)'), GeomFromEWKT('SRID=4674;POINT (-40.363279 -2.794778)'))) / (select extract(epoch from '2026-06-27 03:40:03'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.363305 -2.794768)', '2026-06-27 03:40:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363279 -2.794778)'), GeomFromEWKT('SRID=4674;POINT (-40.363305 -2.794768)'))) / (select extract(epoch from '2026-06-27 03:40:18'::timestamp) - extract(epoch from '2026-06-27 03:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363279 -2.794778)'), GeomFromEWKT('SRID=4674;POINT (-40.363305 -2.794768)'))) / (select extract(epoch from '2026-06-27 03:40:18'::timestamp) - extract(epoch from '2026-06-27 03:40: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'), 46710, 'SRID=4674;POINT (-40.363345 -2.794756)', '2026-06-27 03:40:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363305 -2.794768)'), GeomFromEWKT('SRID=4674;POINT (-40.363345 -2.794756)'))) / (select extract(epoch from '2026-06-27 03:40:34'::timestamp) - extract(epoch from '2026-06-27 03:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363305 -2.794768)'), GeomFromEWKT('SRID=4674;POINT (-40.363345 -2.794756)'))) / (select extract(epoch from '2026-06-27 03:40:34'::timestamp) - extract(epoch from '2026-06-27 03:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.36338 -2.794748)', '2026-06-27 03:40:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363345 -2.794756)'), GeomFromEWKT('SRID=4674;POINT (-40.36338 -2.794748)'))) / (select extract(epoch from '2026-06-27 03:40:50'::timestamp) - extract(epoch from '2026-06-27 03:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363345 -2.794756)'), GeomFromEWKT('SRID=4674;POINT (-40.36338 -2.794748)'))) / (select extract(epoch from '2026-06-27 03:40:50'::timestamp) - extract(epoch from '2026-06-27 03:40: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'), 46710, 'SRID=4674;POINT (-40.363408 -2.794727)', '2026-06-27 03:41:04', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36338 -2.794748)'), GeomFromEWKT('SRID=4674;POINT (-40.363408 -2.794727)'))) / (select extract(epoch from '2026-06-27 03:41:04'::timestamp) - extract(epoch from '2026-06-27 03:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36338 -2.794748)'), GeomFromEWKT('SRID=4674;POINT (-40.363408 -2.794727)'))) / (select extract(epoch from '2026-06-27 03:41:04'::timestamp) - extract(epoch from '2026-06-27 03:40: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'), 46710, 'SRID=4674;POINT (-40.363435 -2.79471)', '2026-06-27 03:41:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363408 -2.794727)'), GeomFromEWKT('SRID=4674;POINT (-40.363435 -2.79471)'))) / (select extract(epoch from '2026-06-27 03:41:19'::timestamp) - extract(epoch from '2026-06-27 03:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363408 -2.794727)'), GeomFromEWKT('SRID=4674;POINT (-40.363435 -2.79471)'))) / (select extract(epoch from '2026-06-27 03:41:19'::timestamp) - extract(epoch from '2026-06-27 03:41: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'), 46710, 'SRID=4674;POINT (-40.363455 -2.794699)', '2026-06-27 03:41:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363435 -2.79471)'), GeomFromEWKT('SRID=4674;POINT (-40.363455 -2.794699)'))) / (select extract(epoch from '2026-06-27 03:41:34'::timestamp) - extract(epoch from '2026-06-27 03:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363435 -2.79471)'), GeomFromEWKT('SRID=4674;POINT (-40.363455 -2.794699)'))) / (select extract(epoch from '2026-06-27 03:41:34'::timestamp) - extract(epoch from '2026-06-27 03:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.36347 -2.794689)', '2026-06-27 03:41:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363455 -2.794699)'), GeomFromEWKT('SRID=4674;POINT (-40.36347 -2.794689)'))) / (select extract(epoch from '2026-06-27 03:41:47'::timestamp) - extract(epoch from '2026-06-27 03:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363455 -2.794699)'), GeomFromEWKT('SRID=4674;POINT (-40.36347 -2.794689)'))) / (select extract(epoch from '2026-06-27 03:41:47'::timestamp) - extract(epoch from '2026-06-27 03:41: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'), 46710, 'SRID=4674;POINT (-40.363487 -2.794694)', '2026-06-27 03:42:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36347 -2.794689)'), GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794694)'))) / (select extract(epoch from '2026-06-27 03:42:00'::timestamp) - extract(epoch from '2026-06-27 03:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36347 -2.794689)'), GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794694)'))) / (select extract(epoch from '2026-06-27 03:42:00'::timestamp) - extract(epoch from '2026-06-27 03:41: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'), 46710, 'SRID=4674;POINT (-40.363482 -2.794686)', '2026-06-27 03:42:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794686)'))) / (select extract(epoch from '2026-06-27 03:42:14'::timestamp) - extract(epoch from '2026-06-27 03:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794686)'))) / (select extract(epoch from '2026-06-27 03:42:14'::timestamp) - extract(epoch from '2026-06-27 03:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363479 -2.794676)', '2026-06-27 03:42:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794686)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794676)'))) / (select extract(epoch from '2026-06-27 03:42:23'::timestamp) - extract(epoch from '2026-06-27 03:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794686)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794676)'))) / (select extract(epoch from '2026-06-27 03:42:23'::timestamp) - extract(epoch from '2026-06-27 03:42: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'), 46710, 'SRID=4674;POINT (-40.363487 -2.794684)', '2026-06-27 03:42:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794684)'))) / (select extract(epoch from '2026-06-27 03:42:32'::timestamp) - extract(epoch from '2026-06-27 03:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794684)'))) / (select extract(epoch from '2026-06-27 03:42:32'::timestamp) - extract(epoch from '2026-06-27 03:42: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'), 46710, 'SRID=4674;POINT (-40.363481 -2.794683)', '2026-06-27 03:42:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.794683)'))) / (select extract(epoch from '2026-06-27 03:42:46'::timestamp) - extract(epoch from '2026-06-27 03:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.794683)'))) / (select extract(epoch from '2026-06-27 03:42:46'::timestamp) - extract(epoch from '2026-06-27 03:42: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'), 46710, 'SRID=4674;POINT (-40.363479 -2.794681)', '2026-06-27 03:42:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.794683)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794681)'))) / (select extract(epoch from '2026-06-27 03:42:57'::timestamp) - extract(epoch from '2026-06-27 03:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.794683)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794681)'))) / (select extract(epoch from '2026-06-27 03:42:57'::timestamp) - extract(epoch from '2026-06-27 03:42: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'), 46710, 'SRID=4674;POINT (-40.363476 -2.794684)', '2026-06-27 03:43:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794684)'))) / (select extract(epoch from '2026-06-27 03:43:16'::timestamp) - extract(epoch from '2026-06-27 03:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794684)'))) / (select extract(epoch from '2026-06-27 03:43:16'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.363482 -2.79468)', '2026-06-27 03:43:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.79468)'))) / (select extract(epoch from '2026-06-27 03:43:30'::timestamp) - extract(epoch from '2026-06-27 03:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.79468)'))) / (select extract(epoch from '2026-06-27 03:43:30'::timestamp) - extract(epoch from '2026-06-27 03:43:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363493 -2.79469)', '2026-06-27 03:43:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.79469)'))) / (select extract(epoch from '2026-06-27 03:43:47'::timestamp) - extract(epoch from '2026-06-27 03:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.79469)'))) / (select extract(epoch from '2026-06-27 03:43:47'::timestamp) - extract(epoch from '2026-06-27 03:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363497 -2.794688)', '2026-06-27 03:44:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.363497 -2.794688)'))) / (select extract(epoch from '2026-06-27 03:44:05'::timestamp) - extract(epoch from '2026-06-27 03:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.363497 -2.794688)'))) / (select extract(epoch from '2026-06-27 03:44:05'::timestamp) - extract(epoch from '2026-06-27 03:43: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'), 46710, 'SRID=4674;POINT (-40.363495 -2.794671)', '2026-06-27 03:44:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363497 -2.794688)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794671)'))) / (select extract(epoch from '2026-06-27 03:44:26'::timestamp) - extract(epoch from '2026-06-27 03:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363497 -2.794688)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794671)'))) / (select extract(epoch from '2026-06-27 03:44:26'::timestamp) - extract(epoch from '2026-06-27 03:44: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'), 46710, 'SRID=4674;POINT (-40.363487 -2.794662)', '2026-06-27 03:44:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794671)'), GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794662)'))) / (select extract(epoch from '2026-06-27 03:44:42'::timestamp) - extract(epoch from '2026-06-27 03:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794671)'), GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794662)'))) / (select extract(epoch from '2026-06-27 03:44:42'::timestamp) - extract(epoch from '2026-06-27 03:44: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'), 46710, 'SRID=4674;POINT (-40.363489 -2.794658)', '2026-06-27 03:45:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794662)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794658)'))) / (select extract(epoch from '2026-06-27 03:45:03'::timestamp) - extract(epoch from '2026-06-27 03:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794662)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794658)'))) / (select extract(epoch from '2026-06-27 03:45:03'::timestamp) - extract(epoch from '2026-06-27 03:44: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'), 46710, 'SRID=4674;POINT (-40.363488 -2.79466)', '2026-06-27 03:45:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.363488 -2.79466)'))) / (select extract(epoch from '2026-06-27 03:45:21'::timestamp) - extract(epoch from '2026-06-27 03:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.363488 -2.79466)'))) / (select extract(epoch from '2026-06-27 03:45:21'::timestamp) - extract(epoch from '2026-06-27 03:45: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'), 46710, 'SRID=4674;POINT (-40.36349 -2.794663)', '2026-06-27 03:45:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363488 -2.79466)'), GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794663)'))) / (select extract(epoch from '2026-06-27 03:45:36'::timestamp) - extract(epoch from '2026-06-27 03:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363488 -2.79466)'), GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794663)'))) / (select extract(epoch from '2026-06-27 03:45:36'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.363484 -2.794672)', '2026-06-27 03:45:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794663)'), GeomFromEWKT('SRID=4674;POINT (-40.363484 -2.794672)'))) / (select extract(epoch from '2026-06-27 03:45:47'::timestamp) - extract(epoch from '2026-06-27 03:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794663)'), GeomFromEWKT('SRID=4674;POINT (-40.363484 -2.794672)'))) / (select extract(epoch from '2026-06-27 03:45:47'::timestamp) - extract(epoch from '2026-06-27 03:45: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'), 46710, 'SRID=4674;POINT (-40.363486 -2.794671)', '2026-06-27 03:46:11', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363484 -2.794672)'), GeomFromEWKT('SRID=4674;POINT (-40.363486 -2.794671)'))) / (select extract(epoch from '2026-06-27 03:46:11'::timestamp) - extract(epoch from '2026-06-27 03:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363484 -2.794672)'), GeomFromEWKT('SRID=4674;POINT (-40.363486 -2.794671)'))) / (select extract(epoch from '2026-06-27 03:46:11'::timestamp) - extract(epoch from '2026-06-27 03:45: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'), 46710, 'SRID=4674;POINT (-40.363484 -2.794677)', '2026-06-27 03:46:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363486 -2.794671)'), GeomFromEWKT('SRID=4674;POINT (-40.363484 -2.794677)'))) / (select extract(epoch from '2026-06-27 03:46:32'::timestamp) - extract(epoch from '2026-06-27 03:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363486 -2.794671)'), GeomFromEWKT('SRID=4674;POINT (-40.363484 -2.794677)'))) / (select extract(epoch from '2026-06-27 03:46:32'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.36349 -2.794678)', '2026-06-27 03:46:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363484 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794678)'))) / (select extract(epoch from '2026-06-27 03:46:52'::timestamp) - extract(epoch from '2026-06-27 03:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363484 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794678)'))) / (select extract(epoch from '2026-06-27 03:46:52'::timestamp) - extract(epoch from '2026-06-27 03:46: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'), 46710, 'SRID=4674;POINT (-40.363491 -2.794673)', '2026-06-27 03:47:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794673)'))) / (select extract(epoch from '2026-06-27 03:47:03'::timestamp) - extract(epoch from '2026-06-27 03:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794673)'))) / (select extract(epoch from '2026-06-27 03:47:03'::timestamp) - extract(epoch from '2026-06-27 03:46: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'), 46710, 'SRID=4674;POINT (-40.363491 -2.794666)', '2026-06-27 03:47:18', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794666)'))) / (select extract(epoch from '2026-06-27 03:47:18'::timestamp) - extract(epoch from '2026-06-27 03:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794666)'))) / (select extract(epoch from '2026-06-27 03:47:18'::timestamp) - extract(epoch from '2026-06-27 03:47: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'), 46710, 'SRID=4674;POINT (-40.363482 -2.794668)', '2026-06-27 03:47:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794666)'), GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794668)'))) / (select extract(epoch from '2026-06-27 03:47:37'::timestamp) - extract(epoch from '2026-06-27 03:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794666)'), GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794668)'))) / (select extract(epoch from '2026-06-27 03:47:37'::timestamp) - extract(epoch from '2026-06-27 03:47: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'), 46710, 'SRID=4674;POINT (-40.36349 -2.794677)', '2026-06-27 03:47:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794668)'), GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794677)'))) / (select extract(epoch from '2026-06-27 03:47:51'::timestamp) - extract(epoch from '2026-06-27 03:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794668)'), GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794677)'))) / (select extract(epoch from '2026-06-27 03:47:51'::timestamp) - extract(epoch from '2026-06-27 03:47: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'), 46710, 'SRID=4674;POINT (-40.363493 -2.794681)', '2026-06-27 03:48:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794681)'))) / (select extract(epoch from '2026-06-27 03:48:07'::timestamp) - extract(epoch from '2026-06-27 03:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794681)'))) / (select extract(epoch from '2026-06-27 03:48:07'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.363499 -2.79469)', '2026-06-27 03:48:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.79469)'))) / (select extract(epoch from '2026-06-27 03:48:20'::timestamp) - extract(epoch from '2026-06-27 03:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.79469)'))) / (select extract(epoch from '2026-06-27 03:48:20'::timestamp) - extract(epoch from '2026-06-27 03:48: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'), 46710, 'SRID=4674;POINT (-40.3635 -2.7947)', '2026-06-27 03:48:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.7947)'))) / (select extract(epoch from '2026-06-27 03:48:39'::timestamp) - extract(epoch from '2026-06-27 03:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.7947)'))) / (select extract(epoch from '2026-06-27 03:48:39'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.363499 -2.794699)', '2026-06-27 03:48:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794699)'))) / (select extract(epoch from '2026-06-27 03:48:57'::timestamp) - extract(epoch from '2026-06-27 03:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794699)'))) / (select extract(epoch from '2026-06-27 03:48:57'::timestamp) - extract(epoch from '2026-06-27 03:48: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'), 46710, 'SRID=4674;POINT (-40.363495 -2.794696)', '2026-06-27 03:49:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794699)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794696)'))) / (select extract(epoch from '2026-06-27 03:49:07'::timestamp) - extract(epoch from '2026-06-27 03:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794699)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794696)'))) / (select extract(epoch from '2026-06-27 03:49:07'::timestamp) - extract(epoch from '2026-06-27 03:48: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'), 46710, 'SRID=4674;POINT (-40.3635 -2.794684)', '2026-06-27 03:49:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.794684)'))) / (select extract(epoch from '2026-06-27 03:49:20'::timestamp) - extract(epoch from '2026-06-27 03:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.794684)'))) / (select extract(epoch from '2026-06-27 03:49:20'::timestamp) - extract(epoch from '2026-06-27 03:49: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'), 46710, 'SRID=4674;POINT (-40.363496 -2.79469)', '2026-06-27 03:49:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.79469)'))) / (select extract(epoch from '2026-06-27 03:49:28'::timestamp) - extract(epoch from '2026-06-27 03:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.79469)'))) / (select extract(epoch from '2026-06-27 03:49:28'::timestamp) - extract(epoch from '2026-06-27 03:49: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'), 46710, 'SRID=4674;POINT (-40.363504 -2.794692)', '2026-06-27 03:49:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.363504 -2.794692)'))) / (select extract(epoch from '2026-06-27 03:49:41'::timestamp) - extract(epoch from '2026-06-27 03:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.363504 -2.794692)'))) / (select extract(epoch from '2026-06-27 03:49:41'::timestamp) - extract(epoch from '2026-06-27 03:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.36351 -2.794696)', '2026-06-27 03:49:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363504 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.36351 -2.794696)'))) / (select extract(epoch from '2026-06-27 03:49:53'::timestamp) - extract(epoch from '2026-06-27 03:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363504 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.36351 -2.794696)'))) / (select extract(epoch from '2026-06-27 03:49:53'::timestamp) - extract(epoch from '2026-06-27 03:49: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'), 46710, 'SRID=4674;POINT (-40.363502 -2.794691)', '2026-06-27 03:50:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36351 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.363502 -2.794691)'))) / (select extract(epoch from '2026-06-27 03:50:13'::timestamp) - extract(epoch from '2026-06-27 03:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36351 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.363502 -2.794691)'))) / (select extract(epoch from '2026-06-27 03:50:13'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.363493 -2.794681)', '2026-06-27 03:50:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363502 -2.794691)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794681)'))) / (select extract(epoch from '2026-06-27 03:50:27'::timestamp) - extract(epoch from '2026-06-27 03:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363502 -2.794691)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794681)'))) / (select extract(epoch from '2026-06-27 03:50:27'::timestamp) - extract(epoch from '2026-06-27 03:50: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'), 46710, 'SRID=4674;POINT (-40.363493 -2.794689)', '2026-06-27 03:50:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794689)'))) / (select extract(epoch from '2026-06-27 03:50:43'::timestamp) - extract(epoch from '2026-06-27 03:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794689)'))) / (select extract(epoch from '2026-06-27 03:50:43'::timestamp) - extract(epoch from '2026-06-27 03:50:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363496 -2.794694)', '2026-06-27 03:51:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794689)'), GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.794694)'))) / (select extract(epoch from '2026-06-27 03:51:10'::timestamp) - extract(epoch from '2026-06-27 03:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794689)'), GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.794694)'))) / (select extract(epoch from '2026-06-27 03:51:10'::timestamp) - extract(epoch from '2026-06-27 03:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363501 -2.794684)', '2026-06-27 03:51:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.363501 -2.794684)'))) / (select extract(epoch from '2026-06-27 03:51:48'::timestamp) - extract(epoch from '2026-06-27 03:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.363501 -2.794684)'))) / (select extract(epoch from '2026-06-27 03:51:48'::timestamp) - extract(epoch from '2026-06-27 03:51: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'), 46710, 'SRID=4674;POINT (-40.3635 -2.794678)', '2026-06-27 03:52:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363501 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.794678)'))) / (select extract(epoch from '2026-06-27 03:52:24'::timestamp) - extract(epoch from '2026-06-27 03:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363501 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.794678)'))) / (select extract(epoch from '2026-06-27 03:52:24'::timestamp) - extract(epoch from '2026-06-27 03:51: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'), 46710, 'SRID=4674;POINT (-40.363487 -2.794674)', '2026-06-27 03:53:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794674)'))) / (select extract(epoch from '2026-06-27 03:53:07'::timestamp) - extract(epoch from '2026-06-27 03:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794674)'))) / (select extract(epoch from '2026-06-27 03:53:07'::timestamp) - extract(epoch from '2026-06-27 03:52: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'), 46710, 'SRID=4674;POINT (-40.363494 -2.794694)', '2026-06-27 03:53:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794674)'), GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794694)'))) / (select extract(epoch from '2026-06-27 03:53:41'::timestamp) - extract(epoch from '2026-06-27 03:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794674)'), GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794694)'))) / (select extract(epoch from '2026-06-27 03:53:41'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.363495 -2.794679)', '2026-06-27 03:54:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794679)'))) / (select extract(epoch from '2026-06-27 03:54:03'::timestamp) - extract(epoch from '2026-06-27 03:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794679)'))) / (select extract(epoch from '2026-06-27 03:54:03'::timestamp) - extract(epoch from '2026-06-27 03:53: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'), 46710, 'SRID=4674;POINT (-40.363494 -2.794678)', '2026-06-27 03:54:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794679)'), GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794678)'))) / (select extract(epoch from '2026-06-27 03:54:17'::timestamp) - extract(epoch from '2026-06-27 03:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794679)'), GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794678)'))) / (select extract(epoch from '2026-06-27 03:54:17'::timestamp) - extract(epoch from '2026-06-27 03:54:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363492 -2.794664)', '2026-06-27 03:54:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.363492 -2.794664)'))) / (select extract(epoch from '2026-06-27 03:54:27'::timestamp) - extract(epoch from '2026-06-27 03:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.363492 -2.794664)'))) / (select extract(epoch from '2026-06-27 03:54:27'::timestamp) - extract(epoch from '2026-06-27 03:54: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'), 46710, 'SRID=4674;POINT (-40.363496 -2.794658)', '2026-06-27 03:54:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363492 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.794658)'))) / (select extract(epoch from '2026-06-27 03:54:38'::timestamp) - extract(epoch from '2026-06-27 03:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363492 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.794658)'))) / (select extract(epoch from '2026-06-27 03:54:38'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.363497 -2.794655)', '2026-06-27 03:54:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.363497 -2.794655)'))) / (select extract(epoch from '2026-06-27 03:54:56'::timestamp) - extract(epoch from '2026-06-27 03:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.363497 -2.794655)'))) / (select extract(epoch from '2026-06-27 03:54:56'::timestamp) - extract(epoch from '2026-06-27 03:54: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'), 46710, 'SRID=4674;POINT (-40.363495 -2.794663)', '2026-06-27 03:55:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363497 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794663)'))) / (select extract(epoch from '2026-06-27 03:55:13'::timestamp) - extract(epoch from '2026-06-27 03:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363497 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794663)'))) / (select extract(epoch from '2026-06-27 03:55:13'::timestamp) - extract(epoch from '2026-06-27 03:54: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'), 46710, 'SRID=4674;POINT (-40.363495 -2.794658)', '2026-06-27 03:55:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794663)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794658)'))) / (select extract(epoch from '2026-06-27 03:55:33'::timestamp) - extract(epoch from '2026-06-27 03:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794663)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794658)'))) / (select extract(epoch from '2026-06-27 03:55:33'::timestamp) - extract(epoch from '2026-06-27 03:55: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'), 46710, 'SRID=4674;POINT (-40.36349 -2.794664)', '2026-06-27 03:55:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794664)'))) / (select extract(epoch from '2026-06-27 03:55:49'::timestamp) - extract(epoch from '2026-06-27 03:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794664)'))) / (select extract(epoch from '2026-06-27 03:55:49'::timestamp) - extract(epoch from '2026-06-27 03:55: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'), 46710, 'SRID=4674;POINT (-40.363489 -2.794657)', '2026-06-27 03:56:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794657)'))) / (select extract(epoch from '2026-06-27 03:56:01'::timestamp) - extract(epoch from '2026-06-27 03:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794657)'))) / (select extract(epoch from '2026-06-27 03:56:01'::timestamp) - extract(epoch from '2026-06-27 03:55: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'), 46710, 'SRID=4674;POINT (-40.363498 -2.794662)', '2026-06-27 03:56:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.363498 -2.794662)'))) / (select extract(epoch from '2026-06-27 03:56:12'::timestamp) - extract(epoch from '2026-06-27 03:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.363498 -2.794662)'))) / (select extract(epoch from '2026-06-27 03:56:12'::timestamp) - extract(epoch from '2026-06-27 03:56: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'), 46710, 'SRID=4674;POINT (-40.363487 -2.794685)', '2026-06-27 03:56:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363498 -2.794662)'), GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794685)'))) / (select extract(epoch from '2026-06-27 03:56:23'::timestamp) - extract(epoch from '2026-06-27 03:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363498 -2.794662)'), GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794685)'))) / (select extract(epoch from '2026-06-27 03:56:23'::timestamp) - extract(epoch from '2026-06-27 03:56: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'), 46710, 'SRID=4674;POINT (-40.363485 -2.79468)', '2026-06-27 03:56:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794685)'), GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.79468)'))) / (select extract(epoch from '2026-06-27 03:56:42'::timestamp) - extract(epoch from '2026-06-27 03:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794685)'), GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.79468)'))) / (select extract(epoch from '2026-06-27 03:56:42'::timestamp) - extract(epoch from '2026-06-27 03:56: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'), 46710, 'SRID=4674;POINT (-40.363483 -2.79467)', '2026-06-27 03:56:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.79467)'))) / (select extract(epoch from '2026-06-27 03:56:59'::timestamp) - extract(epoch from '2026-06-27 03:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.79467)'))) / (select extract(epoch from '2026-06-27 03:56:59'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.363489 -2.79468)', '2026-06-27 03:57:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.79467)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.79468)'))) / (select extract(epoch from '2026-06-27 03:57:23'::timestamp) - extract(epoch from '2026-06-27 03:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.79467)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.79468)'))) / (select extract(epoch from '2026-06-27 03:57:23'::timestamp) - extract(epoch from '2026-06-27 03:56: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'), 46710, 'SRID=4674;POINT (-40.363493 -2.794664)', '2026-06-27 03:57:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794664)'))) / (select extract(epoch from '2026-06-27 03:57:44'::timestamp) - extract(epoch from '2026-06-27 03:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794664)'))) / (select extract(epoch from '2026-06-27 03:57:44'::timestamp) - extract(epoch from '2026-06-27 03:57: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'), 46710, 'SRID=4674;POINT (-40.363494 -2.794658)', '2026-06-27 03:57:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794658)'))) / (select extract(epoch from '2026-06-27 03:57:59'::timestamp) - extract(epoch from '2026-06-27 03:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794658)'))) / (select extract(epoch from '2026-06-27 03:57:59'::timestamp) - extract(epoch from '2026-06-27 03:57: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'), 46710, 'SRID=4674;POINT (-40.363495 -2.794662)', '2026-06-27 03:58:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794662)'))) / (select extract(epoch from '2026-06-27 03:58:15'::timestamp) - extract(epoch from '2026-06-27 03:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794662)'))) / (select extract(epoch from '2026-06-27 03:58:15'::timestamp) - extract(epoch from '2026-06-27 03:57: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'), 46710, 'SRID=4674;POINT (-40.363492 -2.794664)', '2026-06-27 03:58:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794662)'), GeomFromEWKT('SRID=4674;POINT (-40.363492 -2.794664)'))) / (select extract(epoch from '2026-06-27 03:58:32'::timestamp) - extract(epoch from '2026-06-27 03:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.794662)'), GeomFromEWKT('SRID=4674;POINT (-40.363492 -2.794664)'))) / (select extract(epoch from '2026-06-27 03:58:32'::timestamp) - extract(epoch from '2026-06-27 03:58: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'), 46710, 'SRID=4674;POINT (-40.36348 -2.794657)', '2026-06-27 03:58:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363492 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.36348 -2.794657)'))) / (select extract(epoch from '2026-06-27 03:58:46'::timestamp) - extract(epoch from '2026-06-27 03:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363492 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.36348 -2.794657)'))) / (select extract(epoch from '2026-06-27 03:58:46'::timestamp) - extract(epoch from '2026-06-27 03: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'), 46710, 'SRID=4674;POINT (-40.363475 -2.794656)', '2026-06-27 03:59:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36348 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.363475 -2.794656)'))) / (select extract(epoch from '2026-06-27 03:59:08'::timestamp) - extract(epoch from '2026-06-27 03:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36348 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.363475 -2.794656)'))) / (select extract(epoch from '2026-06-27 03:59:08'::timestamp) - extract(epoch from '2026-06-27 03:58: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'), 46710, 'SRID=4674;POINT (-40.363475 -2.794656)', '2026-06-27 03:59:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363475 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.363475 -2.794656)'))) / (select extract(epoch from '2026-06-27 03:59:18'::timestamp) - extract(epoch from '2026-06-27 03:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363475 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.363475 -2.794656)'))) / (select extract(epoch from '2026-06-27 03:59:18'::timestamp) - extract(epoch from '2026-06-27 03:59: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'), 46710, 'SRID=4674;POINT (-40.363479 -2.794659)', '2026-06-27 03:59:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363475 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794659)'))) / (select extract(epoch from '2026-06-27 03:59:33'::timestamp) - extract(epoch from '2026-06-27 03:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363475 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794659)'))) / (select extract(epoch from '2026-06-27 03:59:33'::timestamp) - extract(epoch from '2026-06-27 03:59: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'), 46710, 'SRID=4674;POINT (-40.363481 -2.794661)', '2026-06-27 03:59:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794659)'), GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.794661)'))) / (select extract(epoch from '2026-06-27 03:59:41'::timestamp) - extract(epoch from '2026-06-27 03:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794659)'), GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.794661)'))) / (select extract(epoch from '2026-06-27 03:59:41'::timestamp) - extract(epoch from '2026-06-27 03:59: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'), 46710, 'SRID=4674;POINT (-40.363479 -2.794648)', '2026-06-27 03:59:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.794661)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794648)'))) / (select extract(epoch from '2026-06-27 03:59:55'::timestamp) - extract(epoch from '2026-06-27 03:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.794661)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794648)'))) / (select extract(epoch from '2026-06-27 03:59:55'::timestamp) - extract(epoch from '2026-06-27 03:59: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'), 46710, 'SRID=4674;POINT (-40.363481 -2.794655)', '2026-06-27 04:00:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794648)'), GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.794655)'))) / (select extract(epoch from '2026-06-27 04:00:08'::timestamp) - extract(epoch from '2026-06-27 03:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794648)'), GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.794655)'))) / (select extract(epoch from '2026-06-27 04:00:08'::timestamp) - extract(epoch from '2026-06-27 03:59: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'), 46710, 'SRID=4674;POINT (-40.363483 -2.794653)', '2026-06-27 04:00:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.794653)'))) / (select extract(epoch from '2026-06-27 04:00:21'::timestamp) - extract(epoch from '2026-06-27 04:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363481 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.794653)'))) / (select extract(epoch from '2026-06-27 04:00:21'::timestamp) - extract(epoch from '2026-06-27 04:00: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'), 46710, 'SRID=4674;POINT (-40.363478 -2.794641)', '2026-06-27 04:00:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.794653)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794641)'))) / (select extract(epoch from '2026-06-27 04:00:35'::timestamp) - extract(epoch from '2026-06-27 04:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.794653)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794641)'))) / (select extract(epoch from '2026-06-27 04:00:35'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363477 -2.794643)', '2026-06-27 04:00:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794641)'), GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794643)'))) / (select extract(epoch from '2026-06-27 04:00:47'::timestamp) - extract(epoch from '2026-06-27 04:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794641)'), GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794643)'))) / (select extract(epoch from '2026-06-27 04:00:47'::timestamp) - extract(epoch from '2026-06-27 04:00: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'), 46710, 'SRID=4674;POINT (-40.363476 -2.794635)', '2026-06-27 04:01:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794635)'))) / (select extract(epoch from '2026-06-27 04:01:01'::timestamp) - extract(epoch from '2026-06-27 04:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794635)'))) / (select extract(epoch from '2026-06-27 04:01:01'::timestamp) - extract(epoch from '2026-06-27 04:00:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363476 -2.794651)', '2026-06-27 04:01:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794635)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794651)'))) / (select extract(epoch from '2026-06-27 04:01:11'::timestamp) - extract(epoch from '2026-06-27 04:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794635)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794651)'))) / (select extract(epoch from '2026-06-27 04:01:11'::timestamp) - extract(epoch from '2026-06-27 04:01: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'), 46710, 'SRID=4674;POINT (-40.363479 -2.794653)', '2026-06-27 04:01:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794651)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794653)'))) / (select extract(epoch from '2026-06-27 04:01:27'::timestamp) - extract(epoch from '2026-06-27 04:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794651)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794653)'))) / (select extract(epoch from '2026-06-27 04:01:27'::timestamp) - extract(epoch from '2026-06-27 04:01: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'), 46710, 'SRID=4674;POINT (-40.363472 -2.794662)', '2026-06-27 04:01:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794653)'), GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794662)'))) / (select extract(epoch from '2026-06-27 04:01:41'::timestamp) - extract(epoch from '2026-06-27 04:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794653)'), GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794662)'))) / (select extract(epoch from '2026-06-27 04:01:41'::timestamp) - extract(epoch from '2026-06-27 04:01: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'), 46710, 'SRID=4674;POINT (-40.363478 -2.794666)', '2026-06-27 04:01:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794662)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794666)'))) / (select extract(epoch from '2026-06-27 04:01:54'::timestamp) - extract(epoch from '2026-06-27 04:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794662)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794666)'))) / (select extract(epoch from '2026-06-27 04:01:54'::timestamp) - extract(epoch from '2026-06-27 04:01: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'), 46710, 'SRID=4674;POINT (-40.363488 -2.79467)', '2026-06-27 04:02:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794666)'), GeomFromEWKT('SRID=4674;POINT (-40.363488 -2.79467)'))) / (select extract(epoch from '2026-06-27 04:02:15'::timestamp) - extract(epoch from '2026-06-27 04:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794666)'), GeomFromEWKT('SRID=4674;POINT (-40.363488 -2.79467)'))) / (select extract(epoch from '2026-06-27 04:02:15'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363491 -2.794667)', '2026-06-27 04:02:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363488 -2.79467)'), GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794667)'))) / (select extract(epoch from '2026-06-27 04:02:31'::timestamp) - extract(epoch from '2026-06-27 04:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363488 -2.79467)'), GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794667)'))) / (select extract(epoch from '2026-06-27 04:02:31'::timestamp) - extract(epoch from '2026-06-27 04:02: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'), 46710, 'SRID=4674;POINT (-40.363474 -2.794665)', '2026-06-27 04:02:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794667)'), GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794665)'))) / (select extract(epoch from '2026-06-27 04:02:47'::timestamp) - extract(epoch from '2026-06-27 04:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794667)'), GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794665)'))) / (select extract(epoch from '2026-06-27 04:02:47'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363476 -2.794652)', '2026-06-27 04:03:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794665)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794652)'))) / (select extract(epoch from '2026-06-27 04:03:04'::timestamp) - extract(epoch from '2026-06-27 04:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794665)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794652)'))) / (select extract(epoch from '2026-06-27 04:03:04'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363473 -2.794644)', '2026-06-27 04:03:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794652)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794644)'))) / (select extract(epoch from '2026-06-27 04:03:24'::timestamp) - extract(epoch from '2026-06-27 04:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794652)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794644)'))) / (select extract(epoch from '2026-06-27 04:03:24'::timestamp) - extract(epoch from '2026-06-27 04:03: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'), 46710, 'SRID=4674;POINT (-40.363473 -2.794643)', '2026-06-27 04:03:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794644)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794643)'))) / (select extract(epoch from '2026-06-27 04:03:39'::timestamp) - extract(epoch from '2026-06-27 04:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794644)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794643)'))) / (select extract(epoch from '2026-06-27 04:03:39'::timestamp) - extract(epoch from '2026-06-27 04:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363474 -2.794651)', '2026-06-27 04:03:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794651)'))) / (select extract(epoch from '2026-06-27 04:03:47'::timestamp) - extract(epoch from '2026-06-27 04:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794651)'))) / (select extract(epoch from '2026-06-27 04:03:47'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363482 -2.794655)', '2026-06-27 04:03:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794651)'), GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794655)'))) / (select extract(epoch from '2026-06-27 04:03:57'::timestamp) - extract(epoch from '2026-06-27 04:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794651)'), GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794655)'))) / (select extract(epoch from '2026-06-27 04:03:57'::timestamp) - extract(epoch from '2026-06-27 04:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363482 -2.794664)', '2026-06-27 04:04:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:04:18'::timestamp) - extract(epoch from '2026-06-27 04:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:04:18'::timestamp) - extract(epoch from '2026-06-27 04:03: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'), 46710, 'SRID=4674;POINT (-40.363487 -2.794664)', '2026-06-27 04:04:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:04:33'::timestamp) - extract(epoch from '2026-06-27 04:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363482 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:04:33'::timestamp) - extract(epoch from '2026-06-27 04:04: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'), 46710, 'SRID=4674;POINT (-40.363483 -2.79466)', '2026-06-27 04:04:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.79466)'))) / (select extract(epoch from '2026-06-27 04:04:45'::timestamp) - extract(epoch from '2026-06-27 04:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363487 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.79466)'))) / (select extract(epoch from '2026-06-27 04:04:45'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363477 -2.79465)', '2026-06-27 04:05:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.79466)'), GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.79465)'))) / (select extract(epoch from '2026-06-27 04:05:04'::timestamp) - extract(epoch from '2026-06-27 04:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.79466)'), GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.79465)'))) / (select extract(epoch from '2026-06-27 04:05:04'::timestamp) - extract(epoch from '2026-06-27 04:04: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'), 46710, 'SRID=4674;POINT (-40.363467 -2.794648)', '2026-06-27 04:05:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.79465)'), GeomFromEWKT('SRID=4674;POINT (-40.363467 -2.794648)'))) / (select extract(epoch from '2026-06-27 04:05:26'::timestamp) - extract(epoch from '2026-06-27 04:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.79465)'), GeomFromEWKT('SRID=4674;POINT (-40.363467 -2.794648)'))) / (select extract(epoch from '2026-06-27 04:05:26'::timestamp) - extract(epoch from '2026-06-27 04:05: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'), 46710, 'SRID=4674;POINT (-40.363475 -2.794653)', '2026-06-27 04:05:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363467 -2.794648)'), GeomFromEWKT('SRID=4674;POINT (-40.363475 -2.794653)'))) / (select extract(epoch from '2026-06-27 04:05:45'::timestamp) - extract(epoch from '2026-06-27 04:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363467 -2.794648)'), GeomFromEWKT('SRID=4674;POINT (-40.363475 -2.794653)'))) / (select extract(epoch from '2026-06-27 04:05:45'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363474 -2.794665)', '2026-06-27 04:05:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363475 -2.794653)'), GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794665)'))) / (select extract(epoch from '2026-06-27 04:05:56'::timestamp) - extract(epoch from '2026-06-27 04:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363475 -2.794653)'), GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794665)'))) / (select extract(epoch from '2026-06-27 04:05:56'::timestamp) - extract(epoch from '2026-06-27 04:05: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'), 46710, 'SRID=4674;POINT (-40.363478 -2.794649)', '2026-06-27 04:06:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794665)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794649)'))) / (select extract(epoch from '2026-06-27 04:06:12'::timestamp) - extract(epoch from '2026-06-27 04:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794665)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794649)'))) / (select extract(epoch from '2026-06-27 04:06:12'::timestamp) - extract(epoch from '2026-06-27 04:05:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363478 -2.794638)', '2026-06-27 04:06:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794649)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794638)'))) / (select extract(epoch from '2026-06-27 04:06:27'::timestamp) - extract(epoch from '2026-06-27 04:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794649)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794638)'))) / (select extract(epoch from '2026-06-27 04:06:27'::timestamp) - extract(epoch from '2026-06-27 04:06: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'), 46710, 'SRID=4674;POINT (-40.363471 -2.794642)', '2026-06-27 04:06:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794638)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794642)'))) / (select extract(epoch from '2026-06-27 04:06:44'::timestamp) - extract(epoch from '2026-06-27 04:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794638)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794642)'))) / (select extract(epoch from '2026-06-27 04:06:44'::timestamp) - extract(epoch from '2026-06-27 04:06: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'), 46710, 'SRID=4674;POINT (-40.363468 -2.794645)', '2026-06-27 04:07:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794642)'), GeomFromEWKT('SRID=4674;POINT (-40.363468 -2.794645)'))) / (select extract(epoch from '2026-06-27 04:07:06'::timestamp) - extract(epoch from '2026-06-27 04:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794642)'), GeomFromEWKT('SRID=4674;POINT (-40.363468 -2.794645)'))) / (select extract(epoch from '2026-06-27 04:07:06'::timestamp) - extract(epoch from '2026-06-27 04:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363478 -2.794651)', '2026-06-27 04:07:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363468 -2.794645)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794651)'))) / (select extract(epoch from '2026-06-27 04:07:16'::timestamp) - extract(epoch from '2026-06-27 04:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363468 -2.794645)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794651)'))) / (select extract(epoch from '2026-06-27 04:07:16'::timestamp) - extract(epoch from '2026-06-27 04:07: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'), 46710, 'SRID=4674;POINT (-40.363485 -2.794664)', '2026-06-27 04:07:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794651)'), GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:07:32'::timestamp) - extract(epoch from '2026-06-27 04:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794651)'), GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:07:32'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363483 -2.794665)', '2026-06-27 04:07:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.794665)'))) / (select extract(epoch from '2026-06-27 04:07:47'::timestamp) - extract(epoch from '2026-06-27 04:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.794665)'))) / (select extract(epoch from '2026-06-27 04:07:47'::timestamp) - extract(epoch from '2026-06-27 04:07: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'), 46710, 'SRID=4674;POINT (-40.363485 -2.794657)', '2026-06-27 04:08:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.794665)'), GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.794657)'))) / (select extract(epoch from '2026-06-27 04:08:01'::timestamp) - extract(epoch from '2026-06-27 04:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363483 -2.794665)'), GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.794657)'))) / (select extract(epoch from '2026-06-27 04:08:01'::timestamp) - extract(epoch from '2026-06-27 04:07: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'), 46710, 'SRID=4674;POINT (-40.363473 -2.794656)', '2026-06-27 04:08:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794656)'))) / (select extract(epoch from '2026-06-27 04:08:17'::timestamp) - extract(epoch from '2026-06-27 04:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794656)'))) / (select extract(epoch from '2026-06-27 04:08:17'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363472 -2.794648)', '2026-06-27 04:08:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794648)'))) / (select extract(epoch from '2026-06-27 04:08:31'::timestamp) - extract(epoch from '2026-06-27 04:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794648)'))) / (select extract(epoch from '2026-06-27 04:08:31'::timestamp) - extract(epoch from '2026-06-27 04:08: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'), 46710, 'SRID=4674;POINT (-40.363466 -2.794649)', '2026-06-27 04:08:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794648)'), GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794649)'))) / (select extract(epoch from '2026-06-27 04:08:53'::timestamp) - extract(epoch from '2026-06-27 04:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794648)'), GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794649)'))) / (select extract(epoch from '2026-06-27 04:08:53'::timestamp) - extract(epoch from '2026-06-27 04:08: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'), 46710, 'SRID=4674;POINT (-40.363472 -2.794646)', '2026-06-27 04:09:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794649)'), GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794646)'))) / (select extract(epoch from '2026-06-27 04:09:11'::timestamp) - extract(epoch from '2026-06-27 04:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794649)'), GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794646)'))) / (select extract(epoch from '2026-06-27 04:09:11'::timestamp) - extract(epoch from '2026-06-27 04:08: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'), 46710, 'SRID=4674;POINT (-40.363463 -2.794652)', '2026-06-27 04:09:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794646)'), GeomFromEWKT('SRID=4674;POINT (-40.363463 -2.794652)'))) / (select extract(epoch from '2026-06-27 04:09:20'::timestamp) - extract(epoch from '2026-06-27 04:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794646)'), GeomFromEWKT('SRID=4674;POINT (-40.363463 -2.794652)'))) / (select extract(epoch from '2026-06-27 04:09:20'::timestamp) - extract(epoch from '2026-06-27 04:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363455 -2.794681)', '2026-06-27 04:09:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363463 -2.794652)'), GeomFromEWKT('SRID=4674;POINT (-40.363455 -2.794681)'))) / (select extract(epoch from '2026-06-27 04:09:41'::timestamp) - extract(epoch from '2026-06-27 04:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363463 -2.794652)'), GeomFromEWKT('SRID=4674;POINT (-40.363455 -2.794681)'))) / (select extract(epoch from '2026-06-27 04:09:41'::timestamp) - extract(epoch from '2026-06-27 04:09:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363471 -2.794661)', '2026-06-27 04:09:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363455 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794661)'))) / (select extract(epoch from '2026-06-27 04:09:56'::timestamp) - extract(epoch from '2026-06-27 04:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363455 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794661)'))) / (select extract(epoch from '2026-06-27 04:09:56'::timestamp) - extract(epoch from '2026-06-27 04:09: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'), 46710, 'SRID=4674;POINT (-40.363477 -2.794649)', '2026-06-27 04:10:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794661)'), GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794649)'))) / (select extract(epoch from '2026-06-27 04:10:09'::timestamp) - extract(epoch from '2026-06-27 04:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794661)'), GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794649)'))) / (select extract(epoch from '2026-06-27 04:10:09'::timestamp) - extract(epoch from '2026-06-27 04:09: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'), 46710, 'SRID=4674;POINT (-40.363479 -2.794647)', '2026-06-27 04:10:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794649)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794647)'))) / (select extract(epoch from '2026-06-27 04:10:23'::timestamp) - extract(epoch from '2026-06-27 04:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794649)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794647)'))) / (select extract(epoch from '2026-06-27 04:10:23'::timestamp) - extract(epoch from '2026-06-27 04:10: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'), 46710, 'SRID=4674;POINT (-40.363474 -2.794659)', '2026-06-27 04:10:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794647)'), GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794659)'))) / (select extract(epoch from '2026-06-27 04:10:41'::timestamp) - extract(epoch from '2026-06-27 04:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794647)'), GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794659)'))) / (select extract(epoch from '2026-06-27 04:10:41'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363471 -2.794657)', '2026-06-27 04:10:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794659)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794657)'))) / (select extract(epoch from '2026-06-27 04:10:59'::timestamp) - extract(epoch from '2026-06-27 04:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794659)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794657)'))) / (select extract(epoch from '2026-06-27 04:10:59'::timestamp) - extract(epoch from '2026-06-27 04:10: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'), 46710, 'SRID=4674;POINT (-40.363476 -2.794658)', '2026-06-27 04:11:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794658)'))) / (select extract(epoch from '2026-06-27 04:11:09'::timestamp) - extract(epoch from '2026-06-27 04:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794658)'))) / (select extract(epoch from '2026-06-27 04:11:09'::timestamp) - extract(epoch from '2026-06-27 04:10: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'), 46710, 'SRID=4674;POINT (-40.363471 -2.794677)', '2026-06-27 04:11:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794677)'))) / (select extract(epoch from '2026-06-27 04:11:24'::timestamp) - extract(epoch from '2026-06-27 04:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794677)'))) / (select extract(epoch from '2026-06-27 04:11:24'::timestamp) - extract(epoch from '2026-06-27 04:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363478 -2.794676)', '2026-06-27 04:11:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794676)'))) / (select extract(epoch from '2026-06-27 04:11:41'::timestamp) - extract(epoch from '2026-06-27 04:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794676)'))) / (select extract(epoch from '2026-06-27 04:11:41'::timestamp) - extract(epoch from '2026-06-27 04:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363474 -2.794663)', '2026-06-27 04:11:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794663)'))) / (select extract(epoch from '2026-06-27 04:11:50'::timestamp) - extract(epoch from '2026-06-27 04:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794663)'))) / (select extract(epoch from '2026-06-27 04:11:50'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363478 -2.794648)', '2026-06-27 04:12:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794663)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794648)'))) / (select extract(epoch from '2026-06-27 04:12:02'::timestamp) - extract(epoch from '2026-06-27 04:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794663)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794648)'))) / (select extract(epoch from '2026-06-27 04:12:02'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.36348 -2.794653)', '2026-06-27 04:12:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794648)'), GeomFromEWKT('SRID=4674;POINT (-40.36348 -2.794653)'))) / (select extract(epoch from '2026-06-27 04:12:17'::timestamp) - extract(epoch from '2026-06-27 04:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794648)'), GeomFromEWKT('SRID=4674;POINT (-40.36348 -2.794653)'))) / (select extract(epoch from '2026-06-27 04:12:17'::timestamp) - extract(epoch from '2026-06-27 04:12:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363472 -2.794671)', '2026-06-27 04:12:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36348 -2.794653)'), GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794671)'))) / (select extract(epoch from '2026-06-27 04:12:30'::timestamp) - extract(epoch from '2026-06-27 04:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36348 -2.794653)'), GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794671)'))) / (select extract(epoch from '2026-06-27 04:12:30'::timestamp) - extract(epoch from '2026-06-27 04:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363473 -2.794667)', '2026-06-27 04:12:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794671)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794667)'))) / (select extract(epoch from '2026-06-27 04:12:49'::timestamp) - extract(epoch from '2026-06-27 04:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794671)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794667)'))) / (select extract(epoch from '2026-06-27 04:12:49'::timestamp) - extract(epoch from '2026-06-27 04:12: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'), 46710, 'SRID=4674;POINT (-40.363473 -2.794654)', '2026-06-27 04:12:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794667)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794654)'))) / (select extract(epoch from '2026-06-27 04:12:59'::timestamp) - extract(epoch from '2026-06-27 04:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794667)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794654)'))) / (select extract(epoch from '2026-06-27 04:12:59'::timestamp) - extract(epoch from '2026-06-27 04:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363471 -2.794654)', '2026-06-27 04:13:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794654)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794654)'))) / (select extract(epoch from '2026-06-27 04:13:10'::timestamp) - extract(epoch from '2026-06-27 04:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794654)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794654)'))) / (select extract(epoch from '2026-06-27 04:13:10'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363473 -2.794652)', '2026-06-27 04:13:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794654)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794652)'))) / (select extract(epoch from '2026-06-27 04:13:26'::timestamp) - extract(epoch from '2026-06-27 04:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794654)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794652)'))) / (select extract(epoch from '2026-06-27 04:13:26'::timestamp) - extract(epoch from '2026-06-27 04:13: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'), 46710, 'SRID=4674;POINT (-40.363464 -2.794669)', '2026-06-27 04:13:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794652)'), GeomFromEWKT('SRID=4674;POINT (-40.363464 -2.794669)'))) / (select extract(epoch from '2026-06-27 04:13:42'::timestamp) - extract(epoch from '2026-06-27 04:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794652)'), GeomFromEWKT('SRID=4674;POINT (-40.363464 -2.794669)'))) / (select extract(epoch from '2026-06-27 04:13:42'::timestamp) - extract(epoch from '2026-06-27 04:13: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'), 46710, 'SRID=4674;POINT (-40.363466 -2.794653)', '2026-06-27 04:13:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363464 -2.794669)'), GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794653)'))) / (select extract(epoch from '2026-06-27 04:13:55'::timestamp) - extract(epoch from '2026-06-27 04:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363464 -2.794669)'), GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794653)'))) / (select extract(epoch from '2026-06-27 04:13:55'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363468 -2.794643)', '2026-06-27 04:14:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794653)'), GeomFromEWKT('SRID=4674;POINT (-40.363468 -2.794643)'))) / (select extract(epoch from '2026-06-27 04:14:06'::timestamp) - extract(epoch from '2026-06-27 04:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794653)'), GeomFromEWKT('SRID=4674;POINT (-40.363468 -2.794643)'))) / (select extract(epoch from '2026-06-27 04:14:06'::timestamp) - extract(epoch from '2026-06-27 04:13: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'), 46710, 'SRID=4674;POINT (-40.363469 -2.794645)', '2026-06-27 04:14:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363468 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.363469 -2.794645)'))) / (select extract(epoch from '2026-06-27 04:14:20'::timestamp) - extract(epoch from '2026-06-27 04:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363468 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.363469 -2.794645)'))) / (select extract(epoch from '2026-06-27 04:14:20'::timestamp) - extract(epoch from '2026-06-27 04:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.36347 -2.794647)', '2026-06-27 04:14:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363469 -2.794645)'), GeomFromEWKT('SRID=4674;POINT (-40.36347 -2.794647)'))) / (select extract(epoch from '2026-06-27 04:14:31'::timestamp) - extract(epoch from '2026-06-27 04:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363469 -2.794645)'), GeomFromEWKT('SRID=4674;POINT (-40.36347 -2.794647)'))) / (select extract(epoch from '2026-06-27 04:14:31'::timestamp) - extract(epoch from '2026-06-27 04:14: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'), 46710, 'SRID=4674;POINT (-40.363472 -2.79466)', '2026-06-27 04:14:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36347 -2.794647)'), GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.79466)'))) / (select extract(epoch from '2026-06-27 04:14:44'::timestamp) - extract(epoch from '2026-06-27 04:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36347 -2.794647)'), GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.79466)'))) / (select extract(epoch from '2026-06-27 04:14:44'::timestamp) - extract(epoch from '2026-06-27 04:14:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363473 -2.794667)', '2026-06-27 04:15:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.79466)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794667)'))) / (select extract(epoch from '2026-06-27 04:15:00'::timestamp) - extract(epoch from '2026-06-27 04:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.79466)'), GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794667)'))) / (select extract(epoch from '2026-06-27 04:15:00'::timestamp) - extract(epoch from '2026-06-27 04:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363466 -2.794655)', '2026-06-27 04:15:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794667)'), GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794655)'))) / (select extract(epoch from '2026-06-27 04:15:16'::timestamp) - extract(epoch from '2026-06-27 04:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363473 -2.794667)'), GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794655)'))) / (select extract(epoch from '2026-06-27 04:15:16'::timestamp) - extract(epoch from '2026-06-27 04:15: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'), 46710, 'SRID=4674;POINT (-40.363469 -2.794656)', '2026-06-27 04:15:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.363469 -2.794656)'))) / (select extract(epoch from '2026-06-27 04:15:32'::timestamp) - extract(epoch from '2026-06-27 04:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.363469 -2.794656)'))) / (select extract(epoch from '2026-06-27 04:15:32'::timestamp) - extract(epoch from '2026-06-27 04:15: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'), 46710, 'SRID=4674;POINT (-40.363472 -2.794661)', '2026-06-27 04:15:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363469 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794661)'))) / (select extract(epoch from '2026-06-27 04:15:46'::timestamp) - extract(epoch from '2026-06-27 04:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363469 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794661)'))) / (select extract(epoch from '2026-06-27 04:15:46'::timestamp) - extract(epoch from '2026-06-27 04:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363477 -2.794658)', '2026-06-27 04:16:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794661)'), GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794658)'))) / (select extract(epoch from '2026-06-27 04:16:04'::timestamp) - extract(epoch from '2026-06-27 04:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363472 -2.794661)'), GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794658)'))) / (select extract(epoch from '2026-06-27 04:16:04'::timestamp) - extract(epoch from '2026-06-27 04:15:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363478 -2.794664)', '2026-06-27 04:16:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:16:25'::timestamp) - extract(epoch from '2026-06-27 04:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:16:25'::timestamp) - extract(epoch from '2026-06-27 04:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363474 -2.794679)', '2026-06-27 04:16:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794679)'))) / (select extract(epoch from '2026-06-27 04:16:41'::timestamp) - extract(epoch from '2026-06-27 04:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363478 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794679)'))) / (select extract(epoch from '2026-06-27 04:16:41'::timestamp) - extract(epoch from '2026-06-27 04:16: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'), 46710, 'SRID=4674;POINT (-40.363476 -2.794672)', '2026-06-27 04:16:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794679)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794672)'))) / (select extract(epoch from '2026-06-27 04:16:57'::timestamp) - extract(epoch from '2026-06-27 04:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363474 -2.794679)'), GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794672)'))) / (select extract(epoch from '2026-06-27 04:16:57'::timestamp) - extract(epoch from '2026-06-27 04:16:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363477 -2.794665)', '2026-06-27 04:17:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794672)'), GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794665)'))) / (select extract(epoch from '2026-06-27 04:17:06'::timestamp) - extract(epoch from '2026-06-27 04:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363476 -2.794672)'), GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794665)'))) / (select extract(epoch from '2026-06-27 04:17:06'::timestamp) - extract(epoch from '2026-06-27 04:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363477 -2.794667)', '2026-06-27 04:17:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794665)'), GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794667)'))) / (select extract(epoch from '2026-06-27 04:17:23'::timestamp) - extract(epoch from '2026-06-27 04:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794665)'), GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794667)'))) / (select extract(epoch from '2026-06-27 04:17:23'::timestamp) - extract(epoch from '2026-06-27 04:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363489 -2.794679)', '2026-06-27 04:17:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794667)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794679)'))) / (select extract(epoch from '2026-06-27 04:17:40'::timestamp) - extract(epoch from '2026-06-27 04:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363477 -2.794667)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794679)'))) / (select extract(epoch from '2026-06-27 04:17:40'::timestamp) - extract(epoch from '2026-06-27 04:17: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'), 46710, 'SRID=4674;POINT (-40.363492 -2.794693)', '2026-06-27 04:17:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794679)'), GeomFromEWKT('SRID=4674;POINT (-40.363492 -2.794693)'))) / (select extract(epoch from '2026-06-27 04:17:53'::timestamp) - extract(epoch from '2026-06-27 04:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794679)'), GeomFromEWKT('SRID=4674;POINT (-40.363492 -2.794693)'))) / (select extract(epoch from '2026-06-27 04:17:53'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363499 -2.794692)', '2026-06-27 04:18:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363492 -2.794693)'), GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794692)'))) / (select extract(epoch from '2026-06-27 04:18:07'::timestamp) - extract(epoch from '2026-06-27 04:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363492 -2.794693)'), GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794692)'))) / (select extract(epoch from '2026-06-27 04:18:07'::timestamp) - extract(epoch from '2026-06-27 04:17: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'), 46710, 'SRID=4674;POINT (-40.363499 -2.794681)', '2026-06-27 04:18:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794681)'))) / (select extract(epoch from '2026-06-27 04:18:23'::timestamp) - extract(epoch from '2026-06-27 04:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794681)'))) / (select extract(epoch from '2026-06-27 04:18:23'::timestamp) - extract(epoch from '2026-06-27 04:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363494 -2.79468)', '2026-06-27 04:18:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.79468)'))) / (select extract(epoch from '2026-06-27 04:18:37'::timestamp) - extract(epoch from '2026-06-27 04:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.79468)'))) / (select extract(epoch from '2026-06-27 04:18:37'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363499 -2.79469)', '2026-06-27 04:18:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.79469)'))) / (select extract(epoch from '2026-06-27 04:18:55'::timestamp) - extract(epoch from '2026-06-27 04:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.79469)'))) / (select extract(epoch from '2026-06-27 04:18:55'::timestamp) - extract(epoch from '2026-06-27 04:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363503 -2.794689)', '2026-06-27 04:19:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.363503 -2.794689)'))) / (select extract(epoch from '2026-06-27 04:19:07'::timestamp) - extract(epoch from '2026-06-27 04:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.363503 -2.794689)'))) / (select extract(epoch from '2026-06-27 04:19:07'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363495 -2.79467)', '2026-06-27 04:19:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363503 -2.794689)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.79467)'))) / (select extract(epoch from '2026-06-27 04:19:24'::timestamp) - extract(epoch from '2026-06-27 04:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363503 -2.794689)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.79467)'))) / (select extract(epoch from '2026-06-27 04:19:24'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363484 -2.794663)', '2026-06-27 04:19:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.79467)'), GeomFromEWKT('SRID=4674;POINT (-40.363484 -2.794663)'))) / (select extract(epoch from '2026-06-27 04:19:35'::timestamp) - extract(epoch from '2026-06-27 04:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.79467)'), GeomFromEWKT('SRID=4674;POINT (-40.363484 -2.794663)'))) / (select extract(epoch from '2026-06-27 04:19:35'::timestamp) - extract(epoch from '2026-06-27 04:19: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'), 46710, 'SRID=4674;POINT (-40.363491 -2.794664)', '2026-06-27 04:19:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363484 -2.794663)'), GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:19:50'::timestamp) - extract(epoch from '2026-06-27 04:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363484 -2.794663)'), GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:19:50'::timestamp) - extract(epoch from '2026-06-27 04:19:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363494 -2.794678)', '2026-06-27 04:20:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794678)'))) / (select extract(epoch from '2026-06-27 04:20:08'::timestamp) - extract(epoch from '2026-06-27 04:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363491 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794678)'))) / (select extract(epoch from '2026-06-27 04:20:08'::timestamp) - extract(epoch from '2026-06-27 04:19: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'), 46710, 'SRID=4674;POINT (-40.363489 -2.794668)', '2026-06-27 04:20:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794668)'))) / (select extract(epoch from '2026-06-27 04:20:32'::timestamp) - extract(epoch from '2026-06-27 04:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363494 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794668)'))) / (select extract(epoch from '2026-06-27 04:20:32'::timestamp) - extract(epoch from '2026-06-27 04:20: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'), 46710, 'SRID=4674;POINT (-40.363479 -2.794664)', '2026-06-27 04:20:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794668)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:20:43'::timestamp) - extract(epoch from '2026-06-27 04:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794668)'), GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:20:43'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363466 -2.794678)', '2026-06-27 04:20:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794678)'))) / (select extract(epoch from '2026-06-27 04:20:54'::timestamp) - extract(epoch from '2026-06-27 04:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363479 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794678)'))) / (select extract(epoch from '2026-06-27 04:20:54'::timestamp) - extract(epoch from '2026-06-27 04:20:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363471 -2.794676)', '2026-06-27 04:21:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794676)'))) / (select extract(epoch from '2026-06-27 04:21:09'::timestamp) - extract(epoch from '2026-06-27 04:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363466 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794676)'))) / (select extract(epoch from '2026-06-27 04:21:09'::timestamp) - extract(epoch from '2026-06-27 04:20: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'), 46710, 'SRID=4674;POINT (-40.363488 -2.794669)', '2026-06-27 04:21:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.363488 -2.794669)'))) / (select extract(epoch from '2026-06-27 04:21:19'::timestamp) - extract(epoch from '2026-06-27 04:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363471 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.363488 -2.794669)'))) / (select extract(epoch from '2026-06-27 04:21:19'::timestamp) - extract(epoch from '2026-06-27 04:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363508 -2.794664)', '2026-06-27 04:21:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363488 -2.794669)'), GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:21:28'::timestamp) - extract(epoch from '2026-06-27 04:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363488 -2.794669)'), GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.794664)'))) / (select extract(epoch from '2026-06-27 04:21:28'::timestamp) - extract(epoch from '2026-06-27 04: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'), 46710, 'SRID=4674;POINT (-40.363516 -2.794679)', '2026-06-27 04:21:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363516 -2.794679)'))) / (select extract(epoch from '2026-06-27 04:21:40'::timestamp) - extract(epoch from '2026-06-27 04:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363508 -2.794664)'), GeomFromEWKT('SRID=4674;POINT (-40.363516 -2.794679)'))) / (select extract(epoch from '2026-06-27 04:21:40'::timestamp) - extract(epoch from '2026-06-27 04:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363517 -2.794683)', '2026-06-27 04:21:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363516 -2.794679)'), GeomFromEWKT('SRID=4674;POINT (-40.363517 -2.794683)'))) / (select extract(epoch from '2026-06-27 04:21:54'::timestamp) - extract(epoch from '2026-06-27 04:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363516 -2.794679)'), GeomFromEWKT('SRID=4674;POINT (-40.363517 -2.794683)'))) / (select extract(epoch from '2026-06-27 04:21:54'::timestamp) - extract(epoch from '2026-06-27 04:21: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'), 46710, 'SRID=4674;POINT (-40.36351 -2.79468)', '2026-06-27 04:22:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363517 -2.794683)'), GeomFromEWKT('SRID=4674;POINT (-40.36351 -2.79468)'))) / (select extract(epoch from '2026-06-27 04:22:11'::timestamp) - extract(epoch from '2026-06-27 04:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363517 -2.794683)'), GeomFromEWKT('SRID=4674;POINT (-40.36351 -2.79468)'))) / (select extract(epoch from '2026-06-27 04:22:11'::timestamp) - extract(epoch from '2026-06-27 04:21: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'), 46710, 'SRID=4674;POINT (-40.363499 -2.794675)', '2026-06-27 04:22:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36351 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794675)'))) / (select extract(epoch from '2026-06-27 04:22:18'::timestamp) - extract(epoch from '2026-06-27 04:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36351 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794675)'))) / (select extract(epoch from '2026-06-27 04:22:18'::timestamp) - extract(epoch from '2026-06-27 04:22: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'), 46710, 'SRID=4674;POINT (-40.363496 -2.794673)', '2026-06-27 04:22:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794675)'), GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.794673)'))) / (select extract(epoch from '2026-06-27 04:22:30'::timestamp) - extract(epoch from '2026-06-27 04:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363499 -2.794675)'), GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.794673)'))) / (select extract(epoch from '2026-06-27 04:22:30'::timestamp) - extract(epoch from '2026-06-27 04:22: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'), 46710, 'SRID=4674;POINT (-40.3635 -2.794683)', '2026-06-27 04:22:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.794683)'))) / (select extract(epoch from '2026-06-27 04:22:53'::timestamp) - extract(epoch from '2026-06-27 04:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363496 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.794683)'))) / (select extract(epoch from '2026-06-27 04:22:53'::timestamp) - extract(epoch from '2026-06-27 04:22: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'), 46710, 'SRID=4674;POINT (-40.363498 -2.794686)', '2026-06-27 04:23:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.794683)'), GeomFromEWKT('SRID=4674;POINT (-40.363498 -2.794686)'))) / (select extract(epoch from '2026-06-27 04:23:03'::timestamp) - extract(epoch from '2026-06-27 04:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.794683)'), GeomFromEWKT('SRID=4674;POINT (-40.363498 -2.794686)'))) / (select extract(epoch from '2026-06-27 04:23:03'::timestamp) - extract(epoch from '2026-06-27 04:22: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'), 46710, 'SRID=4674;POINT (-40.36349 -2.794691)', '2026-06-27 04:23:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363498 -2.794686)'), GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794691)'))) / (select extract(epoch from '2026-06-27 04:23:15'::timestamp) - extract(epoch from '2026-06-27 04:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363498 -2.794686)'), GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794691)'))) / (select extract(epoch from '2026-06-27 04:23:15'::timestamp) - extract(epoch from '2026-06-27 04:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363497 -2.79468)', '2026-06-27 04:23:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794691)'), GeomFromEWKT('SRID=4674;POINT (-40.363497 -2.79468)'))) / (select extract(epoch from '2026-06-27 04:23:23'::timestamp) - extract(epoch from '2026-06-27 04:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36349 -2.794691)'), GeomFromEWKT('SRID=4674;POINT (-40.363497 -2.79468)'))) / (select extract(epoch from '2026-06-27 04:23:23'::timestamp) - extract(epoch from '2026-06-27 04:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363493 -2.794673)', '2026-06-27 04:23:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363497 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794673)'))) / (select extract(epoch from '2026-06-27 04:23:37'::timestamp) - extract(epoch from '2026-06-27 04:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363497 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794673)'))) / (select extract(epoch from '2026-06-27 04:23:37'::timestamp) - extract(epoch from '2026-06-27 04:23: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'), 46710, 'SRID=4674;POINT (-40.363489 -2.794678)', '2026-06-27 04:23:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794678)'))) / (select extract(epoch from '2026-06-27 04:23:51'::timestamp) - extract(epoch from '2026-06-27 04:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363493 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794678)'))) / (select extract(epoch from '2026-06-27 04:23:51'::timestamp) - extract(epoch from '2026-06-27 04:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46710, 'SRID=4674;POINT (-40.363485 -2.794673)', '2026-06-27 04:24:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.794673)'))) / (select extract(epoch from '2026-06-27 04:24:08'::timestamp) - extract(epoch from '2026-06-27 04:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.363485 -2.794673)'))) / (select extract(epoch from '2026-06-27 04:24:08'::timestamp) - extract(epoch from '2026-06-27 04:23:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
