 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.139387 -2.826196)', '2026-07-20 19:11:50', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139472 -2.826111)'), GeomFromEWKT('SRID=4674;POINT (-40.139387 -2.826196)'))) / (select extract(epoch from '2026-07-20 19:11:50'::timestamp) - extract(epoch from '2026-07-20 19:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139472 -2.826111)'), GeomFromEWKT('SRID=4674;POINT (-40.139387 -2.826196)'))) / (select extract(epoch from '2026-07-20 19:11:50'::timestamp) - extract(epoch from '2026-07-20 19:11:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.139296 -2.8263)', '2026-07-20 19:11:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139387 -2.826196)'), GeomFromEWKT('SRID=4674;POINT (-40.139296 -2.8263)'))) / (select extract(epoch from '2026-07-20 19:11:59'::timestamp) - extract(epoch from '2026-07-20 19:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139387 -2.826196)'), GeomFromEWKT('SRID=4674;POINT (-40.139296 -2.8263)'))) / (select extract(epoch from '2026-07-20 19:11:59'::timestamp) - extract(epoch from '2026-07-20 19:11:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.139199 -2.82637)', '2026-07-20 19:12:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139296 -2.8263)'), GeomFromEWKT('SRID=4674;POINT (-40.139199 -2.82637)'))) / (select extract(epoch from '2026-07-20 19:12:08'::timestamp) - extract(epoch from '2026-07-20 19:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139296 -2.8263)'), GeomFromEWKT('SRID=4674;POINT (-40.139199 -2.82637)'))) / (select extract(epoch from '2026-07-20 19:12:08'::timestamp) - extract(epoch from '2026-07-20 19:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.139115 -2.826466)', '2026-07-20 19:12:17', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139199 -2.82637)'), GeomFromEWKT('SRID=4674;POINT (-40.139115 -2.826466)'))) / (select extract(epoch from '2026-07-20 19:12:17'::timestamp) - extract(epoch from '2026-07-20 19:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139199 -2.82637)'), GeomFromEWKT('SRID=4674;POINT (-40.139115 -2.826466)'))) / (select extract(epoch from '2026-07-20 19:12:17'::timestamp) - extract(epoch from '2026-07-20 19:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.139032 -2.826559)', '2026-07-20 19:12:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139115 -2.826466)'), GeomFromEWKT('SRID=4674;POINT (-40.139032 -2.826559)'))) / (select extract(epoch from '2026-07-20 19:12:25'::timestamp) - extract(epoch from '2026-07-20 19:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139115 -2.826466)'), GeomFromEWKT('SRID=4674;POINT (-40.139032 -2.826559)'))) / (select extract(epoch from '2026-07-20 19:12:25'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.138931 -2.826642)', '2026-07-20 19:12:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139032 -2.826559)'), GeomFromEWKT('SRID=4674;POINT (-40.138931 -2.826642)'))) / (select extract(epoch from '2026-07-20 19:12:34'::timestamp) - extract(epoch from '2026-07-20 19:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139032 -2.826559)'), GeomFromEWKT('SRID=4674;POINT (-40.138931 -2.826642)'))) / (select extract(epoch from '2026-07-20 19:12:34'::timestamp) - extract(epoch from '2026-07-20 19:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.138842 -2.826702)', '2026-07-20 19:12:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138931 -2.826642)'), GeomFromEWKT('SRID=4674;POINT (-40.138842 -2.826702)'))) / (select extract(epoch from '2026-07-20 19:12:41'::timestamp) - extract(epoch from '2026-07-20 19:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138931 -2.826642)'), GeomFromEWKT('SRID=4674;POINT (-40.138842 -2.826702)'))) / (select extract(epoch from '2026-07-20 19:12:41'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.138773 -2.826787)', '2026-07-20 19:12:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138842 -2.826702)'), GeomFromEWKT('SRID=4674;POINT (-40.138773 -2.826787)'))) / (select extract(epoch from '2026-07-20 19:12:48'::timestamp) - extract(epoch from '2026-07-20 19:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138842 -2.826702)'), GeomFromEWKT('SRID=4674;POINT (-40.138773 -2.826787)'))) / (select extract(epoch from '2026-07-20 19:12:48'::timestamp) - extract(epoch from '2026-07-20 19:12:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.138639 -2.82687)', '2026-07-20 19:12:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138773 -2.826787)'), GeomFromEWKT('SRID=4674;POINT (-40.138639 -2.82687)'))) / (select extract(epoch from '2026-07-20 19:12:57'::timestamp) - extract(epoch from '2026-07-20 19:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138773 -2.826787)'), GeomFromEWKT('SRID=4674;POINT (-40.138639 -2.82687)'))) / (select extract(epoch from '2026-07-20 19:12:57'::timestamp) - extract(epoch from '2026-07-20 19:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.1385 -2.826953)', '2026-07-20 19:13:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138639 -2.82687)'), GeomFromEWKT('SRID=4674;POINT (-40.1385 -2.826953)'))) / (select extract(epoch from '2026-07-20 19:13:06'::timestamp) - extract(epoch from '2026-07-20 19:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138639 -2.82687)'), GeomFromEWKT('SRID=4674;POINT (-40.1385 -2.826953)'))) / (select extract(epoch from '2026-07-20 19:13:06'::timestamp) - extract(epoch from '2026-07-20 19:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.138334 -2.827046)', '2026-07-20 19:13:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1385 -2.826953)'), GeomFromEWKT('SRID=4674;POINT (-40.138334 -2.827046)'))) / (select extract(epoch from '2026-07-20 19:13:16'::timestamp) - extract(epoch from '2026-07-20 19:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1385 -2.826953)'), GeomFromEWKT('SRID=4674;POINT (-40.138334 -2.827046)'))) / (select extract(epoch from '2026-07-20 19:13:16'::timestamp) - extract(epoch from '2026-07-20 19:13:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.138184 -2.827123)', '2026-07-20 19:13:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138334 -2.827046)'), GeomFromEWKT('SRID=4674;POINT (-40.138184 -2.827123)'))) / (select extract(epoch from '2026-07-20 19:13:25'::timestamp) - extract(epoch from '2026-07-20 19:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138334 -2.827046)'), GeomFromEWKT('SRID=4674;POINT (-40.138184 -2.827123)'))) / (select extract(epoch from '2026-07-20 19:13:25'::timestamp) - extract(epoch from '2026-07-20 19:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.13806 -2.827195)', '2026-07-20 19:13:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138184 -2.827123)'), GeomFromEWKT('SRID=4674;POINT (-40.13806 -2.827195)'))) / (select extract(epoch from '2026-07-20 19:13:33'::timestamp) - extract(epoch from '2026-07-20 19:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138184 -2.827123)'), GeomFromEWKT('SRID=4674;POINT (-40.13806 -2.827195)'))) / (select extract(epoch from '2026-07-20 19:13:33'::timestamp) - extract(epoch from '2026-07-20 19:13:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137902 -2.827257)', '2026-07-20 19:13:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13806 -2.827195)'), GeomFromEWKT('SRID=4674;POINT (-40.137902 -2.827257)'))) / (select extract(epoch from '2026-07-20 19:13:42'::timestamp) - extract(epoch from '2026-07-20 19:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13806 -2.827195)'), GeomFromEWKT('SRID=4674;POINT (-40.137902 -2.827257)'))) / (select extract(epoch from '2026-07-20 19:13:42'::timestamp) - extract(epoch from '2026-07-20 19:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137766 -2.827288)', '2026-07-20 19:13:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137902 -2.827257)'), GeomFromEWKT('SRID=4674;POINT (-40.137766 -2.827288)'))) / (select extract(epoch from '2026-07-20 19:13:49'::timestamp) - extract(epoch from '2026-07-20 19:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137902 -2.827257)'), GeomFromEWKT('SRID=4674;POINT (-40.137766 -2.827288)'))) / (select extract(epoch from '2026-07-20 19:13:49'::timestamp) - extract(epoch from '2026-07-20 19:13:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.13763 -2.827319)', '2026-07-20 19:13:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137766 -2.827288)'), GeomFromEWKT('SRID=4674;POINT (-40.13763 -2.827319)'))) / (select extract(epoch from '2026-07-20 19:13:56'::timestamp) - extract(epoch from '2026-07-20 19:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137766 -2.827288)'), GeomFromEWKT('SRID=4674;POINT (-40.13763 -2.827319)'))) / (select extract(epoch from '2026-07-20 19:13:56'::timestamp) - extract(epoch from '2026-07-20 19:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137505 -2.827345)', '2026-07-20 19:14:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13763 -2.827319)'), GeomFromEWKT('SRID=4674;POINT (-40.137505 -2.827345)'))) / (select extract(epoch from '2026-07-20 19:14:04'::timestamp) - extract(epoch from '2026-07-20 19:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13763 -2.827319)'), GeomFromEWKT('SRID=4674;POINT (-40.137505 -2.827345)'))) / (select extract(epoch from '2026-07-20 19:14:04'::timestamp) - extract(epoch from '2026-07-20 19:13:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137327 -2.827351)', '2026-07-20 19:14:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137505 -2.827345)'), GeomFromEWKT('SRID=4674;POINT (-40.137327 -2.827351)'))) / (select extract(epoch from '2026-07-20 19:14:14'::timestamp) - extract(epoch from '2026-07-20 19:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137505 -2.827345)'), GeomFromEWKT('SRID=4674;POINT (-40.137327 -2.827351)'))) / (select extract(epoch from '2026-07-20 19:14:14'::timestamp) - extract(epoch from '2026-07-20 19:14:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137161 -2.827348)', '2026-07-20 19:14:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137327 -2.827351)'), GeomFromEWKT('SRID=4674;POINT (-40.137161 -2.827348)'))) / (select extract(epoch from '2026-07-20 19:14:23'::timestamp) - extract(epoch from '2026-07-20 19:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137327 -2.827351)'), GeomFromEWKT('SRID=4674;POINT (-40.137161 -2.827348)'))) / (select extract(epoch from '2026-07-20 19:14:23'::timestamp) - extract(epoch from '2026-07-20 19:14:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137018 -2.82734)', '2026-07-20 19:14:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137161 -2.827348)'), GeomFromEWKT('SRID=4674;POINT (-40.137018 -2.82734)'))) / (select extract(epoch from '2026-07-20 19:14:30'::timestamp) - extract(epoch from '2026-07-20 19:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137161 -2.827348)'), GeomFromEWKT('SRID=4674;POINT (-40.137018 -2.82734)'))) / (select extract(epoch from '2026-07-20 19:14:30'::timestamp) - extract(epoch from '2026-07-20 19:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.136835 -2.827325)', '2026-07-20 19:14:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137018 -2.82734)'), GeomFromEWKT('SRID=4674;POINT (-40.136835 -2.827325)'))) / (select extract(epoch from '2026-07-20 19:14:39'::timestamp) - extract(epoch from '2026-07-20 19:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137018 -2.82734)'), GeomFromEWKT('SRID=4674;POINT (-40.136835 -2.827325)'))) / (select extract(epoch from '2026-07-20 19:14:39'::timestamp) - extract(epoch from '2026-07-20 19:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.136634 -2.827299)', '2026-07-20 19:14:49', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136835 -2.827325)'), GeomFromEWKT('SRID=4674;POINT (-40.136634 -2.827299)'))) / (select extract(epoch from '2026-07-20 19:14:49'::timestamp) - extract(epoch from '2026-07-20 19:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136835 -2.827325)'), GeomFromEWKT('SRID=4674;POINT (-40.136634 -2.827299)'))) / (select extract(epoch from '2026-07-20 19:14:49'::timestamp) - extract(epoch from '2026-07-20 19:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.136461 -2.82725)', '2026-07-20 19:14:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136634 -2.827299)'), GeomFromEWKT('SRID=4674;POINT (-40.136461 -2.82725)'))) / (select extract(epoch from '2026-07-20 19:14:57'::timestamp) - extract(epoch from '2026-07-20 19:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136634 -2.827299)'), GeomFromEWKT('SRID=4674;POINT (-40.136461 -2.82725)'))) / (select extract(epoch from '2026-07-20 19:14:57'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.136297 -2.827197)', '2026-07-20 19:15:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136461 -2.82725)'), GeomFromEWKT('SRID=4674;POINT (-40.136297 -2.827197)'))) / (select extract(epoch from '2026-07-20 19:15:06'::timestamp) - extract(epoch from '2026-07-20 19:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136461 -2.82725)'), GeomFromEWKT('SRID=4674;POINT (-40.136297 -2.827197)'))) / (select extract(epoch from '2026-07-20 19:15:06'::timestamp) - extract(epoch from '2026-07-20 19:14:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.136127 -2.827155)', '2026-07-20 19:15:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136297 -2.827197)'), GeomFromEWKT('SRID=4674;POINT (-40.136127 -2.827155)'))) / (select extract(epoch from '2026-07-20 19:15:15'::timestamp) - extract(epoch from '2026-07-20 19:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136297 -2.827197)'), GeomFromEWKT('SRID=4674;POINT (-40.136127 -2.827155)'))) / (select extract(epoch from '2026-07-20 19:15:15'::timestamp) - extract(epoch from '2026-07-20 19:15:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.13595 -2.827106)', '2026-07-20 19:15:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136127 -2.827155)'), GeomFromEWKT('SRID=4674;POINT (-40.13595 -2.827106)'))) / (select extract(epoch from '2026-07-20 19:15:24'::timestamp) - extract(epoch from '2026-07-20 19:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136127 -2.827155)'), GeomFromEWKT('SRID=4674;POINT (-40.13595 -2.827106)'))) / (select extract(epoch from '2026-07-20 19:15:24'::timestamp) - extract(epoch from '2026-07-20 19:15:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135793 -2.827066)', '2026-07-20 19:15:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13595 -2.827106)'), GeomFromEWKT('SRID=4674;POINT (-40.135793 -2.827066)'))) / (select extract(epoch from '2026-07-20 19:15:32'::timestamp) - extract(epoch from '2026-07-20 19:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13595 -2.827106)'), GeomFromEWKT('SRID=4674;POINT (-40.135793 -2.827066)'))) / (select extract(epoch from '2026-07-20 19:15:32'::timestamp) - extract(epoch from '2026-07-20 19:15:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135586 -2.827059)', '2026-07-20 19:15:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135793 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.135586 -2.827059)'))) / (select extract(epoch from '2026-07-20 19:15:42'::timestamp) - extract(epoch from '2026-07-20 19:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135793 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.135586 -2.827059)'))) / (select extract(epoch from '2026-07-20 19:15:42'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.135365 -2.827076)', '2026-07-20 19:15:52', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135586 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.827076)'))) / (select extract(epoch from '2026-07-20 19:15:52'::timestamp) - extract(epoch from '2026-07-20 19:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135586 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.827076)'))) / (select extract(epoch from '2026-07-20 19:15:52'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.135201 -2.827102)', '2026-07-20 19:16:00', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.827076)'), GeomFromEWKT('SRID=4674;POINT (-40.135201 -2.827102)'))) / (select extract(epoch from '2026-07-20 19:16:00'::timestamp) - extract(epoch from '2026-07-20 19:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135365 -2.827076)'), GeomFromEWKT('SRID=4674;POINT (-40.135201 -2.827102)'))) / (select extract(epoch from '2026-07-20 19:16:00'::timestamp) - extract(epoch from '2026-07-20 19:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135008 -2.827144)', '2026-07-20 19:16:09', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135201 -2.827102)'), GeomFromEWKT('SRID=4674;POINT (-40.135008 -2.827144)'))) / (select extract(epoch from '2026-07-20 19:16:09'::timestamp) - extract(epoch from '2026-07-20 19:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135201 -2.827102)'), GeomFromEWKT('SRID=4674;POINT (-40.135008 -2.827144)'))) / (select extract(epoch from '2026-07-20 19:16:09'::timestamp) - extract(epoch from '2026-07-20 19:16:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134836 -2.82716)', '2026-07-20 19:16:17', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135008 -2.827144)'), GeomFromEWKT('SRID=4674;POINT (-40.134836 -2.82716)'))) / (select extract(epoch from '2026-07-20 19:16:17'::timestamp) - extract(epoch from '2026-07-20 19:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135008 -2.827144)'), GeomFromEWKT('SRID=4674;POINT (-40.134836 -2.82716)'))) / (select extract(epoch from '2026-07-20 19:16:17'::timestamp) - extract(epoch from '2026-07-20 19:16:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.13468 -2.827234)', '2026-07-20 19:16:26', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134836 -2.82716)'), GeomFromEWKT('SRID=4674;POINT (-40.13468 -2.827234)'))) / (select extract(epoch from '2026-07-20 19:16:26'::timestamp) - extract(epoch from '2026-07-20 19:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134836 -2.82716)'), GeomFromEWKT('SRID=4674;POINT (-40.13468 -2.827234)'))) / (select extract(epoch from '2026-07-20 19:16:26'::timestamp) - extract(epoch from '2026-07-20 19:16:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134502 -2.827315)', '2026-07-20 19:16:35', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13468 -2.827234)'), GeomFromEWKT('SRID=4674;POINT (-40.134502 -2.827315)'))) / (select extract(epoch from '2026-07-20 19:16:35'::timestamp) - extract(epoch from '2026-07-20 19:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13468 -2.827234)'), GeomFromEWKT('SRID=4674;POINT (-40.134502 -2.827315)'))) / (select extract(epoch from '2026-07-20 19:16:35'::timestamp) - extract(epoch from '2026-07-20 19:16:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134368 -2.827471)', '2026-07-20 19:16:44', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134502 -2.827315)'), GeomFromEWKT('SRID=4674;POINT (-40.134368 -2.827471)'))) / (select extract(epoch from '2026-07-20 19:16:44'::timestamp) - extract(epoch from '2026-07-20 19:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134502 -2.827315)'), GeomFromEWKT('SRID=4674;POINT (-40.134368 -2.827471)'))) / (select extract(epoch from '2026-07-20 19:16:44'::timestamp) - extract(epoch from '2026-07-20 19:16:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134267 -2.827603)', '2026-07-20 19:16:52', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134368 -2.827471)'), GeomFromEWKT('SRID=4674;POINT (-40.134267 -2.827603)'))) / (select extract(epoch from '2026-07-20 19:16:52'::timestamp) - extract(epoch from '2026-07-20 19:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134368 -2.827471)'), GeomFromEWKT('SRID=4674;POINT (-40.134267 -2.827603)'))) / (select extract(epoch from '2026-07-20 19:16:52'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.134186 -2.827788)', '2026-07-20 19:17:01', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134267 -2.827603)'), GeomFromEWKT('SRID=4674;POINT (-40.134186 -2.827788)'))) / (select extract(epoch from '2026-07-20 19:17:01'::timestamp) - extract(epoch from '2026-07-20 19:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134267 -2.827603)'), GeomFromEWKT('SRID=4674;POINT (-40.134186 -2.827788)'))) / (select extract(epoch from '2026-07-20 19:17:01'::timestamp) - extract(epoch from '2026-07-20 19:16:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134103 -2.827975)', '2026-07-20 19:17:11', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134186 -2.827788)'), GeomFromEWKT('SRID=4674;POINT (-40.134103 -2.827975)'))) / (select extract(epoch from '2026-07-20 19:17:11'::timestamp) - extract(epoch from '2026-07-20 19:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134186 -2.827788)'), GeomFromEWKT('SRID=4674;POINT (-40.134103 -2.827975)'))) / (select extract(epoch from '2026-07-20 19:17:11'::timestamp) - extract(epoch from '2026-07-20 19:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134042 -2.828175)', '2026-07-20 19:17:20', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134103 -2.827975)'), GeomFromEWKT('SRID=4674;POINT (-40.134042 -2.828175)'))) / (select extract(epoch from '2026-07-20 19:17:20'::timestamp) - extract(epoch from '2026-07-20 19:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134103 -2.827975)'), GeomFromEWKT('SRID=4674;POINT (-40.134042 -2.828175)'))) / (select extract(epoch from '2026-07-20 19:17:20'::timestamp) - extract(epoch from '2026-07-20 19:17:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133991 -2.828371)', '2026-07-20 19:17:29', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134042 -2.828175)'), GeomFromEWKT('SRID=4674;POINT (-40.133991 -2.828371)'))) / (select extract(epoch from '2026-07-20 19:17:29'::timestamp) - extract(epoch from '2026-07-20 19:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134042 -2.828175)'), GeomFromEWKT('SRID=4674;POINT (-40.133991 -2.828371)'))) / (select extract(epoch from '2026-07-20 19:17:29'::timestamp) - extract(epoch from '2026-07-20 19:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133939 -2.82851)', '2026-07-20 19:17:36', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133991 -2.828371)'), GeomFromEWKT('SRID=4674;POINT (-40.133939 -2.82851)'))) / (select extract(epoch from '2026-07-20 19:17:36'::timestamp) - extract(epoch from '2026-07-20 19:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133991 -2.828371)'), GeomFromEWKT('SRID=4674;POINT (-40.133939 -2.82851)'))) / (select extract(epoch from '2026-07-20 19:17:36'::timestamp) - extract(epoch from '2026-07-20 19:17:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133848 -2.828699)', '2026-07-20 19:17:45', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133939 -2.82851)'), GeomFromEWKT('SRID=4674;POINT (-40.133848 -2.828699)'))) / (select extract(epoch from '2026-07-20 19:17:45'::timestamp) - extract(epoch from '2026-07-20 19:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133939 -2.82851)'), GeomFromEWKT('SRID=4674;POINT (-40.133848 -2.828699)'))) / (select extract(epoch from '2026-07-20 19:17:45'::timestamp) - extract(epoch from '2026-07-20 19:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133711 -2.828892)', '2026-07-20 19:17:56', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133848 -2.828699)'), GeomFromEWKT('SRID=4674;POINT (-40.133711 -2.828892)'))) / (select extract(epoch from '2026-07-20 19:17:56'::timestamp) - extract(epoch from '2026-07-20 19:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133848 -2.828699)'), GeomFromEWKT('SRID=4674;POINT (-40.133711 -2.828892)'))) / (select extract(epoch from '2026-07-20 19:17:56'::timestamp) - extract(epoch from '2026-07-20 19:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.1336 -2.829068)', '2026-07-20 19:18:05', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133711 -2.828892)'), GeomFromEWKT('SRID=4674;POINT (-40.1336 -2.829068)'))) / (select extract(epoch from '2026-07-20 19:18:05'::timestamp) - extract(epoch from '2026-07-20 19:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133711 -2.828892)'), GeomFromEWKT('SRID=4674;POINT (-40.1336 -2.829068)'))) / (select extract(epoch from '2026-07-20 19:18:05'::timestamp) - extract(epoch from '2026-07-20 19:17:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133499 -2.829239)', '2026-07-20 19:18:14', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1336 -2.829068)'), GeomFromEWKT('SRID=4674;POINT (-40.133499 -2.829239)'))) / (select extract(epoch from '2026-07-20 19:18:14'::timestamp) - extract(epoch from '2026-07-20 19:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1336 -2.829068)'), GeomFromEWKT('SRID=4674;POINT (-40.133499 -2.829239)'))) / (select extract(epoch from '2026-07-20 19:18:14'::timestamp) - extract(epoch from '2026-07-20 19:18:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133377 -2.829446)', '2026-07-20 19:18:25', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133499 -2.829239)'), GeomFromEWKT('SRID=4674;POINT (-40.133377 -2.829446)'))) / (select extract(epoch from '2026-07-20 19:18:25'::timestamp) - extract(epoch from '2026-07-20 19:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133499 -2.829239)'), GeomFromEWKT('SRID=4674;POINT (-40.133377 -2.829446)'))) / (select extract(epoch from '2026-07-20 19:18:25'::timestamp) - extract(epoch from '2026-07-20 19:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133272 -2.829618)', '2026-07-20 19:18:35', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133377 -2.829446)'), GeomFromEWKT('SRID=4674;POINT (-40.133272 -2.829618)'))) / (select extract(epoch from '2026-07-20 19:18:35'::timestamp) - extract(epoch from '2026-07-20 19:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133377 -2.829446)'), GeomFromEWKT('SRID=4674;POINT (-40.133272 -2.829618)'))) / (select extract(epoch from '2026-07-20 19:18:35'::timestamp) - extract(epoch from '2026-07-20 19:18:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.1332 -2.829766)', '2026-07-20 19:18:44', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133272 -2.829618)'), GeomFromEWKT('SRID=4674;POINT (-40.1332 -2.829766)'))) / (select extract(epoch from '2026-07-20 19:18:44'::timestamp) - extract(epoch from '2026-07-20 19:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133272 -2.829618)'), GeomFromEWKT('SRID=4674;POINT (-40.1332 -2.829766)'))) / (select extract(epoch from '2026-07-20 19:18:44'::timestamp) - extract(epoch from '2026-07-20 19:18:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.13313 -2.829943)', '2026-07-20 19:18:53', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1332 -2.829766)'), GeomFromEWKT('SRID=4674;POINT (-40.13313 -2.829943)'))) / (select extract(epoch from '2026-07-20 19:18:53'::timestamp) - extract(epoch from '2026-07-20 19:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1332 -2.829766)'), GeomFromEWKT('SRID=4674;POINT (-40.13313 -2.829943)'))) / (select extract(epoch from '2026-07-20 19:18:53'::timestamp) - extract(epoch from '2026-07-20 19:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133056 -2.830147)', '2026-07-20 19:19:03', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13313 -2.829943)'), GeomFromEWKT('SRID=4674;POINT (-40.133056 -2.830147)'))) / (select extract(epoch from '2026-07-20 19:19:03'::timestamp) - extract(epoch from '2026-07-20 19:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13313 -2.829943)'), GeomFromEWKT('SRID=4674;POINT (-40.133056 -2.830147)'))) / (select extract(epoch from '2026-07-20 19:19:03'::timestamp) - extract(epoch from '2026-07-20 19:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132994 -2.830312)', '2026-07-20 19:19:11', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133056 -2.830147)'), GeomFromEWKT('SRID=4674;POINT (-40.132994 -2.830312)'))) / (select extract(epoch from '2026-07-20 19:19:11'::timestamp) - extract(epoch from '2026-07-20 19:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133056 -2.830147)'), GeomFromEWKT('SRID=4674;POINT (-40.132994 -2.830312)'))) / (select extract(epoch from '2026-07-20 19:19:11'::timestamp) - extract(epoch from '2026-07-20 19:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132925 -2.830487)', '2026-07-20 19:19:20', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132994 -2.830312)'), GeomFromEWKT('SRID=4674;POINT (-40.132925 -2.830487)'))) / (select extract(epoch from '2026-07-20 19:19:20'::timestamp) - extract(epoch from '2026-07-20 19:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132994 -2.830312)'), GeomFromEWKT('SRID=4674;POINT (-40.132925 -2.830487)'))) / (select extract(epoch from '2026-07-20 19:19:20'::timestamp) - extract(epoch from '2026-07-20 19:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.13287 -2.830657)', '2026-07-20 19:19:29', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132925 -2.830487)'), GeomFromEWKT('SRID=4674;POINT (-40.13287 -2.830657)'))) / (select extract(epoch from '2026-07-20 19:19:29'::timestamp) - extract(epoch from '2026-07-20 19:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132925 -2.830487)'), GeomFromEWKT('SRID=4674;POINT (-40.13287 -2.830657)'))) / (select extract(epoch from '2026-07-20 19:19:29'::timestamp) - extract(epoch from '2026-07-20 19:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132812 -2.830814)', '2026-07-20 19:19:37', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13287 -2.830657)'), GeomFromEWKT('SRID=4674;POINT (-40.132812 -2.830814)'))) / (select extract(epoch from '2026-07-20 19:19:37'::timestamp) - extract(epoch from '2026-07-20 19:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13287 -2.830657)'), GeomFromEWKT('SRID=4674;POINT (-40.132812 -2.830814)'))) / (select extract(epoch from '2026-07-20 19:19:37'::timestamp) - extract(epoch from '2026-07-20 19:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132748 -2.831012)', '2026-07-20 19:19:47', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132812 -2.830814)'), GeomFromEWKT('SRID=4674;POINT (-40.132748 -2.831012)'))) / (select extract(epoch from '2026-07-20 19:19:47'::timestamp) - extract(epoch from '2026-07-20 19:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132812 -2.830814)'), GeomFromEWKT('SRID=4674;POINT (-40.132748 -2.831012)'))) / (select extract(epoch from '2026-07-20 19:19:47'::timestamp) - extract(epoch from '2026-07-20 19:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132681 -2.831175)', '2026-07-20 19:19:56', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132748 -2.831012)'), GeomFromEWKT('SRID=4674;POINT (-40.132681 -2.831175)'))) / (select extract(epoch from '2026-07-20 19:19:56'::timestamp) - extract(epoch from '2026-07-20 19:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132748 -2.831012)'), GeomFromEWKT('SRID=4674;POINT (-40.132681 -2.831175)'))) / (select extract(epoch from '2026-07-20 19:19:56'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.132614 -2.831311)', '2026-07-20 19:20:04', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132681 -2.831175)'), GeomFromEWKT('SRID=4674;POINT (-40.132614 -2.831311)'))) / (select extract(epoch from '2026-07-20 19:20:04'::timestamp) - extract(epoch from '2026-07-20 19:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132681 -2.831175)'), GeomFromEWKT('SRID=4674;POINT (-40.132614 -2.831311)'))) / (select extract(epoch from '2026-07-20 19:20:04'::timestamp) - extract(epoch from '2026-07-20 19:19:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132523 -2.831504)', '2026-07-20 19:20:14', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132614 -2.831311)'), GeomFromEWKT('SRID=4674;POINT (-40.132523 -2.831504)'))) / (select extract(epoch from '2026-07-20 19:20:14'::timestamp) - extract(epoch from '2026-07-20 19:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132614 -2.831311)'), GeomFromEWKT('SRID=4674;POINT (-40.132523 -2.831504)'))) / (select extract(epoch from '2026-07-20 19:20:14'::timestamp) - extract(epoch from '2026-07-20 19:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132434 -2.831709)', '2026-07-20 19:20:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132523 -2.831504)'), GeomFromEWKT('SRID=4674;POINT (-40.132434 -2.831709)'))) / (select extract(epoch from '2026-07-20 19:20:25'::timestamp) - extract(epoch from '2026-07-20 19:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132523 -2.831504)'), GeomFromEWKT('SRID=4674;POINT (-40.132434 -2.831709)'))) / (select extract(epoch from '2026-07-20 19:20:25'::timestamp) - extract(epoch from '2026-07-20 19:20:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132358 -2.8319)', '2026-07-20 19:20:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132434 -2.831709)'), GeomFromEWKT('SRID=4674;POINT (-40.132358 -2.8319)'))) / (select extract(epoch from '2026-07-20 19:20:35'::timestamp) - extract(epoch from '2026-07-20 19:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132434 -2.831709)'), GeomFromEWKT('SRID=4674;POINT (-40.132358 -2.8319)'))) / (select extract(epoch from '2026-07-20 19:20:35'::timestamp) - extract(epoch from '2026-07-20 19:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132294 -2.83211)', '2026-07-20 19:20:45', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132358 -2.8319)'), GeomFromEWKT('SRID=4674;POINT (-40.132294 -2.83211)'))) / (select extract(epoch from '2026-07-20 19:20:45'::timestamp) - extract(epoch from '2026-07-20 19:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132358 -2.8319)'), GeomFromEWKT('SRID=4674;POINT (-40.132294 -2.83211)'))) / (select extract(epoch from '2026-07-20 19:20:45'::timestamp) - extract(epoch from '2026-07-20 19:20:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.1322 -2.832296)', '2026-07-20 19:20:55', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132294 -2.83211)'), GeomFromEWKT('SRID=4674;POINT (-40.1322 -2.832296)'))) / (select extract(epoch from '2026-07-20 19:20:55'::timestamp) - extract(epoch from '2026-07-20 19:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132294 -2.83211)'), GeomFromEWKT('SRID=4674;POINT (-40.1322 -2.832296)'))) / (select extract(epoch from '2026-07-20 19:20:55'::timestamp) - extract(epoch from '2026-07-20 19:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132111 -2.832466)', '2026-07-20 19:21:05', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1322 -2.832296)'), GeomFromEWKT('SRID=4674;POINT (-40.132111 -2.832466)'))) / (select extract(epoch from '2026-07-20 19:21:05'::timestamp) - extract(epoch from '2026-07-20 19:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1322 -2.832296)'), GeomFromEWKT('SRID=4674;POINT (-40.132111 -2.832466)'))) / (select extract(epoch from '2026-07-20 19:21:05'::timestamp) - extract(epoch from '2026-07-20 19:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132056 -2.832608)', '2026-07-20 19:21:13', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132111 -2.832466)'), GeomFromEWKT('SRID=4674;POINT (-40.132056 -2.832608)'))) / (select extract(epoch from '2026-07-20 19:21:13'::timestamp) - extract(epoch from '2026-07-20 19:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132111 -2.832466)'), GeomFromEWKT('SRID=4674;POINT (-40.132056 -2.832608)'))) / (select extract(epoch from '2026-07-20 19:21:13'::timestamp) - extract(epoch from '2026-07-20 19:21:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131986 -2.832789)', '2026-07-20 19:21:22', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132056 -2.832608)'), GeomFromEWKT('SRID=4674;POINT (-40.131986 -2.832789)'))) / (select extract(epoch from '2026-07-20 19:21:22'::timestamp) - extract(epoch from '2026-07-20 19:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132056 -2.832608)'), GeomFromEWKT('SRID=4674;POINT (-40.131986 -2.832789)'))) / (select extract(epoch from '2026-07-20 19:21:22'::timestamp) - extract(epoch from '2026-07-20 19:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131924 -2.832945)', '2026-07-20 19:21:30', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131986 -2.832789)'), GeomFromEWKT('SRID=4674;POINT (-40.131924 -2.832945)'))) / (select extract(epoch from '2026-07-20 19:21:30'::timestamp) - extract(epoch from '2026-07-20 19:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131986 -2.832789)'), GeomFromEWKT('SRID=4674;POINT (-40.131924 -2.832945)'))) / (select extract(epoch from '2026-07-20 19:21:30'::timestamp) - extract(epoch from '2026-07-20 19:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131863 -2.833109)', '2026-07-20 19:21:38', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131924 -2.832945)'), GeomFromEWKT('SRID=4674;POINT (-40.131863 -2.833109)'))) / (select extract(epoch from '2026-07-20 19:21:38'::timestamp) - extract(epoch from '2026-07-20 19:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131924 -2.832945)'), GeomFromEWKT('SRID=4674;POINT (-40.131863 -2.833109)'))) / (select extract(epoch from '2026-07-20 19:21:38'::timestamp) - extract(epoch from '2026-07-20 19:21:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.13179 -2.833275)', '2026-07-20 19:21:47', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131863 -2.833109)'), GeomFromEWKT('SRID=4674;POINT (-40.13179 -2.833275)'))) / (select extract(epoch from '2026-07-20 19:21:47'::timestamp) - extract(epoch from '2026-07-20 19:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131863 -2.833109)'), GeomFromEWKT('SRID=4674;POINT (-40.13179 -2.833275)'))) / (select extract(epoch from '2026-07-20 19:21:47'::timestamp) - extract(epoch from '2026-07-20 19:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.13172 -2.833498)', '2026-07-20 19:21:57', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13179 -2.833275)'), GeomFromEWKT('SRID=4674;POINT (-40.13172 -2.833498)'))) / (select extract(epoch from '2026-07-20 19:21:57'::timestamp) - extract(epoch from '2026-07-20 19:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13179 -2.833275)'), GeomFromEWKT('SRID=4674;POINT (-40.13172 -2.833498)'))) / (select extract(epoch from '2026-07-20 19:21:57'::timestamp) - extract(epoch from '2026-07-20 19:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131642 -2.833659)', '2026-07-20 19:22:06', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13172 -2.833498)'), GeomFromEWKT('SRID=4674;POINT (-40.131642 -2.833659)'))) / (select extract(epoch from '2026-07-20 19:22:06'::timestamp) - extract(epoch from '2026-07-20 19:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13172 -2.833498)'), GeomFromEWKT('SRID=4674;POINT (-40.131642 -2.833659)'))) / (select extract(epoch from '2026-07-20 19:22:06'::timestamp) - extract(epoch from '2026-07-20 19:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131579 -2.833814)', '2026-07-20 19:22:15', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131642 -2.833659)'), GeomFromEWKT('SRID=4674;POINT (-40.131579 -2.833814)'))) / (select extract(epoch from '2026-07-20 19:22:15'::timestamp) - extract(epoch from '2026-07-20 19:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131642 -2.833659)'), GeomFromEWKT('SRID=4674;POINT (-40.131579 -2.833814)'))) / (select extract(epoch from '2026-07-20 19:22:15'::timestamp) - extract(epoch from '2026-07-20 19:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131501 -2.833958)', '2026-07-20 19:22:23', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131579 -2.833814)'), GeomFromEWKT('SRID=4674;POINT (-40.131501 -2.833958)'))) / (select extract(epoch from '2026-07-20 19:22:23'::timestamp) - extract(epoch from '2026-07-20 19:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131579 -2.833814)'), GeomFromEWKT('SRID=4674;POINT (-40.131501 -2.833958)'))) / (select extract(epoch from '2026-07-20 19:22:23'::timestamp) - extract(epoch from '2026-07-20 19:22:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131424 -2.83413)', '2026-07-20 19:22:32', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131501 -2.833958)'), GeomFromEWKT('SRID=4674;POINT (-40.131424 -2.83413)'))) / (select extract(epoch from '2026-07-20 19:22:32'::timestamp) - extract(epoch from '2026-07-20 19:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131501 -2.833958)'), GeomFromEWKT('SRID=4674;POINT (-40.131424 -2.83413)'))) / (select extract(epoch from '2026-07-20 19:22:32'::timestamp) - extract(epoch from '2026-07-20 19:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131334 -2.83429)', '2026-07-20 19:22:41', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131424 -2.83413)'), GeomFromEWKT('SRID=4674;POINT (-40.131334 -2.83429)'))) / (select extract(epoch from '2026-07-20 19:22:41'::timestamp) - extract(epoch from '2026-07-20 19:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131424 -2.83413)'), GeomFromEWKT('SRID=4674;POINT (-40.131334 -2.83429)'))) / (select extract(epoch from '2026-07-20 19:22:41'::timestamp) - extract(epoch from '2026-07-20 19:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131237 -2.834481)', '2026-07-20 19:22:52', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131334 -2.83429)'), GeomFromEWKT('SRID=4674;POINT (-40.131237 -2.834481)'))) / (select extract(epoch from '2026-07-20 19:22:52'::timestamp) - extract(epoch from '2026-07-20 19:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131334 -2.83429)'), GeomFromEWKT('SRID=4674;POINT (-40.131237 -2.834481)'))) / (select extract(epoch from '2026-07-20 19:22:52'::timestamp) - extract(epoch from '2026-07-20 19:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131147 -2.834669)', '2026-07-20 19:23:03', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131237 -2.834481)'), GeomFromEWKT('SRID=4674;POINT (-40.131147 -2.834669)'))) / (select extract(epoch from '2026-07-20 19:23:03'::timestamp) - extract(epoch from '2026-07-20 19:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131237 -2.834481)'), GeomFromEWKT('SRID=4674;POINT (-40.131147 -2.834669)'))) / (select extract(epoch from '2026-07-20 19:23:03'::timestamp) - extract(epoch from '2026-07-20 19:22:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131091 -2.834804)', '2026-07-20 19:23:10', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131147 -2.834669)'), GeomFromEWKT('SRID=4674;POINT (-40.131091 -2.834804)'))) / (select extract(epoch from '2026-07-20 19:23:10'::timestamp) - extract(epoch from '2026-07-20 19:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131147 -2.834669)'), GeomFromEWKT('SRID=4674;POINT (-40.131091 -2.834804)'))) / (select extract(epoch from '2026-07-20 19:23:10'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.131029 -2.834969)', '2026-07-20 19:23:18', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131091 -2.834804)'), GeomFromEWKT('SRID=4674;POINT (-40.131029 -2.834969)'))) / (select extract(epoch from '2026-07-20 19:23:18'::timestamp) - extract(epoch from '2026-07-20 19:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131091 -2.834804)'), GeomFromEWKT('SRID=4674;POINT (-40.131029 -2.834969)'))) / (select extract(epoch from '2026-07-20 19:23:18'::timestamp) - extract(epoch from '2026-07-20 19:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130954 -2.83511)', '2026-07-20 19:23:26', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131029 -2.834969)'), GeomFromEWKT('SRID=4674;POINT (-40.130954 -2.83511)'))) / (select extract(epoch from '2026-07-20 19:23:26'::timestamp) - extract(epoch from '2026-07-20 19:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131029 -2.834969)'), GeomFromEWKT('SRID=4674;POINT (-40.130954 -2.83511)'))) / (select extract(epoch from '2026-07-20 19:23:26'::timestamp) - extract(epoch from '2026-07-20 19:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130872 -2.835298)', '2026-07-20 19:23:36', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130954 -2.83511)'), GeomFromEWKT('SRID=4674;POINT (-40.130872 -2.835298)'))) / (select extract(epoch from '2026-07-20 19:23:36'::timestamp) - extract(epoch from '2026-07-20 19:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130954 -2.83511)'), GeomFromEWKT('SRID=4674;POINT (-40.130872 -2.835298)'))) / (select extract(epoch from '2026-07-20 19:23:36'::timestamp) - extract(epoch from '2026-07-20 19:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130816 -2.835451)', '2026-07-20 19:23:44', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130872 -2.835298)'), GeomFromEWKT('SRID=4674;POINT (-40.130816 -2.835451)'))) / (select extract(epoch from '2026-07-20 19:23:44'::timestamp) - extract(epoch from '2026-07-20 19:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130872 -2.835298)'), GeomFromEWKT('SRID=4674;POINT (-40.130816 -2.835451)'))) / (select extract(epoch from '2026-07-20 19:23:44'::timestamp) - extract(epoch from '2026-07-20 19:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130749 -2.835663)', '2026-07-20 19:23:54', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130816 -2.835451)'), GeomFromEWKT('SRID=4674;POINT (-40.130749 -2.835663)'))) / (select extract(epoch from '2026-07-20 19:23:54'::timestamp) - extract(epoch from '2026-07-20 19:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130816 -2.835451)'), GeomFromEWKT('SRID=4674;POINT (-40.130749 -2.835663)'))) / (select extract(epoch from '2026-07-20 19:23:54'::timestamp) - extract(epoch from '2026-07-20 19:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130681 -2.835862)', '2026-07-20 19:24:04', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130749 -2.835663)'), GeomFromEWKT('SRID=4674;POINT (-40.130681 -2.835862)'))) / (select extract(epoch from '2026-07-20 19:24:04'::timestamp) - extract(epoch from '2026-07-20 19:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130749 -2.835663)'), GeomFromEWKT('SRID=4674;POINT (-40.130681 -2.835862)'))) / (select extract(epoch from '2026-07-20 19:24:04'::timestamp) - extract(epoch from '2026-07-20 19:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130619 -2.83605)', '2026-07-20 19:24:13', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130681 -2.835862)'), GeomFromEWKT('SRID=4674;POINT (-40.130619 -2.83605)'))) / (select extract(epoch from '2026-07-20 19:24:13'::timestamp) - extract(epoch from '2026-07-20 19:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130681 -2.835862)'), GeomFromEWKT('SRID=4674;POINT (-40.130619 -2.83605)'))) / (select extract(epoch from '2026-07-20 19:24:13'::timestamp) - extract(epoch from '2026-07-20 19:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130561 -2.836295)', '2026-07-20 19:24:24', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130619 -2.83605)'), GeomFromEWKT('SRID=4674;POINT (-40.130561 -2.836295)'))) / (select extract(epoch from '2026-07-20 19:24:24'::timestamp) - extract(epoch from '2026-07-20 19:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130619 -2.83605)'), GeomFromEWKT('SRID=4674;POINT (-40.130561 -2.836295)'))) / (select extract(epoch from '2026-07-20 19:24:24'::timestamp) - extract(epoch from '2026-07-20 19:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130504 -2.836505)', '2026-07-20 19:24:35', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130561 -2.836295)'), GeomFromEWKT('SRID=4674;POINT (-40.130504 -2.836505)'))) / (select extract(epoch from '2026-07-20 19:24:35'::timestamp) - extract(epoch from '2026-07-20 19:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130561 -2.836295)'), GeomFromEWKT('SRID=4674;POINT (-40.130504 -2.836505)'))) / (select extract(epoch from '2026-07-20 19:24:35'::timestamp) - extract(epoch from '2026-07-20 19:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130477 -2.836648)', '2026-07-20 19:24:43', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130504 -2.836505)'), GeomFromEWKT('SRID=4674;POINT (-40.130477 -2.836648)'))) / (select extract(epoch from '2026-07-20 19:24:43'::timestamp) - extract(epoch from '2026-07-20 19:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130504 -2.836505)'), GeomFromEWKT('SRID=4674;POINT (-40.130477 -2.836648)'))) / (select extract(epoch from '2026-07-20 19:24:43'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.130429 -2.836858)', '2026-07-20 19:24:53', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130477 -2.836648)'), GeomFromEWKT('SRID=4674;POINT (-40.130429 -2.836858)'))) / (select extract(epoch from '2026-07-20 19:24:53'::timestamp) - extract(epoch from '2026-07-20 19:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130477 -2.836648)'), GeomFromEWKT('SRID=4674;POINT (-40.130429 -2.836858)'))) / (select extract(epoch from '2026-07-20 19:24:53'::timestamp) - extract(epoch from '2026-07-20 19:24:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.1304 -2.837031)', '2026-07-20 19:25:02', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130429 -2.836858)'), GeomFromEWKT('SRID=4674;POINT (-40.1304 -2.837031)'))) / (select extract(epoch from '2026-07-20 19:25:02'::timestamp) - extract(epoch from '2026-07-20 19:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130429 -2.836858)'), GeomFromEWKT('SRID=4674;POINT (-40.1304 -2.837031)'))) / (select extract(epoch from '2026-07-20 19:25:02'::timestamp) - extract(epoch from '2026-07-20 19:24:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130361 -2.837211)', '2026-07-20 19:25:11', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1304 -2.837031)'), GeomFromEWKT('SRID=4674;POINT (-40.130361 -2.837211)'))) / (select extract(epoch from '2026-07-20 19:25:11'::timestamp) - extract(epoch from '2026-07-20 19:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1304 -2.837031)'), GeomFromEWKT('SRID=4674;POINT (-40.130361 -2.837211)'))) / (select extract(epoch from '2026-07-20 19:25:11'::timestamp) - extract(epoch from '2026-07-20 19:25:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130349 -2.837375)', '2026-07-20 19:25:19', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130361 -2.837211)'), GeomFromEWKT('SRID=4674;POINT (-40.130349 -2.837375)'))) / (select extract(epoch from '2026-07-20 19:25:19'::timestamp) - extract(epoch from '2026-07-20 19:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130361 -2.837211)'), GeomFromEWKT('SRID=4674;POINT (-40.130349 -2.837375)'))) / (select extract(epoch from '2026-07-20 19:25:19'::timestamp) - extract(epoch from '2026-07-20 19:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130333 -2.837574)', '2026-07-20 19:25:29', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130349 -2.837375)'), GeomFromEWKT('SRID=4674;POINT (-40.130333 -2.837574)'))) / (select extract(epoch from '2026-07-20 19:25:29'::timestamp) - extract(epoch from '2026-07-20 19:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130349 -2.837375)'), GeomFromEWKT('SRID=4674;POINT (-40.130333 -2.837574)'))) / (select extract(epoch from '2026-07-20 19:25:29'::timestamp) - extract(epoch from '2026-07-20 19:25:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130299 -2.83777)', '2026-07-20 19:25:39', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130333 -2.837574)'), GeomFromEWKT('SRID=4674;POINT (-40.130299 -2.83777)'))) / (select extract(epoch from '2026-07-20 19:25:39'::timestamp) - extract(epoch from '2026-07-20 19:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130333 -2.837574)'), GeomFromEWKT('SRID=4674;POINT (-40.130299 -2.83777)'))) / (select extract(epoch from '2026-07-20 19:25:39'::timestamp) - extract(epoch from '2026-07-20 19:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130269 -2.837966)', '2026-07-20 19:25:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130299 -2.83777)'), GeomFromEWKT('SRID=4674;POINT (-40.130269 -2.837966)'))) / (select extract(epoch from '2026-07-20 19:25:49'::timestamp) - extract(epoch from '2026-07-20 19:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130299 -2.83777)'), GeomFromEWKT('SRID=4674;POINT (-40.130269 -2.837966)'))) / (select extract(epoch from '2026-07-20 19:25:49'::timestamp) - extract(epoch from '2026-07-20 19:25:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130279 -2.838124)', '2026-07-20 19:25:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130269 -2.837966)'), GeomFromEWKT('SRID=4674;POINT (-40.130279 -2.838124)'))) / (select extract(epoch from '2026-07-20 19:25:57'::timestamp) - extract(epoch from '2026-07-20 19:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130269 -2.837966)'), GeomFromEWKT('SRID=4674;POINT (-40.130279 -2.838124)'))) / (select extract(epoch from '2026-07-20 19:25:57'::timestamp) - extract(epoch from '2026-07-20 19:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130294 -2.83832)', '2026-07-20 19:26:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130279 -2.838124)'), GeomFromEWKT('SRID=4674;POINT (-40.130294 -2.83832)'))) / (select extract(epoch from '2026-07-20 19:26:07'::timestamp) - extract(epoch from '2026-07-20 19:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130279 -2.838124)'), GeomFromEWKT('SRID=4674;POINT (-40.130294 -2.83832)'))) / (select extract(epoch from '2026-07-20 19:26:07'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.130294 -2.838505)', '2026-07-20 19:26:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130294 -2.83832)'), GeomFromEWKT('SRID=4674;POINT (-40.130294 -2.838505)'))) / (select extract(epoch from '2026-07-20 19:26:16'::timestamp) - extract(epoch from '2026-07-20 19:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130294 -2.83832)'), GeomFromEWKT('SRID=4674;POINT (-40.130294 -2.838505)'))) / (select extract(epoch from '2026-07-20 19:26:16'::timestamp) - extract(epoch from '2026-07-20 19:26:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.13028 -2.838692)', '2026-07-20 19:26:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130294 -2.838505)'), GeomFromEWKT('SRID=4674;POINT (-40.13028 -2.838692)'))) / (select extract(epoch from '2026-07-20 19:26:25'::timestamp) - extract(epoch from '2026-07-20 19:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130294 -2.838505)'), GeomFromEWKT('SRID=4674;POINT (-40.13028 -2.838692)'))) / (select extract(epoch from '2026-07-20 19:26:25'::timestamp) - extract(epoch from '2026-07-20 19:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130264 -2.838888)', '2026-07-20 19:26:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13028 -2.838692)'), GeomFromEWKT('SRID=4674;POINT (-40.130264 -2.838888)'))) / (select extract(epoch from '2026-07-20 19:26:34'::timestamp) - extract(epoch from '2026-07-20 19:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13028 -2.838692)'), GeomFromEWKT('SRID=4674;POINT (-40.130264 -2.838888)'))) / (select extract(epoch from '2026-07-20 19:26:34'::timestamp) - extract(epoch from '2026-07-20 19:26:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130232 -2.839021)', '2026-07-20 19:26:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130264 -2.838888)'), GeomFromEWKT('SRID=4674;POINT (-40.130232 -2.839021)'))) / (select extract(epoch from '2026-07-20 19:26:41'::timestamp) - extract(epoch from '2026-07-20 19:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130264 -2.838888)'), GeomFromEWKT('SRID=4674;POINT (-40.130232 -2.839021)'))) / (select extract(epoch from '2026-07-20 19:26:41'::timestamp) - extract(epoch from '2026-07-20 19:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130197 -2.839151)', '2026-07-20 19:26:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130232 -2.839021)'), GeomFromEWKT('SRID=4674;POINT (-40.130197 -2.839151)'))) / (select extract(epoch from '2026-07-20 19:26:48'::timestamp) - extract(epoch from '2026-07-20 19:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130232 -2.839021)'), GeomFromEWKT('SRID=4674;POINT (-40.130197 -2.839151)'))) / (select extract(epoch from '2026-07-20 19:26:48'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.130141 -2.839313)', '2026-07-20 19:26:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130197 -2.839151)'), GeomFromEWKT('SRID=4674;POINT (-40.130141 -2.839313)'))) / (select extract(epoch from '2026-07-20 19:26:57'::timestamp) - extract(epoch from '2026-07-20 19:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130197 -2.839151)'), GeomFromEWKT('SRID=4674;POINT (-40.130141 -2.839313)'))) / (select extract(epoch from '2026-07-20 19:26:57'::timestamp) - extract(epoch from '2026-07-20 19:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130093 -2.839508)', '2026-07-20 19:27:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130141 -2.839313)'), GeomFromEWKT('SRID=4674;POINT (-40.130093 -2.839508)'))) / (select extract(epoch from '2026-07-20 19:27:07'::timestamp) - extract(epoch from '2026-07-20 19:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130141 -2.839313)'), GeomFromEWKT('SRID=4674;POINT (-40.130093 -2.839508)'))) / (select extract(epoch from '2026-07-20 19:27:07'::timestamp) - extract(epoch from '2026-07-20 19:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130051 -2.839699)', '2026-07-20 19:27:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130093 -2.839508)'), GeomFromEWKT('SRID=4674;POINT (-40.130051 -2.839699)'))) / (select extract(epoch from '2026-07-20 19:27:17'::timestamp) - extract(epoch from '2026-07-20 19:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130093 -2.839508)'), GeomFromEWKT('SRID=4674;POINT (-40.130051 -2.839699)'))) / (select extract(epoch from '2026-07-20 19:27:17'::timestamp) - extract(epoch from '2026-07-20 19:27:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130026 -2.839911)', '2026-07-20 19:27:27', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130051 -2.839699)'), GeomFromEWKT('SRID=4674;POINT (-40.130026 -2.839911)'))) / (select extract(epoch from '2026-07-20 19:27:27'::timestamp) - extract(epoch from '2026-07-20 19:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130051 -2.839699)'), GeomFromEWKT('SRID=4674;POINT (-40.130026 -2.839911)'))) / (select extract(epoch from '2026-07-20 19:27:27'::timestamp) - extract(epoch from '2026-07-20 19:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129983 -2.840107)', '2026-07-20 19:27:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130026 -2.839911)'), GeomFromEWKT('SRID=4674;POINT (-40.129983 -2.840107)'))) / (select extract(epoch from '2026-07-20 19:27:37'::timestamp) - extract(epoch from '2026-07-20 19:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130026 -2.839911)'), GeomFromEWKT('SRID=4674;POINT (-40.129983 -2.840107)'))) / (select extract(epoch from '2026-07-20 19:27:37'::timestamp) - extract(epoch from '2026-07-20 19:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129907 -2.840301)', '2026-07-20 19:27:47', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129983 -2.840107)'), GeomFromEWKT('SRID=4674;POINT (-40.129907 -2.840301)'))) / (select extract(epoch from '2026-07-20 19:27:47'::timestamp) - extract(epoch from '2026-07-20 19:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129983 -2.840107)'), GeomFromEWKT('SRID=4674;POINT (-40.129907 -2.840301)'))) / (select extract(epoch from '2026-07-20 19:27:47'::timestamp) - extract(epoch from '2026-07-20 19:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129835 -2.840501)', '2026-07-20 19:27:58', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129907 -2.840301)'), GeomFromEWKT('SRID=4674;POINT (-40.129835 -2.840501)'))) / (select extract(epoch from '2026-07-20 19:27:58'::timestamp) - extract(epoch from '2026-07-20 19:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129907 -2.840301)'), GeomFromEWKT('SRID=4674;POINT (-40.129835 -2.840501)'))) / (select extract(epoch from '2026-07-20 19:27:58'::timestamp) - extract(epoch from '2026-07-20 19:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129787 -2.840697)', '2026-07-20 19:28:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129835 -2.840501)'), GeomFromEWKT('SRID=4674;POINT (-40.129787 -2.840697)'))) / (select extract(epoch from '2026-07-20 19:28:09'::timestamp) - extract(epoch from '2026-07-20 19:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129835 -2.840501)'), GeomFromEWKT('SRID=4674;POINT (-40.129787 -2.840697)'))) / (select extract(epoch from '2026-07-20 19:28:09'::timestamp) - extract(epoch from '2026-07-20 19:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129749 -2.84086)', '2026-07-20 19:28:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129787 -2.840697)'), GeomFromEWKT('SRID=4674;POINT (-40.129749 -2.84086)'))) / (select extract(epoch from '2026-07-20 19:28:18'::timestamp) - extract(epoch from '2026-07-20 19:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129787 -2.840697)'), GeomFromEWKT('SRID=4674;POINT (-40.129749 -2.84086)'))) / (select extract(epoch from '2026-07-20 19:28:18'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.129683 -2.841066)', '2026-07-20 19:28:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129749 -2.84086)'), GeomFromEWKT('SRID=4674;POINT (-40.129683 -2.841066)'))) / (select extract(epoch from '2026-07-20 19:28:29'::timestamp) - extract(epoch from '2026-07-20 19:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129749 -2.84086)'), GeomFromEWKT('SRID=4674;POINT (-40.129683 -2.841066)'))) / (select extract(epoch from '2026-07-20 19:28:29'::timestamp) - extract(epoch from '2026-07-20 19:28:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129607 -2.841282)', '2026-07-20 19:28:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129683 -2.841066)'), GeomFromEWKT('SRID=4674;POINT (-40.129607 -2.841282)'))) / (select extract(epoch from '2026-07-20 19:28:41'::timestamp) - extract(epoch from '2026-07-20 19:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129683 -2.841066)'), GeomFromEWKT('SRID=4674;POINT (-40.129607 -2.841282)'))) / (select extract(epoch from '2026-07-20 19:28:41'::timestamp) - extract(epoch from '2026-07-20 19:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129536 -2.841457)', '2026-07-20 19:28:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129607 -2.841282)'), GeomFromEWKT('SRID=4674;POINT (-40.129536 -2.841457)'))) / (select extract(epoch from '2026-07-20 19:28:51'::timestamp) - extract(epoch from '2026-07-20 19:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129607 -2.841282)'), GeomFromEWKT('SRID=4674;POINT (-40.129536 -2.841457)'))) / (select extract(epoch from '2026-07-20 19:28:51'::timestamp) - extract(epoch from '2026-07-20 19:28:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129477 -2.841618)', '2026-07-20 19:29:00', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129536 -2.841457)'), GeomFromEWKT('SRID=4674;POINT (-40.129477 -2.841618)'))) / (select extract(epoch from '2026-07-20 19:29:00'::timestamp) - extract(epoch from '2026-07-20 19:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129536 -2.841457)'), GeomFromEWKT('SRID=4674;POINT (-40.129477 -2.841618)'))) / (select extract(epoch from '2026-07-20 19:29:00'::timestamp) - extract(epoch from '2026-07-20 19:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129414 -2.841804)', '2026-07-20 19:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129477 -2.841618)'), GeomFromEWKT('SRID=4674;POINT (-40.129414 -2.841804)'))) / (select extract(epoch from '2026-07-20 19:29:10'::timestamp) - extract(epoch from '2026-07-20 19:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129477 -2.841618)'), GeomFromEWKT('SRID=4674;POINT (-40.129414 -2.841804)'))) / (select extract(epoch from '2026-07-20 19:29:10'::timestamp) - extract(epoch from '2026-07-20 19:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129338 -2.841972)', '2026-07-20 19:29:20', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129414 -2.841804)'), GeomFromEWKT('SRID=4674;POINT (-40.129338 -2.841972)'))) / (select extract(epoch from '2026-07-20 19:29:20'::timestamp) - extract(epoch from '2026-07-20 19:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129414 -2.841804)'), GeomFromEWKT('SRID=4674;POINT (-40.129338 -2.841972)'))) / (select extract(epoch from '2026-07-20 19:29:20'::timestamp) - extract(epoch from '2026-07-20 19:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12927 -2.842134)', '2026-07-20 19:29:29', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129338 -2.841972)'), GeomFromEWKT('SRID=4674;POINT (-40.12927 -2.842134)'))) / (select extract(epoch from '2026-07-20 19:29:29'::timestamp) - extract(epoch from '2026-07-20 19:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129338 -2.841972)'), GeomFromEWKT('SRID=4674;POINT (-40.12927 -2.842134)'))) / (select extract(epoch from '2026-07-20 19:29:29'::timestamp) - extract(epoch from '2026-07-20 19:29:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129192 -2.842298)', '2026-07-20 19:29:38', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12927 -2.842134)'), GeomFromEWKT('SRID=4674;POINT (-40.129192 -2.842298)'))) / (select extract(epoch from '2026-07-20 19:29:38'::timestamp) - extract(epoch from '2026-07-20 19:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12927 -2.842134)'), GeomFromEWKT('SRID=4674;POINT (-40.129192 -2.842298)'))) / (select extract(epoch from '2026-07-20 19:29:38'::timestamp) - extract(epoch from '2026-07-20 19:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129127 -2.842434)', '2026-07-20 19:29:46', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129192 -2.842298)'), GeomFromEWKT('SRID=4674;POINT (-40.129127 -2.842434)'))) / (select extract(epoch from '2026-07-20 19:29:46'::timestamp) - extract(epoch from '2026-07-20 19:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129192 -2.842298)'), GeomFromEWKT('SRID=4674;POINT (-40.129127 -2.842434)'))) / (select extract(epoch from '2026-07-20 19:29:46'::timestamp) - extract(epoch from '2026-07-20 19:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129071 -2.842613)', '2026-07-20 19:29:55', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129127 -2.842434)'), GeomFromEWKT('SRID=4674;POINT (-40.129071 -2.842613)'))) / (select extract(epoch from '2026-07-20 19:29:55'::timestamp) - extract(epoch from '2026-07-20 19:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129127 -2.842434)'), GeomFromEWKT('SRID=4674;POINT (-40.129071 -2.842613)'))) / (select extract(epoch from '2026-07-20 19:29:55'::timestamp) - extract(epoch from '2026-07-20 19:29:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129018 -2.842785)', '2026-07-20 19:30:04', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129071 -2.842613)'), GeomFromEWKT('SRID=4674;POINT (-40.129018 -2.842785)'))) / (select extract(epoch from '2026-07-20 19:30:04'::timestamp) - extract(epoch from '2026-07-20 19:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129071 -2.842613)'), GeomFromEWKT('SRID=4674;POINT (-40.129018 -2.842785)'))) / (select extract(epoch from '2026-07-20 19:30:04'::timestamp) - extract(epoch from '2026-07-20 19:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128934 -2.842964)', '2026-07-20 19:30:14', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129018 -2.842785)'), GeomFromEWKT('SRID=4674;POINT (-40.128934 -2.842964)'))) / (select extract(epoch from '2026-07-20 19:30:14'::timestamp) - extract(epoch from '2026-07-20 19:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129018 -2.842785)'), GeomFromEWKT('SRID=4674;POINT (-40.128934 -2.842964)'))) / (select extract(epoch from '2026-07-20 19:30:14'::timestamp) - extract(epoch from '2026-07-20 19:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128815 -2.843175)', '2026-07-20 19:30:26', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128934 -2.842964)'), GeomFromEWKT('SRID=4674;POINT (-40.128815 -2.843175)'))) / (select extract(epoch from '2026-07-20 19:30:26'::timestamp) - extract(epoch from '2026-07-20 19:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128934 -2.842964)'), GeomFromEWKT('SRID=4674;POINT (-40.128815 -2.843175)'))) / (select extract(epoch from '2026-07-20 19:30:26'::timestamp) - extract(epoch from '2026-07-20 19:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128715 -2.843334)', '2026-07-20 19:30:36', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128815 -2.843175)'), GeomFromEWKT('SRID=4674;POINT (-40.128715 -2.843334)'))) / (select extract(epoch from '2026-07-20 19:30:36'::timestamp) - extract(epoch from '2026-07-20 19:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128815 -2.843175)'), GeomFromEWKT('SRID=4674;POINT (-40.128715 -2.843334)'))) / (select extract(epoch from '2026-07-20 19:30:36'::timestamp) - extract(epoch from '2026-07-20 19:30:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128615 -2.843489)', '2026-07-20 19:30:46', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128715 -2.843334)'), GeomFromEWKT('SRID=4674;POINT (-40.128615 -2.843489)'))) / (select extract(epoch from '2026-07-20 19:30:46'::timestamp) - extract(epoch from '2026-07-20 19:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128715 -2.843334)'), GeomFromEWKT('SRID=4674;POINT (-40.128615 -2.843489)'))) / (select extract(epoch from '2026-07-20 19:30:46'::timestamp) - extract(epoch from '2026-07-20 19:30:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128531 -2.843651)', '2026-07-20 19:30:55', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128615 -2.843489)'), GeomFromEWKT('SRID=4674;POINT (-40.128531 -2.843651)'))) / (select extract(epoch from '2026-07-20 19:30:55'::timestamp) - extract(epoch from '2026-07-20 19:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128615 -2.843489)'), GeomFromEWKT('SRID=4674;POINT (-40.128531 -2.843651)'))) / (select extract(epoch from '2026-07-20 19:30:55'::timestamp) - extract(epoch from '2026-07-20 19:30:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12843 -2.843836)', '2026-07-20 19:31:05', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128531 -2.843651)'), GeomFromEWKT('SRID=4674;POINT (-40.12843 -2.843836)'))) / (select extract(epoch from '2026-07-20 19:31:05'::timestamp) - extract(epoch from '2026-07-20 19:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128531 -2.843651)'), GeomFromEWKT('SRID=4674;POINT (-40.12843 -2.843836)'))) / (select extract(epoch from '2026-07-20 19:31:05'::timestamp) - extract(epoch from '2026-07-20 19:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128349 -2.843995)', '2026-07-20 19:31:14', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12843 -2.843836)'), GeomFromEWKT('SRID=4674;POINT (-40.128349 -2.843995)'))) / (select extract(epoch from '2026-07-20 19:31:14'::timestamp) - extract(epoch from '2026-07-20 19:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12843 -2.843836)'), GeomFromEWKT('SRID=4674;POINT (-40.128349 -2.843995)'))) / (select extract(epoch from '2026-07-20 19:31:14'::timestamp) - extract(epoch from '2026-07-20 19:31:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128278 -2.844179)', '2026-07-20 19:31:24', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128349 -2.843995)'), GeomFromEWKT('SRID=4674;POINT (-40.128278 -2.844179)'))) / (select extract(epoch from '2026-07-20 19:31:24'::timestamp) - extract(epoch from '2026-07-20 19:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128349 -2.843995)'), GeomFromEWKT('SRID=4674;POINT (-40.128278 -2.844179)'))) / (select extract(epoch from '2026-07-20 19:31:24'::timestamp) - extract(epoch from '2026-07-20 19:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128188 -2.844324)', '2026-07-20 19:31:33', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128278 -2.844179)'), GeomFromEWKT('SRID=4674;POINT (-40.128188 -2.844324)'))) / (select extract(epoch from '2026-07-20 19:31:33'::timestamp) - extract(epoch from '2026-07-20 19:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128278 -2.844179)'), GeomFromEWKT('SRID=4674;POINT (-40.128188 -2.844324)'))) / (select extract(epoch from '2026-07-20 19:31:33'::timestamp) - extract(epoch from '2026-07-20 19:31:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128101 -2.844458)', '2026-07-20 19:31:41', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128188 -2.844324)'), GeomFromEWKT('SRID=4674;POINT (-40.128101 -2.844458)'))) / (select extract(epoch from '2026-07-20 19:31:41'::timestamp) - extract(epoch from '2026-07-20 19:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128188 -2.844324)'), GeomFromEWKT('SRID=4674;POINT (-40.128101 -2.844458)'))) / (select extract(epoch from '2026-07-20 19:31:41'::timestamp) - extract(epoch from '2026-07-20 19:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127994 -2.844622)', '2026-07-20 19:31:51', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128101 -2.844458)'), GeomFromEWKT('SRID=4674;POINT (-40.127994 -2.844622)'))) / (select extract(epoch from '2026-07-20 19:31:51'::timestamp) - extract(epoch from '2026-07-20 19:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128101 -2.844458)'), GeomFromEWKT('SRID=4674;POINT (-40.127994 -2.844622)'))) / (select extract(epoch from '2026-07-20 19:31:51'::timestamp) - extract(epoch from '2026-07-20 19:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127879 -2.844797)', '2026-07-20 19:32:02', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127994 -2.844622)'), GeomFromEWKT('SRID=4674;POINT (-40.127879 -2.844797)'))) / (select extract(epoch from '2026-07-20 19:32:02'::timestamp) - extract(epoch from '2026-07-20 19:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127994 -2.844622)'), GeomFromEWKT('SRID=4674;POINT (-40.127879 -2.844797)'))) / (select extract(epoch from '2026-07-20 19:32:02'::timestamp) - extract(epoch from '2026-07-20 19:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127772 -2.844959)', '2026-07-20 19:32:12', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127879 -2.844797)'), GeomFromEWKT('SRID=4674;POINT (-40.127772 -2.844959)'))) / (select extract(epoch from '2026-07-20 19:32:12'::timestamp) - extract(epoch from '2026-07-20 19:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127879 -2.844797)'), GeomFromEWKT('SRID=4674;POINT (-40.127772 -2.844959)'))) / (select extract(epoch from '2026-07-20 19:32:12'::timestamp) - extract(epoch from '2026-07-20 19:32:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127658 -2.8451)', '2026-07-20 19:32:21', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127772 -2.844959)'), GeomFromEWKT('SRID=4674;POINT (-40.127658 -2.8451)'))) / (select extract(epoch from '2026-07-20 19:32:21'::timestamp) - extract(epoch from '2026-07-20 19:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127772 -2.844959)'), GeomFromEWKT('SRID=4674;POINT (-40.127658 -2.8451)'))) / (select extract(epoch from '2026-07-20 19:32:21'::timestamp) - extract(epoch from '2026-07-20 19:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127483 -2.845293)', '2026-07-20 19:32:34', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127658 -2.8451)'), GeomFromEWKT('SRID=4674;POINT (-40.127483 -2.845293)'))) / (select extract(epoch from '2026-07-20 19:32:34'::timestamp) - extract(epoch from '2026-07-20 19:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127658 -2.8451)'), GeomFromEWKT('SRID=4674;POINT (-40.127483 -2.845293)'))) / (select extract(epoch from '2026-07-20 19:32:34'::timestamp) - extract(epoch from '2026-07-20 19:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127361 -2.845449)', '2026-07-20 19:32:44', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127483 -2.845293)'), GeomFromEWKT('SRID=4674;POINT (-40.127361 -2.845449)'))) / (select extract(epoch from '2026-07-20 19:32:44'::timestamp) - extract(epoch from '2026-07-20 19:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127483 -2.845293)'), GeomFromEWKT('SRID=4674;POINT (-40.127361 -2.845449)'))) / (select extract(epoch from '2026-07-20 19:32:44'::timestamp) - extract(epoch from '2026-07-20 19:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127263 -2.845607)', '2026-07-20 19:32:54', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127361 -2.845449)'), GeomFromEWKT('SRID=4674;POINT (-40.127263 -2.845607)'))) / (select extract(epoch from '2026-07-20 19:32:54'::timestamp) - extract(epoch from '2026-07-20 19:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127361 -2.845449)'), GeomFromEWKT('SRID=4674;POINT (-40.127263 -2.845607)'))) / (select extract(epoch from '2026-07-20 19:32:54'::timestamp) - extract(epoch from '2026-07-20 19:32:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127204 -2.845777)', '2026-07-20 19:33:03', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127263 -2.845607)'), GeomFromEWKT('SRID=4674;POINT (-40.127204 -2.845777)'))) / (select extract(epoch from '2026-07-20 19:33:03'::timestamp) - extract(epoch from '2026-07-20 19:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127263 -2.845607)'), GeomFromEWKT('SRID=4674;POINT (-40.127204 -2.845777)'))) / (select extract(epoch from '2026-07-20 19:33:03'::timestamp) - extract(epoch from '2026-07-20 19:32:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127141 -2.845964)', '2026-07-20 19:33:13', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127204 -2.845777)'), GeomFromEWKT('SRID=4674;POINT (-40.127141 -2.845964)'))) / (select extract(epoch from '2026-07-20 19:33:13'::timestamp) - extract(epoch from '2026-07-20 19:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127204 -2.845777)'), GeomFromEWKT('SRID=4674;POINT (-40.127141 -2.845964)'))) / (select extract(epoch from '2026-07-20 19:33:13'::timestamp) - extract(epoch from '2026-07-20 19:33:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127094 -2.846178)', '2026-07-20 19:33:24', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127141 -2.845964)'), GeomFromEWKT('SRID=4674;POINT (-40.127094 -2.846178)'))) / (select extract(epoch from '2026-07-20 19:33:24'::timestamp) - extract(epoch from '2026-07-20 19:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127141 -2.845964)'), GeomFromEWKT('SRID=4674;POINT (-40.127094 -2.846178)'))) / (select extract(epoch from '2026-07-20 19:33:24'::timestamp) - extract(epoch from '2026-07-20 19:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127071 -2.846339)', '2026-07-20 19:33:33', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127094 -2.846178)'), GeomFromEWKT('SRID=4674;POINT (-40.127071 -2.846339)'))) / (select extract(epoch from '2026-07-20 19:33:33'::timestamp) - extract(epoch from '2026-07-20 19:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127094 -2.846178)'), GeomFromEWKT('SRID=4674;POINT (-40.127071 -2.846339)'))) / (select extract(epoch from '2026-07-20 19:33:33'::timestamp) - extract(epoch from '2026-07-20 19:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12704 -2.84649)', '2026-07-20 19:33:41', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127071 -2.846339)'), GeomFromEWKT('SRID=4674;POINT (-40.12704 -2.84649)'))) / (select extract(epoch from '2026-07-20 19:33:41'::timestamp) - extract(epoch from '2026-07-20 19:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127071 -2.846339)'), GeomFromEWKT('SRID=4674;POINT (-40.12704 -2.84649)'))) / (select extract(epoch from '2026-07-20 19:33:41'::timestamp) - extract(epoch from '2026-07-20 19:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126998 -2.846656)', '2026-07-20 19:33:50', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12704 -2.84649)'), GeomFromEWKT('SRID=4674;POINT (-40.126998 -2.846656)'))) / (select extract(epoch from '2026-07-20 19:33:50'::timestamp) - extract(epoch from '2026-07-20 19:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12704 -2.84649)'), GeomFromEWKT('SRID=4674;POINT (-40.126998 -2.846656)'))) / (select extract(epoch from '2026-07-20 19:33:50'::timestamp) - extract(epoch from '2026-07-20 19:33:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12695 -2.846821)', '2026-07-20 19:33:59', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126998 -2.846656)'), GeomFromEWKT('SRID=4674;POINT (-40.12695 -2.846821)'))) / (select extract(epoch from '2026-07-20 19:33:59'::timestamp) - extract(epoch from '2026-07-20 19:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126998 -2.846656)'), GeomFromEWKT('SRID=4674;POINT (-40.12695 -2.846821)'))) / (select extract(epoch from '2026-07-20 19:33:59'::timestamp) - extract(epoch from '2026-07-20 19:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126915 -2.84698)', '2026-07-20 19:34:08', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12695 -2.846821)'), GeomFromEWKT('SRID=4674;POINT (-40.126915 -2.84698)'))) / (select extract(epoch from '2026-07-20 19:34:08'::timestamp) - extract(epoch from '2026-07-20 19:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12695 -2.846821)'), GeomFromEWKT('SRID=4674;POINT (-40.126915 -2.84698)'))) / (select extract(epoch from '2026-07-20 19:34:08'::timestamp) - extract(epoch from '2026-07-20 19:33:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126888 -2.847164)', '2026-07-20 19:34:18', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126915 -2.84698)'), GeomFromEWKT('SRID=4674;POINT (-40.126888 -2.847164)'))) / (select extract(epoch from '2026-07-20 19:34:18'::timestamp) - extract(epoch from '2026-07-20 19:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126915 -2.84698)'), GeomFromEWKT('SRID=4674;POINT (-40.126888 -2.847164)'))) / (select extract(epoch from '2026-07-20 19:34:18'::timestamp) - extract(epoch from '2026-07-20 19:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126843 -2.847386)', '2026-07-20 19:34:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126888 -2.847164)'), GeomFromEWKT('SRID=4674;POINT (-40.126843 -2.847386)'))) / (select extract(epoch from '2026-07-20 19:34:30'::timestamp) - extract(epoch from '2026-07-20 19:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126888 -2.847164)'), GeomFromEWKT('SRID=4674;POINT (-40.126843 -2.847386)'))) / (select extract(epoch from '2026-07-20 19:34:30'::timestamp) - extract(epoch from '2026-07-20 19:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12679 -2.847583)', '2026-07-20 19:34:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126843 -2.847386)'), GeomFromEWKT('SRID=4674;POINT (-40.12679 -2.847583)'))) / (select extract(epoch from '2026-07-20 19:34:41'::timestamp) - extract(epoch from '2026-07-20 19:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126843 -2.847386)'), GeomFromEWKT('SRID=4674;POINT (-40.12679 -2.847583)'))) / (select extract(epoch from '2026-07-20 19:34:41'::timestamp) - extract(epoch from '2026-07-20 19:34:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126727 -2.847764)', '2026-07-20 19:34:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12679 -2.847583)'), GeomFromEWKT('SRID=4674;POINT (-40.126727 -2.847764)'))) / (select extract(epoch from '2026-07-20 19:34:51'::timestamp) - extract(epoch from '2026-07-20 19:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12679 -2.847583)'), GeomFromEWKT('SRID=4674;POINT (-40.126727 -2.847764)'))) / (select extract(epoch from '2026-07-20 19:34:51'::timestamp) - extract(epoch from '2026-07-20 19:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126684 -2.848056)', '2026-07-20 19:35:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126727 -2.847764)'), GeomFromEWKT('SRID=4674;POINT (-40.126684 -2.848056)'))) / (select extract(epoch from '2026-07-20 19:35:07'::timestamp) - extract(epoch from '2026-07-20 19:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126727 -2.847764)'), GeomFromEWKT('SRID=4674;POINT (-40.126684 -2.848056)'))) / (select extract(epoch from '2026-07-20 19:35:07'::timestamp) - extract(epoch from '2026-07-20 19:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12672 -2.848309)', '2026-07-20 19:35:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126684 -2.848056)'), GeomFromEWKT('SRID=4674;POINT (-40.12672 -2.848309)'))) / (select extract(epoch from '2026-07-20 19:35:21'::timestamp) - extract(epoch from '2026-07-20 19:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126684 -2.848056)'), GeomFromEWKT('SRID=4674;POINT (-40.12672 -2.848309)'))) / (select extract(epoch from '2026-07-20 19:35:21'::timestamp) - extract(epoch from '2026-07-20 19:35:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126794 -2.848516)', '2026-07-20 19:35:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12672 -2.848309)'), GeomFromEWKT('SRID=4674;POINT (-40.126794 -2.848516)'))) / (select extract(epoch from '2026-07-20 19:35:33'::timestamp) - extract(epoch from '2026-07-20 19:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12672 -2.848309)'), GeomFromEWKT('SRID=4674;POINT (-40.126794 -2.848516)'))) / (select extract(epoch from '2026-07-20 19:35:33'::timestamp) - extract(epoch from '2026-07-20 19:35:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126884 -2.848699)', '2026-07-20 19:35:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126794 -2.848516)'), GeomFromEWKT('SRID=4674;POINT (-40.126884 -2.848699)'))) / (select extract(epoch from '2026-07-20 19:35:44'::timestamp) - extract(epoch from '2026-07-20 19:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126794 -2.848516)'), GeomFromEWKT('SRID=4674;POINT (-40.126884 -2.848699)'))) / (select extract(epoch from '2026-07-20 19:35:44'::timestamp) - extract(epoch from '2026-07-20 19:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12706 -2.848894)', '2026-07-20 19:35:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126884 -2.848699)'), GeomFromEWKT('SRID=4674;POINT (-40.12706 -2.848894)'))) / (select extract(epoch from '2026-07-20 19:35:58'::timestamp) - extract(epoch from '2026-07-20 19:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126884 -2.848699)'), GeomFromEWKT('SRID=4674;POINT (-40.12706 -2.848894)'))) / (select extract(epoch from '2026-07-20 19:35:58'::timestamp) - extract(epoch from '2026-07-20 19:35:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127223 -2.849075)', '2026-07-20 19:36:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12706 -2.848894)'), GeomFromEWKT('SRID=4674;POINT (-40.127223 -2.849075)'))) / (select extract(epoch from '2026-07-20 19:36:12'::timestamp) - extract(epoch from '2026-07-20 19:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12706 -2.848894)'), GeomFromEWKT('SRID=4674;POINT (-40.127223 -2.849075)'))) / (select extract(epoch from '2026-07-20 19:36:12'::timestamp) - extract(epoch from '2026-07-20 19:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12737 -2.849249)', '2026-07-20 19:36:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127223 -2.849075)'), GeomFromEWKT('SRID=4674;POINT (-40.12737 -2.849249)'))) / (select extract(epoch from '2026-07-20 19:36:25'::timestamp) - extract(epoch from '2026-07-20 19:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127223 -2.849075)'), GeomFromEWKT('SRID=4674;POINT (-40.12737 -2.849249)'))) / (select extract(epoch from '2026-07-20 19:36:25'::timestamp) - extract(epoch from '2026-07-20 19:36:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127488 -2.849385)', '2026-07-20 19:36:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12737 -2.849249)'), GeomFromEWKT('SRID=4674;POINT (-40.127488 -2.849385)'))) / (select extract(epoch from '2026-07-20 19:36:37'::timestamp) - extract(epoch from '2026-07-20 19:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12737 -2.849249)'), GeomFromEWKT('SRID=4674;POINT (-40.127488 -2.849385)'))) / (select extract(epoch from '2026-07-20 19:36:37'::timestamp) - extract(epoch from '2026-07-20 19:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
