 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414073 -2.737664)', '2026-07-17 08:53:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41407 -2.737701)'), GeomFromEWKT('SRID=4674;POINT (-40.414073 -2.737664)'))) / (select extract(epoch from '2026-07-17 08:53:46'::timestamp) - extract(epoch from '2026-07-17 08:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41407 -2.737701)'), GeomFromEWKT('SRID=4674;POINT (-40.414073 -2.737664)'))) / (select extract(epoch from '2026-07-17 08:53:46'::timestamp) - extract(epoch from '2026-07-17 08:52: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'), 47831, 'SRID=4674;POINT (-40.414097 -2.737619)', '2026-07-17 08:53:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414073 -2.737664)'), GeomFromEWKT('SRID=4674;POINT (-40.414097 -2.737619)'))) / (select extract(epoch from '2026-07-17 08:53:55'::timestamp) - extract(epoch from '2026-07-17 08:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414073 -2.737664)'), GeomFromEWKT('SRID=4674;POINT (-40.414097 -2.737619)'))) / (select extract(epoch from '2026-07-17 08:53:55'::timestamp) - extract(epoch from '2026-07-17 08:53: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'), 47831, 'SRID=4674;POINT (-40.41411 -2.737584)', '2026-07-17 08:54:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414097 -2.737619)'), GeomFromEWKT('SRID=4674;POINT (-40.41411 -2.737584)'))) / (select extract(epoch from '2026-07-17 08:54:02'::timestamp) - extract(epoch from '2026-07-17 08:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414097 -2.737619)'), GeomFromEWKT('SRID=4674;POINT (-40.41411 -2.737584)'))) / (select extract(epoch from '2026-07-17 08:54:02'::timestamp) - extract(epoch from '2026-07-17 08:53: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'), 47831, 'SRID=4674;POINT (-40.414113 -2.737532)', '2026-07-17 08:54:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41411 -2.737584)'), GeomFromEWKT('SRID=4674;POINT (-40.414113 -2.737532)'))) / (select extract(epoch from '2026-07-17 08:54:09'::timestamp) - extract(epoch from '2026-07-17 08:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41411 -2.737584)'), GeomFromEWKT('SRID=4674;POINT (-40.414113 -2.737532)'))) / (select extract(epoch from '2026-07-17 08:54:09'::timestamp) - extract(epoch from '2026-07-17 08:54: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'), 47831, 'SRID=4674;POINT (-40.41407 -2.737475)', '2026-07-17 08:54:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414113 -2.737532)'), GeomFromEWKT('SRID=4674;POINT (-40.41407 -2.737475)'))) / (select extract(epoch from '2026-07-17 08:54:16'::timestamp) - extract(epoch from '2026-07-17 08:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414113 -2.737532)'), GeomFromEWKT('SRID=4674;POINT (-40.41407 -2.737475)'))) / (select extract(epoch from '2026-07-17 08:54:16'::timestamp) - extract(epoch from '2026-07-17 08:54: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'), 47831, 'SRID=4674;POINT (-40.414072 -2.737378)', '2026-07-17 08:54:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41407 -2.737475)'), GeomFromEWKT('SRID=4674;POINT (-40.414072 -2.737378)'))) / (select extract(epoch from '2026-07-17 08:54:25'::timestamp) - extract(epoch from '2026-07-17 08:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41407 -2.737475)'), GeomFromEWKT('SRID=4674;POINT (-40.414072 -2.737378)'))) / (select extract(epoch from '2026-07-17 08:54:25'::timestamp) - extract(epoch from '2026-07-17 08:54: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'), 47831, 'SRID=4674;POINT (-40.414062 -2.73727)', '2026-07-17 08:54:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414072 -2.737378)'), GeomFromEWKT('SRID=4674;POINT (-40.414062 -2.73727)'))) / (select extract(epoch from '2026-07-17 08:54:32'::timestamp) - extract(epoch from '2026-07-17 08:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414072 -2.737378)'), GeomFromEWKT('SRID=4674;POINT (-40.414062 -2.73727)'))) / (select extract(epoch from '2026-07-17 08:54:32'::timestamp) - extract(epoch from '2026-07-17 08:54: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'), 47831, 'SRID=4674;POINT (-40.414058 -2.737172)', '2026-07-17 08:54:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414062 -2.73727)'), GeomFromEWKT('SRID=4674;POINT (-40.414058 -2.737172)'))) / (select extract(epoch from '2026-07-17 08:54:39'::timestamp) - extract(epoch from '2026-07-17 08:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414062 -2.73727)'), GeomFromEWKT('SRID=4674;POINT (-40.414058 -2.737172)'))) / (select extract(epoch from '2026-07-17 08:54:39'::timestamp) - extract(epoch from '2026-07-17 08:54: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'), 47831, 'SRID=4674;POINT (-40.41406 -2.737057)', '2026-07-17 08:54:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414058 -2.737172)'), GeomFromEWKT('SRID=4674;POINT (-40.41406 -2.737057)'))) / (select extract(epoch from '2026-07-17 08:54:47'::timestamp) - extract(epoch from '2026-07-17 08:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414058 -2.737172)'), GeomFromEWKT('SRID=4674;POINT (-40.41406 -2.737057)'))) / (select extract(epoch from '2026-07-17 08:54:47'::timestamp) - extract(epoch from '2026-07-17 08:54: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'), 47831, 'SRID=4674;POINT (-40.414068 -2.736936)', '2026-07-17 08:54:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41406 -2.737057)'), GeomFromEWKT('SRID=4674;POINT (-40.414068 -2.736936)'))) / (select extract(epoch from '2026-07-17 08:54:55'::timestamp) - extract(epoch from '2026-07-17 08:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41406 -2.737057)'), GeomFromEWKT('SRID=4674;POINT (-40.414068 -2.736936)'))) / (select extract(epoch from '2026-07-17 08:54:55'::timestamp) - extract(epoch from '2026-07-17 08:54:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414085 -2.736852)', '2026-07-17 08:55:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414068 -2.736936)'), GeomFromEWKT('SRID=4674;POINT (-40.414085 -2.736852)'))) / (select extract(epoch from '2026-07-17 08:55:02'::timestamp) - extract(epoch from '2026-07-17 08:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414068 -2.736936)'), GeomFromEWKT('SRID=4674;POINT (-40.414085 -2.736852)'))) / (select extract(epoch from '2026-07-17 08:55:02'::timestamp) - extract(epoch from '2026-07-17 08:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41415 -2.73677)', '2026-07-17 08:55:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414085 -2.736852)'), GeomFromEWKT('SRID=4674;POINT (-40.41415 -2.73677)'))) / (select extract(epoch from '2026-07-17 08:55:12'::timestamp) - extract(epoch from '2026-07-17 08:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414085 -2.736852)'), GeomFromEWKT('SRID=4674;POINT (-40.41415 -2.73677)'))) / (select extract(epoch from '2026-07-17 08:55:12'::timestamp) - extract(epoch from '2026-07-17 08:55: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'), 47831, 'SRID=4674;POINT (-40.414198 -2.736718)', '2026-07-17 08:55:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41415 -2.73677)'), GeomFromEWKT('SRID=4674;POINT (-40.414198 -2.736718)'))) / (select extract(epoch from '2026-07-17 08:55:19'::timestamp) - extract(epoch from '2026-07-17 08:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41415 -2.73677)'), GeomFromEWKT('SRID=4674;POINT (-40.414198 -2.736718)'))) / (select extract(epoch from '2026-07-17 08:55:19'::timestamp) - extract(epoch from '2026-07-17 08:55: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'), 47831, 'SRID=4674;POINT (-40.414251 -2.736617)', '2026-07-17 08:55:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414198 -2.736718)'), GeomFromEWKT('SRID=4674;POINT (-40.414251 -2.736617)'))) / (select extract(epoch from '2026-07-17 08:55:27'::timestamp) - extract(epoch from '2026-07-17 08:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414198 -2.736718)'), GeomFromEWKT('SRID=4674;POINT (-40.414251 -2.736617)'))) / (select extract(epoch from '2026-07-17 08:55:27'::timestamp) - extract(epoch from '2026-07-17 08:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414235 -2.736548)', '2026-07-17 08:55:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414251 -2.736617)'), GeomFromEWKT('SRID=4674;POINT (-40.414235 -2.736548)'))) / (select extract(epoch from '2026-07-17 08:55:35'::timestamp) - extract(epoch from '2026-07-17 08:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414251 -2.736617)'), GeomFromEWKT('SRID=4674;POINT (-40.414235 -2.736548)'))) / (select extract(epoch from '2026-07-17 08:55:35'::timestamp) - extract(epoch from '2026-07-17 08:55: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'), 47831, 'SRID=4674;POINT (-40.414218 -2.736553)', '2026-07-17 08:55:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414235 -2.736548)'), GeomFromEWKT('SRID=4674;POINT (-40.414218 -2.736553)'))) / (select extract(epoch from '2026-07-17 08:55:43'::timestamp) - extract(epoch from '2026-07-17 08:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414235 -2.736548)'), GeomFromEWKT('SRID=4674;POINT (-40.414218 -2.736553)'))) / (select extract(epoch from '2026-07-17 08:55:43'::timestamp) - extract(epoch from '2026-07-17 08:55:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414181 -2.736521)', '2026-07-17 08:55:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414218 -2.736553)'), GeomFromEWKT('SRID=4674;POINT (-40.414181 -2.736521)'))) / (select extract(epoch from '2026-07-17 08:55:51'::timestamp) - extract(epoch from '2026-07-17 08:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414218 -2.736553)'), GeomFromEWKT('SRID=4674;POINT (-40.414181 -2.736521)'))) / (select extract(epoch from '2026-07-17 08:55:51'::timestamp) - extract(epoch from '2026-07-17 08:55: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'), 47831, 'SRID=4674;POINT (-40.414135 -2.736504)', '2026-07-17 08:55:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414181 -2.736521)'), GeomFromEWKT('SRID=4674;POINT (-40.414135 -2.736504)'))) / (select extract(epoch from '2026-07-17 08:55:58'::timestamp) - extract(epoch from '2026-07-17 08:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414181 -2.736521)'), GeomFromEWKT('SRID=4674;POINT (-40.414135 -2.736504)'))) / (select extract(epoch from '2026-07-17 08:55:58'::timestamp) - extract(epoch from '2026-07-17 08:55: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'), 47831, 'SRID=4674;POINT (-40.414109 -2.736524)', '2026-07-17 08:56:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414135 -2.736504)'), GeomFromEWKT('SRID=4674;POINT (-40.414109 -2.736524)'))) / (select extract(epoch from '2026-07-17 08:56:05'::timestamp) - extract(epoch from '2026-07-17 08:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414135 -2.736504)'), GeomFromEWKT('SRID=4674;POINT (-40.414109 -2.736524)'))) / (select extract(epoch from '2026-07-17 08:56:05'::timestamp) - extract(epoch from '2026-07-17 08:55: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'), 47831, 'SRID=4674;POINT (-40.414115 -2.736586)', '2026-07-17 08:56:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414109 -2.736524)'), GeomFromEWKT('SRID=4674;POINT (-40.414115 -2.736586)'))) / (select extract(epoch from '2026-07-17 08:56:13'::timestamp) - extract(epoch from '2026-07-17 08:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414109 -2.736524)'), GeomFromEWKT('SRID=4674;POINT (-40.414115 -2.736586)'))) / (select extract(epoch from '2026-07-17 08:56:13'::timestamp) - extract(epoch from '2026-07-17 08:56: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'), 47831, 'SRID=4674;POINT (-40.414116 -2.736621)', '2026-07-17 08:56:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414115 -2.736586)'), GeomFromEWKT('SRID=4674;POINT (-40.414116 -2.736621)'))) / (select extract(epoch from '2026-07-17 08:56:20'::timestamp) - extract(epoch from '2026-07-17 08:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414115 -2.736586)'), GeomFromEWKT('SRID=4674;POINT (-40.414116 -2.736621)'))) / (select extract(epoch from '2026-07-17 08:56:20'::timestamp) - extract(epoch from '2026-07-17 08:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41415 -2.736623)', '2026-07-17 08:56:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414116 -2.736621)'), GeomFromEWKT('SRID=4674;POINT (-40.41415 -2.736623)'))) / (select extract(epoch from '2026-07-17 08:56:25'::timestamp) - extract(epoch from '2026-07-17 08:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414116 -2.736621)'), GeomFromEWKT('SRID=4674;POINT (-40.41415 -2.736623)'))) / (select extract(epoch from '2026-07-17 08:56:25'::timestamp) - extract(epoch from '2026-07-17 08:56: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'), 47831, 'SRID=4674;POINT (-40.414187 -2.736627)', '2026-07-17 08:56:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41415 -2.736623)'), GeomFromEWKT('SRID=4674;POINT (-40.414187 -2.736627)'))) / (select extract(epoch from '2026-07-17 08:56:32'::timestamp) - extract(epoch from '2026-07-17 08:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41415 -2.736623)'), GeomFromEWKT('SRID=4674;POINT (-40.414187 -2.736627)'))) / (select extract(epoch from '2026-07-17 08:56:32'::timestamp) - extract(epoch from '2026-07-17 08:56: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'), 47831, 'SRID=4674;POINT (-40.414252 -2.736628)', '2026-07-17 08:56:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414187 -2.736627)'), GeomFromEWKT('SRID=4674;POINT (-40.414252 -2.736628)'))) / (select extract(epoch from '2026-07-17 08:56:39'::timestamp) - extract(epoch from '2026-07-17 08:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414187 -2.736627)'), GeomFromEWKT('SRID=4674;POINT (-40.414252 -2.736628)'))) / (select extract(epoch from '2026-07-17 08:56:39'::timestamp) - extract(epoch from '2026-07-17 08:56: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'), 47831, 'SRID=4674;POINT (-40.414313 -2.736604)', '2026-07-17 08:56:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414252 -2.736628)'), GeomFromEWKT('SRID=4674;POINT (-40.414313 -2.736604)'))) / (select extract(epoch from '2026-07-17 08:56:48'::timestamp) - extract(epoch from '2026-07-17 08:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414252 -2.736628)'), GeomFromEWKT('SRID=4674;POINT (-40.414313 -2.736604)'))) / (select extract(epoch from '2026-07-17 08:56:48'::timestamp) - extract(epoch from '2026-07-17 08:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414335 -2.736577)', '2026-07-17 08:56:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414313 -2.736604)'), GeomFromEWKT('SRID=4674;POINT (-40.414335 -2.736577)'))) / (select extract(epoch from '2026-07-17 08:56:56'::timestamp) - extract(epoch from '2026-07-17 08:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414313 -2.736604)'), GeomFromEWKT('SRID=4674;POINT (-40.414335 -2.736577)'))) / (select extract(epoch from '2026-07-17 08:56:56'::timestamp) - extract(epoch from '2026-07-17 08:56: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'), 47831, 'SRID=4674;POINT (-40.414371 -2.736549)', '2026-07-17 08:57:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414335 -2.736577)'), GeomFromEWKT('SRID=4674;POINT (-40.414371 -2.736549)'))) / (select extract(epoch from '2026-07-17 08:57:04'::timestamp) - extract(epoch from '2026-07-17 08:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414335 -2.736577)'), GeomFromEWKT('SRID=4674;POINT (-40.414371 -2.736549)'))) / (select extract(epoch from '2026-07-17 08:57:04'::timestamp) - extract(epoch from '2026-07-17 08:56: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'), 47831, 'SRID=4674;POINT (-40.414363 -2.736526)', '2026-07-17 08:57:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414371 -2.736549)'), GeomFromEWKT('SRID=4674;POINT (-40.414363 -2.736526)'))) / (select extract(epoch from '2026-07-17 08:57:12'::timestamp) - extract(epoch from '2026-07-17 08:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414371 -2.736549)'), GeomFromEWKT('SRID=4674;POINT (-40.414363 -2.736526)'))) / (select extract(epoch from '2026-07-17 08:57:12'::timestamp) - extract(epoch from '2026-07-17 08:57:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414381 -2.736502)', '2026-07-17 08:57:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414363 -2.736526)'), GeomFromEWKT('SRID=4674;POINT (-40.414381 -2.736502)'))) / (select extract(epoch from '2026-07-17 08:57:19'::timestamp) - extract(epoch from '2026-07-17 08:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414363 -2.736526)'), GeomFromEWKT('SRID=4674;POINT (-40.414381 -2.736502)'))) / (select extract(epoch from '2026-07-17 08:57:19'::timestamp) - extract(epoch from '2026-07-17 08:57: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'), 47831, 'SRID=4674;POINT (-40.414399 -2.736491)', '2026-07-17 08:57:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414381 -2.736502)'), GeomFromEWKT('SRID=4674;POINT (-40.414399 -2.736491)'))) / (select extract(epoch from '2026-07-17 08:57:26'::timestamp) - extract(epoch from '2026-07-17 08:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414381 -2.736502)'), GeomFromEWKT('SRID=4674;POINT (-40.414399 -2.736491)'))) / (select extract(epoch from '2026-07-17 08:57:26'::timestamp) - extract(epoch from '2026-07-17 08:57: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'), 47831, 'SRID=4674;POINT (-40.414422 -2.736458)', '2026-07-17 08:57:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414399 -2.736491)'), GeomFromEWKT('SRID=4674;POINT (-40.414422 -2.736458)'))) / (select extract(epoch from '2026-07-17 08:57:38'::timestamp) - extract(epoch from '2026-07-17 08:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414399 -2.736491)'), GeomFromEWKT('SRID=4674;POINT (-40.414422 -2.736458)'))) / (select extract(epoch from '2026-07-17 08:57:38'::timestamp) - extract(epoch from '2026-07-17 08:57:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414447 -2.736398)', '2026-07-17 08:58:00', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414422 -2.736458)'), GeomFromEWKT('SRID=4674;POINT (-40.414447 -2.736398)'))) / (select extract(epoch from '2026-07-17 08:58:00'::timestamp) - extract(epoch from '2026-07-17 08:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414422 -2.736458)'), GeomFromEWKT('SRID=4674;POINT (-40.414447 -2.736398)'))) / (select extract(epoch from '2026-07-17 08:58:00'::timestamp) - extract(epoch from '2026-07-17 08:57: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'), 47831, 'SRID=4674;POINT (-40.414472 -2.736337)', '2026-07-17 08:58:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414447 -2.736398)'), GeomFromEWKT('SRID=4674;POINT (-40.414472 -2.736337)'))) / (select extract(epoch from '2026-07-17 08:58:08'::timestamp) - extract(epoch from '2026-07-17 08:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414447 -2.736398)'), GeomFromEWKT('SRID=4674;POINT (-40.414472 -2.736337)'))) / (select extract(epoch from '2026-07-17 08:58:08'::timestamp) - extract(epoch from '2026-07-17 08:58: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'), 47831, 'SRID=4674;POINT (-40.414479 -2.736316)', '2026-07-17 08:58:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414472 -2.736337)'), GeomFromEWKT('SRID=4674;POINT (-40.414479 -2.736316)'))) / (select extract(epoch from '2026-07-17 08:58:10'::timestamp) - extract(epoch from '2026-07-17 08:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414472 -2.736337)'), GeomFromEWKT('SRID=4674;POINT (-40.414479 -2.736316)'))) / (select extract(epoch from '2026-07-17 08:58:10'::timestamp) - extract(epoch from '2026-07-17 08:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414507 -2.73626)', '2026-07-17 08:58:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414479 -2.736316)'), GeomFromEWKT('SRID=4674;POINT (-40.414507 -2.73626)'))) / (select extract(epoch from '2026-07-17 08:58:15'::timestamp) - extract(epoch from '2026-07-17 08:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414479 -2.736316)'), GeomFromEWKT('SRID=4674;POINT (-40.414507 -2.73626)'))) / (select extract(epoch from '2026-07-17 08:58:15'::timestamp) - extract(epoch from '2026-07-17 08:58: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'), 47831, 'SRID=4674;POINT (-40.414539 -2.736199)', '2026-07-17 08:58:22', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414507 -2.73626)'), GeomFromEWKT('SRID=4674;POINT (-40.414539 -2.736199)'))) / (select extract(epoch from '2026-07-17 08:58:22'::timestamp) - extract(epoch from '2026-07-17 08:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414507 -2.73626)'), GeomFromEWKT('SRID=4674;POINT (-40.414539 -2.736199)'))) / (select extract(epoch from '2026-07-17 08:58:22'::timestamp) - extract(epoch from '2026-07-17 08:58:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414539 -2.736107)', '2026-07-17 08:58:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414539 -2.736199)'), GeomFromEWKT('SRID=4674;POINT (-40.414539 -2.736107)'))) / (select extract(epoch from '2026-07-17 08:58:29'::timestamp) - extract(epoch from '2026-07-17 08:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414539 -2.736199)'), GeomFromEWKT('SRID=4674;POINT (-40.414539 -2.736107)'))) / (select extract(epoch from '2026-07-17 08:58:29'::timestamp) - extract(epoch from '2026-07-17 08:58: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'), 47831, 'SRID=4674;POINT (-40.414531 -2.736027)', '2026-07-17 08:58:36', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414539 -2.736107)'), GeomFromEWKT('SRID=4674;POINT (-40.414531 -2.736027)'))) / (select extract(epoch from '2026-07-17 08:58:36'::timestamp) - extract(epoch from '2026-07-17 08:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414539 -2.736107)'), GeomFromEWKT('SRID=4674;POINT (-40.414531 -2.736027)'))) / (select extract(epoch from '2026-07-17 08:58:36'::timestamp) - extract(epoch from '2026-07-17 08:58: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'), 47831, 'SRID=4674;POINT (-40.414496 -2.73599)', '2026-07-17 08:58:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414531 -2.736027)'), GeomFromEWKT('SRID=4674;POINT (-40.414496 -2.73599)'))) / (select extract(epoch from '2026-07-17 08:58:41'::timestamp) - extract(epoch from '2026-07-17 08:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414531 -2.736027)'), GeomFromEWKT('SRID=4674;POINT (-40.414496 -2.73599)'))) / (select extract(epoch from '2026-07-17 08:58:41'::timestamp) - extract(epoch from '2026-07-17 08:58: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'), 47831, 'SRID=4674;POINT (-40.414493 -2.735977)', '2026-07-17 08:58:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414496 -2.73599)'), GeomFromEWKT('SRID=4674;POINT (-40.414493 -2.735977)'))) / (select extract(epoch from '2026-07-17 08:58:43'::timestamp) - extract(epoch from '2026-07-17 08:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414496 -2.73599)'), GeomFromEWKT('SRID=4674;POINT (-40.414493 -2.735977)'))) / (select extract(epoch from '2026-07-17 08:58:43'::timestamp) - extract(epoch from '2026-07-17 08:58:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414454 -2.73594)', '2026-07-17 08:58:51', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414493 -2.735977)'), GeomFromEWKT('SRID=4674;POINT (-40.414454 -2.73594)'))) / (select extract(epoch from '2026-07-17 08:58:51'::timestamp) - extract(epoch from '2026-07-17 08:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414493 -2.735977)'), GeomFromEWKT('SRID=4674;POINT (-40.414454 -2.73594)'))) / (select extract(epoch from '2026-07-17 08:58:51'::timestamp) - extract(epoch from '2026-07-17 08:58: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'), 47831, 'SRID=4674;POINT (-40.414419 -2.735954)', '2026-07-17 08:59:00', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414454 -2.73594)'), GeomFromEWKT('SRID=4674;POINT (-40.414419 -2.735954)'))) / (select extract(epoch from '2026-07-17 08:59:00'::timestamp) - extract(epoch from '2026-07-17 08:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414454 -2.73594)'), GeomFromEWKT('SRID=4674;POINT (-40.414419 -2.735954)'))) / (select extract(epoch from '2026-07-17 08:59:00'::timestamp) - extract(epoch from '2026-07-17 08:58:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414416 -2.735994)', '2026-07-17 08:59:08', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414419 -2.735954)'), GeomFromEWKT('SRID=4674;POINT (-40.414416 -2.735994)'))) / (select extract(epoch from '2026-07-17 08:59:08'::timestamp) - extract(epoch from '2026-07-17 08:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414419 -2.735954)'), GeomFromEWKT('SRID=4674;POINT (-40.414416 -2.735994)'))) / (select extract(epoch from '2026-07-17 08:59:08'::timestamp) - extract(epoch from '2026-07-17 08:59: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'), 47831, 'SRID=4674;POINT (-40.41443 -2.736037)', '2026-07-17 08:59:17', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414416 -2.735994)'), GeomFromEWKT('SRID=4674;POINT (-40.41443 -2.736037)'))) / (select extract(epoch from '2026-07-17 08:59:17'::timestamp) - extract(epoch from '2026-07-17 08:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414416 -2.735994)'), GeomFromEWKT('SRID=4674;POINT (-40.41443 -2.736037)'))) / (select extract(epoch from '2026-07-17 08:59:17'::timestamp) - extract(epoch from '2026-07-17 08:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414418 -2.736109)', '2026-07-17 08:59:25', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41443 -2.736037)'), GeomFromEWKT('SRID=4674;POINT (-40.414418 -2.736109)'))) / (select extract(epoch from '2026-07-17 08:59:25'::timestamp) - extract(epoch from '2026-07-17 08:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41443 -2.736037)'), GeomFromEWKT('SRID=4674;POINT (-40.414418 -2.736109)'))) / (select extract(epoch from '2026-07-17 08:59:25'::timestamp) - extract(epoch from '2026-07-17 08:59: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'), 47831, 'SRID=4674;POINT (-40.414465 -2.736151)', '2026-07-17 08:59:32', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414418 -2.736109)'), GeomFromEWKT('SRID=4674;POINT (-40.414465 -2.736151)'))) / (select extract(epoch from '2026-07-17 08:59:32'::timestamp) - extract(epoch from '2026-07-17 08:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414418 -2.736109)'), GeomFromEWKT('SRID=4674;POINT (-40.414465 -2.736151)'))) / (select extract(epoch from '2026-07-17 08:59:32'::timestamp) - extract(epoch from '2026-07-17 08:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414497 -2.736157)', '2026-07-17 08:59:40', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414465 -2.736151)'), GeomFromEWKT('SRID=4674;POINT (-40.414497 -2.736157)'))) / (select extract(epoch from '2026-07-17 08:59:40'::timestamp) - extract(epoch from '2026-07-17 08:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414465 -2.736151)'), GeomFromEWKT('SRID=4674;POINT (-40.414497 -2.736157)'))) / (select extract(epoch from '2026-07-17 08:59:40'::timestamp) - extract(epoch from '2026-07-17 08:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414602 -2.736176)', '2026-07-17 08:59:47', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414497 -2.736157)'), GeomFromEWKT('SRID=4674;POINT (-40.414602 -2.736176)'))) / (select extract(epoch from '2026-07-17 08:59:47'::timestamp) - extract(epoch from '2026-07-17 08:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414497 -2.736157)'), GeomFromEWKT('SRID=4674;POINT (-40.414602 -2.736176)'))) / (select extract(epoch from '2026-07-17 08:59:47'::timestamp) - extract(epoch from '2026-07-17 08:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414734 -2.736181)', '2026-07-17 08:59:56', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414602 -2.736176)'), GeomFromEWKT('SRID=4674;POINT (-40.414734 -2.736181)'))) / (select extract(epoch from '2026-07-17 08:59:56'::timestamp) - extract(epoch from '2026-07-17 08:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414602 -2.736176)'), GeomFromEWKT('SRID=4674;POINT (-40.414734 -2.736181)'))) / (select extract(epoch from '2026-07-17 08:59:56'::timestamp) - extract(epoch from '2026-07-17 08:59: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'), 47831, 'SRID=4674;POINT (-40.414756 -2.736168)', '2026-07-17 09:00:03', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414734 -2.736181)'), GeomFromEWKT('SRID=4674;POINT (-40.414756 -2.736168)'))) / (select extract(epoch from '2026-07-17 09:00:03'::timestamp) - extract(epoch from '2026-07-17 08:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414734 -2.736181)'), GeomFromEWKT('SRID=4674;POINT (-40.414756 -2.736168)'))) / (select extract(epoch from '2026-07-17 09:00:03'::timestamp) - extract(epoch from '2026-07-17 08:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414773 -2.736148)', '2026-07-17 09:00:08', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414756 -2.736168)'), GeomFromEWKT('SRID=4674;POINT (-40.414773 -2.736148)'))) / (select extract(epoch from '2026-07-17 09:00:08'::timestamp) - extract(epoch from '2026-07-17 09:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414756 -2.736168)'), GeomFromEWKT('SRID=4674;POINT (-40.414773 -2.736148)'))) / (select extract(epoch from '2026-07-17 09:00:08'::timestamp) - extract(epoch from '2026-07-17 09:00: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'), 47831, 'SRID=4674;POINT (-40.414781 -2.736143)', '2026-07-17 09:00:10', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414773 -2.736148)'), GeomFromEWKT('SRID=4674;POINT (-40.414781 -2.736143)'))) / (select extract(epoch from '2026-07-17 09:00:10'::timestamp) - extract(epoch from '2026-07-17 09:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414773 -2.736148)'), GeomFromEWKT('SRID=4674;POINT (-40.414781 -2.736143)'))) / (select extract(epoch from '2026-07-17 09:00:10'::timestamp) - extract(epoch from '2026-07-17 09:00:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414808 -2.736108)', '2026-07-17 09:00:17', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414781 -2.736143)'), GeomFromEWKT('SRID=4674;POINT (-40.414808 -2.736108)'))) / (select extract(epoch from '2026-07-17 09:00:17'::timestamp) - extract(epoch from '2026-07-17 09:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414781 -2.736143)'), GeomFromEWKT('SRID=4674;POINT (-40.414808 -2.736108)'))) / (select extract(epoch from '2026-07-17 09:00:17'::timestamp) - extract(epoch from '2026-07-17 09:00: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'), 47831, 'SRID=4674;POINT (-40.414835 -2.736098)', '2026-07-17 09:00:23', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414808 -2.736108)'), GeomFromEWKT('SRID=4674;POINT (-40.414835 -2.736098)'))) / (select extract(epoch from '2026-07-17 09:00:23'::timestamp) - extract(epoch from '2026-07-17 09:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414808 -2.736108)'), GeomFromEWKT('SRID=4674;POINT (-40.414835 -2.736098)'))) / (select extract(epoch from '2026-07-17 09:00:23'::timestamp) - extract(epoch from '2026-07-17 09:00: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'), 47831, 'SRID=4674;POINT (-40.414884 -2.736071)', '2026-07-17 09:00:30', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414835 -2.736098)'), GeomFromEWKT('SRID=4674;POINT (-40.414884 -2.736071)'))) / (select extract(epoch from '2026-07-17 09:00:30'::timestamp) - extract(epoch from '2026-07-17 09:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414835 -2.736098)'), GeomFromEWKT('SRID=4674;POINT (-40.414884 -2.736071)'))) / (select extract(epoch from '2026-07-17 09:00:30'::timestamp) - extract(epoch from '2026-07-17 09:00: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'), 47831, 'SRID=4674;POINT (-40.414924 -2.736048)', '2026-07-17 09:00:38', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414884 -2.736071)'), GeomFromEWKT('SRID=4674;POINT (-40.414924 -2.736048)'))) / (select extract(epoch from '2026-07-17 09:00:38'::timestamp) - extract(epoch from '2026-07-17 09:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414884 -2.736071)'), GeomFromEWKT('SRID=4674;POINT (-40.414924 -2.736048)'))) / (select extract(epoch from '2026-07-17 09:00:38'::timestamp) - extract(epoch from '2026-07-17 09:00: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'), 47831, 'SRID=4674;POINT (-40.41499 -2.736013)', '2026-07-17 09:00:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414924 -2.736048)'), GeomFromEWKT('SRID=4674;POINT (-40.41499 -2.736013)'))) / (select extract(epoch from '2026-07-17 09:00:48'::timestamp) - extract(epoch from '2026-07-17 09:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414924 -2.736048)'), GeomFromEWKT('SRID=4674;POINT (-40.41499 -2.736013)'))) / (select extract(epoch from '2026-07-17 09:00:48'::timestamp) - extract(epoch from '2026-07-17 09:00: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'), 47831, 'SRID=4674;POINT (-40.414995 -2.736)', '2026-07-17 09:00:55', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41499 -2.736013)'), GeomFromEWKT('SRID=4674;POINT (-40.414995 -2.736)'))) / (select extract(epoch from '2026-07-17 09:00:55'::timestamp) - extract(epoch from '2026-07-17 09:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41499 -2.736013)'), GeomFromEWKT('SRID=4674;POINT (-40.414995 -2.736)'))) / (select extract(epoch from '2026-07-17 09:00:55'::timestamp) - extract(epoch from '2026-07-17 09:00:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41505 -2.735971)', '2026-07-17 09:01:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414995 -2.736)'), GeomFromEWKT('SRID=4674;POINT (-40.41505 -2.735971)'))) / (select extract(epoch from '2026-07-17 09:01:04'::timestamp) - extract(epoch from '2026-07-17 09:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414995 -2.736)'), GeomFromEWKT('SRID=4674;POINT (-40.41505 -2.735971)'))) / (select extract(epoch from '2026-07-17 09:01:04'::timestamp) - extract(epoch from '2026-07-17 09:00:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415067 -2.735943)', '2026-07-17 09:01:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41505 -2.735971)'), GeomFromEWKT('SRID=4674;POINT (-40.415067 -2.735943)'))) / (select extract(epoch from '2026-07-17 09:01:12'::timestamp) - extract(epoch from '2026-07-17 09:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41505 -2.735971)'), GeomFromEWKT('SRID=4674;POINT (-40.415067 -2.735943)'))) / (select extract(epoch from '2026-07-17 09:01:12'::timestamp) - extract(epoch from '2026-07-17 09:01: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'), 47831, 'SRID=4674;POINT (-40.415092 -2.735929)', '2026-07-17 09:01:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415067 -2.735943)'), GeomFromEWKT('SRID=4674;POINT (-40.415092 -2.735929)'))) / (select extract(epoch from '2026-07-17 09:01:19'::timestamp) - extract(epoch from '2026-07-17 09:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415067 -2.735943)'), GeomFromEWKT('SRID=4674;POINT (-40.415092 -2.735929)'))) / (select extract(epoch from '2026-07-17 09:01:19'::timestamp) - extract(epoch from '2026-07-17 09:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415134 -2.73592)', '2026-07-17 09:01:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415092 -2.735929)'), GeomFromEWKT('SRID=4674;POINT (-40.415134 -2.73592)'))) / (select extract(epoch from '2026-07-17 09:01:24'::timestamp) - extract(epoch from '2026-07-17 09:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415092 -2.735929)'), GeomFromEWKT('SRID=4674;POINT (-40.415134 -2.73592)'))) / (select extract(epoch from '2026-07-17 09:01:24'::timestamp) - extract(epoch from '2026-07-17 09:01:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415155 -2.735915)', '2026-07-17 09:01:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415134 -2.73592)'), GeomFromEWKT('SRID=4674;POINT (-40.415155 -2.735915)'))) / (select extract(epoch from '2026-07-17 09:01:26'::timestamp) - extract(epoch from '2026-07-17 09:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415134 -2.73592)'), GeomFromEWKT('SRID=4674;POINT (-40.415155 -2.735915)'))) / (select extract(epoch from '2026-07-17 09:01:26'::timestamp) - extract(epoch from '2026-07-17 09:01:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415164 -2.735915)', '2026-07-17 09:01:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415155 -2.735915)'), GeomFromEWKT('SRID=4674;POINT (-40.415164 -2.735915)'))) / (select extract(epoch from '2026-07-17 09:01:27'::timestamp) - extract(epoch from '2026-07-17 09:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415155 -2.735915)'), GeomFromEWKT('SRID=4674;POINT (-40.415164 -2.735915)'))) / (select extract(epoch from '2026-07-17 09:01:27'::timestamp) - extract(epoch from '2026-07-17 09:01:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41518 -2.735927)', '2026-07-17 09:01:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415164 -2.735915)'), GeomFromEWKT('SRID=4674;POINT (-40.41518 -2.735927)'))) / (select extract(epoch from '2026-07-17 09:01:35'::timestamp) - extract(epoch from '2026-07-17 09:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415164 -2.735915)'), GeomFromEWKT('SRID=4674;POINT (-40.41518 -2.735927)'))) / (select extract(epoch from '2026-07-17 09:01:35'::timestamp) - extract(epoch from '2026-07-17 09:01:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415239 -2.73593)', '2026-07-17 09:01:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41518 -2.735927)'), GeomFromEWKT('SRID=4674;POINT (-40.415239 -2.73593)'))) / (select extract(epoch from '2026-07-17 09:01:41'::timestamp) - extract(epoch from '2026-07-17 09:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41518 -2.735927)'), GeomFromEWKT('SRID=4674;POINT (-40.415239 -2.73593)'))) / (select extract(epoch from '2026-07-17 09:01:41'::timestamp) - extract(epoch from '2026-07-17 09:01: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'), 47831, 'SRID=4674;POINT (-40.415348 -2.735903)', '2026-07-17 09:01:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415239 -2.73593)'), GeomFromEWKT('SRID=4674;POINT (-40.415348 -2.735903)'))) / (select extract(epoch from '2026-07-17 09:01:48'::timestamp) - extract(epoch from '2026-07-17 09:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415239 -2.73593)'), GeomFromEWKT('SRID=4674;POINT (-40.415348 -2.735903)'))) / (select extract(epoch from '2026-07-17 09:01:48'::timestamp) - extract(epoch from '2026-07-17 09:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415453 -2.735883)', '2026-07-17 09:01:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415348 -2.735903)'), GeomFromEWKT('SRID=4674;POINT (-40.415453 -2.735883)'))) / (select extract(epoch from '2026-07-17 09:01:55'::timestamp) - extract(epoch from '2026-07-17 09:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415348 -2.735903)'), GeomFromEWKT('SRID=4674;POINT (-40.415453 -2.735883)'))) / (select extract(epoch from '2026-07-17 09:01:55'::timestamp) - extract(epoch from '2026-07-17 09:01: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'), 47831, 'SRID=4674;POINT (-40.415511 -2.735883)', '2026-07-17 09:02:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415453 -2.735883)'), GeomFromEWKT('SRID=4674;POINT (-40.415511 -2.735883)'))) / (select extract(epoch from '2026-07-17 09:02:03'::timestamp) - extract(epoch from '2026-07-17 09:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415453 -2.735883)'), GeomFromEWKT('SRID=4674;POINT (-40.415511 -2.735883)'))) / (select extract(epoch from '2026-07-17 09:02:03'::timestamp) - extract(epoch from '2026-07-17 09:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415546 -2.735876)', '2026-07-17 09:02:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415511 -2.735883)'), GeomFromEWKT('SRID=4674;POINT (-40.415546 -2.735876)'))) / (select extract(epoch from '2026-07-17 09:02:08'::timestamp) - extract(epoch from '2026-07-17 09:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415511 -2.735883)'), GeomFromEWKT('SRID=4674;POINT (-40.415546 -2.735876)'))) / (select extract(epoch from '2026-07-17 09:02:08'::timestamp) - extract(epoch from '2026-07-17 09:02:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415574 -2.735857)', '2026-07-17 09:02:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415546 -2.735876)'), GeomFromEWKT('SRID=4674;POINT (-40.415574 -2.735857)'))) / (select extract(epoch from '2026-07-17 09:02:11'::timestamp) - extract(epoch from '2026-07-17 09:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415546 -2.735876)'), GeomFromEWKT('SRID=4674;POINT (-40.415574 -2.735857)'))) / (select extract(epoch from '2026-07-17 09:02:11'::timestamp) - extract(epoch from '2026-07-17 09:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415614 -2.735816)', '2026-07-17 09:02:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415574 -2.735857)'), GeomFromEWKT('SRID=4674;POINT (-40.415614 -2.735816)'))) / (select extract(epoch from '2026-07-17 09:02:18'::timestamp) - extract(epoch from '2026-07-17 09:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415574 -2.735857)'), GeomFromEWKT('SRID=4674;POINT (-40.415614 -2.735816)'))) / (select extract(epoch from '2026-07-17 09:02:18'::timestamp) - extract(epoch from '2026-07-17 09:02: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'), 47831, 'SRID=4674;POINT (-40.415715 -2.735752)', '2026-07-17 09:02:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415614 -2.735816)'), GeomFromEWKT('SRID=4674;POINT (-40.415715 -2.735752)'))) / (select extract(epoch from '2026-07-17 09:02:26'::timestamp) - extract(epoch from '2026-07-17 09:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415614 -2.735816)'), GeomFromEWKT('SRID=4674;POINT (-40.415715 -2.735752)'))) / (select extract(epoch from '2026-07-17 09:02:26'::timestamp) - extract(epoch from '2026-07-17 09:02: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'), 47831, 'SRID=4674;POINT (-40.41574 -2.735718)', '2026-07-17 09:02:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415715 -2.735752)'), GeomFromEWKT('SRID=4674;POINT (-40.41574 -2.735718)'))) / (select extract(epoch from '2026-07-17 09:02:34'::timestamp) - extract(epoch from '2026-07-17 09:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415715 -2.735752)'), GeomFromEWKT('SRID=4674;POINT (-40.41574 -2.735718)'))) / (select extract(epoch from '2026-07-17 09:02:34'::timestamp) - extract(epoch from '2026-07-17 09:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415704 -2.735686)', '2026-07-17 09:02:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41574 -2.735718)'), GeomFromEWKT('SRID=4674;POINT (-40.415704 -2.735686)'))) / (select extract(epoch from '2026-07-17 09:02:41'::timestamp) - extract(epoch from '2026-07-17 09:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41574 -2.735718)'), GeomFromEWKT('SRID=4674;POINT (-40.415704 -2.735686)'))) / (select extract(epoch from '2026-07-17 09:02:41'::timestamp) - extract(epoch from '2026-07-17 09:02: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'), 47831, 'SRID=4674;POINT (-40.41561 -2.735693)', '2026-07-17 09:02:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415704 -2.735686)'), GeomFromEWKT('SRID=4674;POINT (-40.41561 -2.735693)'))) / (select extract(epoch from '2026-07-17 09:02:49'::timestamp) - extract(epoch from '2026-07-17 09:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415704 -2.735686)'), GeomFromEWKT('SRID=4674;POINT (-40.41561 -2.735693)'))) / (select extract(epoch from '2026-07-17 09:02:49'::timestamp) - extract(epoch from '2026-07-17 09:02: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'), 47831, 'SRID=4674;POINT (-40.415572 -2.73571)', '2026-07-17 09:02:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41561 -2.735693)'), GeomFromEWKT('SRID=4674;POINT (-40.415572 -2.73571)'))) / (select extract(epoch from '2026-07-17 09:02:51'::timestamp) - extract(epoch from '2026-07-17 09:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41561 -2.735693)'), GeomFromEWKT('SRID=4674;POINT (-40.415572 -2.73571)'))) / (select extract(epoch from '2026-07-17 09:02:51'::timestamp) - extract(epoch from '2026-07-17 09:02: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'), 47831, 'SRID=4674;POINT (-40.415502 -2.73577)', '2026-07-17 09:02:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415572 -2.73571)'), GeomFromEWKT('SRID=4674;POINT (-40.415502 -2.73577)'))) / (select extract(epoch from '2026-07-17 09:02:56'::timestamp) - extract(epoch from '2026-07-17 09:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415572 -2.73571)'), GeomFromEWKT('SRID=4674;POINT (-40.415502 -2.73577)'))) / (select extract(epoch from '2026-07-17 09:02:56'::timestamp) - extract(epoch from '2026-07-17 09:02: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'), 47831, 'SRID=4674;POINT (-40.415483 -2.735815)', '2026-07-17 09:03:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415502 -2.73577)'), GeomFromEWKT('SRID=4674;POINT (-40.415483 -2.735815)'))) / (select extract(epoch from '2026-07-17 09:03:03'::timestamp) - extract(epoch from '2026-07-17 09:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415502 -2.73577)'), GeomFromEWKT('SRID=4674;POINT (-40.415483 -2.735815)'))) / (select extract(epoch from '2026-07-17 09:03:03'::timestamp) - extract(epoch from '2026-07-17 09:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415515 -2.73579)', '2026-07-17 09:03:11', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415483 -2.735815)'), GeomFromEWKT('SRID=4674;POINT (-40.415515 -2.73579)'))) / (select extract(epoch from '2026-07-17 09:03:11'::timestamp) - extract(epoch from '2026-07-17 09:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415483 -2.735815)'), GeomFromEWKT('SRID=4674;POINT (-40.415515 -2.73579)'))) / (select extract(epoch from '2026-07-17 09:03:11'::timestamp) - extract(epoch from '2026-07-17 09:03: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'), 47831, 'SRID=4674;POINT (-40.41551 -2.735808)', '2026-07-17 09:03:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415515 -2.73579)'), GeomFromEWKT('SRID=4674;POINT (-40.41551 -2.735808)'))) / (select extract(epoch from '2026-07-17 09:03:21'::timestamp) - extract(epoch from '2026-07-17 09:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415515 -2.73579)'), GeomFromEWKT('SRID=4674;POINT (-40.41551 -2.735808)'))) / (select extract(epoch from '2026-07-17 09:03:21'::timestamp) - extract(epoch from '2026-07-17 09:03: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'), 47831, 'SRID=4674;POINT (-40.415513 -2.735803)', '2026-07-17 09:03:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41551 -2.735808)'), GeomFromEWKT('SRID=4674;POINT (-40.415513 -2.735803)'))) / (select extract(epoch from '2026-07-17 09:03:46'::timestamp) - extract(epoch from '2026-07-17 09:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41551 -2.735808)'), GeomFromEWKT('SRID=4674;POINT (-40.415513 -2.735803)'))) / (select extract(epoch from '2026-07-17 09:03:46'::timestamp) - extract(epoch from '2026-07-17 09:03:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415547 -2.735778)', '2026-07-17 09:04:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415513 -2.735803)'), GeomFromEWKT('SRID=4674;POINT (-40.415547 -2.735778)'))) / (select extract(epoch from '2026-07-17 09:04:02'::timestamp) - extract(epoch from '2026-07-17 09:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415513 -2.735803)'), GeomFromEWKT('SRID=4674;POINT (-40.415547 -2.735778)'))) / (select extract(epoch from '2026-07-17 09:04:02'::timestamp) - extract(epoch from '2026-07-17 09:03:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415546 -2.735779)', '2026-07-17 09:04:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415547 -2.735778)'), GeomFromEWKT('SRID=4674;POINT (-40.415546 -2.735779)'))) / (select extract(epoch from '2026-07-17 09:04:10'::timestamp) - extract(epoch from '2026-07-17 09:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415547 -2.735778)'), GeomFromEWKT('SRID=4674;POINT (-40.415546 -2.735779)'))) / (select extract(epoch from '2026-07-17 09:04:10'::timestamp) - extract(epoch from '2026-07-17 09:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415576 -2.735757)', '2026-07-17 09:04:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415546 -2.735779)'), GeomFromEWKT('SRID=4674;POINT (-40.415576 -2.735757)'))) / (select extract(epoch from '2026-07-17 09:04:38'::timestamp) - extract(epoch from '2026-07-17 09:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415546 -2.735779)'), GeomFromEWKT('SRID=4674;POINT (-40.415576 -2.735757)'))) / (select extract(epoch from '2026-07-17 09:04:38'::timestamp) - extract(epoch from '2026-07-17 09:04:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415604 -2.735719)', '2026-07-17 09:04:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415576 -2.735757)'), GeomFromEWKT('SRID=4674;POINT (-40.415604 -2.735719)'))) / (select extract(epoch from '2026-07-17 09:04:49'::timestamp) - extract(epoch from '2026-07-17 09:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415576 -2.735757)'), GeomFromEWKT('SRID=4674;POINT (-40.415604 -2.735719)'))) / (select extract(epoch from '2026-07-17 09:04:49'::timestamp) - extract(epoch from '2026-07-17 09:04: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'), 47831, 'SRID=4674;POINT (-40.415636 -2.735624)', '2026-07-17 09:04:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415604 -2.735719)'), GeomFromEWKT('SRID=4674;POINT (-40.415636 -2.735624)'))) / (select extract(epoch from '2026-07-17 09:04:57'::timestamp) - extract(epoch from '2026-07-17 09:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415604 -2.735719)'), GeomFromEWKT('SRID=4674;POINT (-40.415636 -2.735624)'))) / (select extract(epoch from '2026-07-17 09:04:57'::timestamp) - extract(epoch from '2026-07-17 09:04: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'), 47831, 'SRID=4674;POINT (-40.415635 -2.735538)', '2026-07-17 09:05:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415636 -2.735624)'), GeomFromEWKT('SRID=4674;POINT (-40.415635 -2.735538)'))) / (select extract(epoch from '2026-07-17 09:05:04'::timestamp) - extract(epoch from '2026-07-17 09:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415636 -2.735624)'), GeomFromEWKT('SRID=4674;POINT (-40.415635 -2.735538)'))) / (select extract(epoch from '2026-07-17 09:05:04'::timestamp) - extract(epoch from '2026-07-17 09:04: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'), 47831, 'SRID=4674;POINT (-40.415607 -2.735437)', '2026-07-17 09:05:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415635 -2.735538)'), GeomFromEWKT('SRID=4674;POINT (-40.415607 -2.735437)'))) / (select extract(epoch from '2026-07-17 09:05:11'::timestamp) - extract(epoch from '2026-07-17 09:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415635 -2.735538)'), GeomFromEWKT('SRID=4674;POINT (-40.415607 -2.735437)'))) / (select extract(epoch from '2026-07-17 09:05:11'::timestamp) - extract(epoch from '2026-07-17 09:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415575 -2.735301)', '2026-07-17 09:05:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415607 -2.735437)'), GeomFromEWKT('SRID=4674;POINT (-40.415575 -2.735301)'))) / (select extract(epoch from '2026-07-17 09:05:20'::timestamp) - extract(epoch from '2026-07-17 09:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415607 -2.735437)'), GeomFromEWKT('SRID=4674;POINT (-40.415575 -2.735301)'))) / (select extract(epoch from '2026-07-17 09:05:20'::timestamp) - extract(epoch from '2026-07-17 09:05: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'), 47831, 'SRID=4674;POINT (-40.415471 -2.735264)', '2026-07-17 09:05:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415575 -2.735301)'), GeomFromEWKT('SRID=4674;POINT (-40.415471 -2.735264)'))) / (select extract(epoch from '2026-07-17 09:05:26'::timestamp) - extract(epoch from '2026-07-17 09:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415575 -2.735301)'), GeomFromEWKT('SRID=4674;POINT (-40.415471 -2.735264)'))) / (select extract(epoch from '2026-07-17 09:05:26'::timestamp) - extract(epoch from '2026-07-17 09:05: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'), 47831, 'SRID=4674;POINT (-40.415384 -2.735259)', '2026-07-17 09:05:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415471 -2.735264)'), GeomFromEWKT('SRID=4674;POINT (-40.415384 -2.735259)'))) / (select extract(epoch from '2026-07-17 09:05:32'::timestamp) - extract(epoch from '2026-07-17 09:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415471 -2.735264)'), GeomFromEWKT('SRID=4674;POINT (-40.415384 -2.735259)'))) / (select extract(epoch from '2026-07-17 09:05:32'::timestamp) - extract(epoch from '2026-07-17 09:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415223 -2.735284)', '2026-07-17 09:05:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415384 -2.735259)'), GeomFromEWKT('SRID=4674;POINT (-40.415223 -2.735284)'))) / (select extract(epoch from '2026-07-17 09:05:39'::timestamp) - extract(epoch from '2026-07-17 09:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415384 -2.735259)'), GeomFromEWKT('SRID=4674;POINT (-40.415223 -2.735284)'))) / (select extract(epoch from '2026-07-17 09:05:39'::timestamp) - extract(epoch from '2026-07-17 09:05: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'), 47831, 'SRID=4674;POINT (-40.41503 -2.73529)', '2026-07-17 09:05:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415223 -2.735284)'), GeomFromEWKT('SRID=4674;POINT (-40.41503 -2.73529)'))) / (select extract(epoch from '2026-07-17 09:05:47'::timestamp) - extract(epoch from '2026-07-17 09:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415223 -2.735284)'), GeomFromEWKT('SRID=4674;POINT (-40.41503 -2.73529)'))) / (select extract(epoch from '2026-07-17 09:05:47'::timestamp) - extract(epoch from '2026-07-17 09:05: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'), 47831, 'SRID=4674;POINT (-40.414818 -2.73529)', '2026-07-17 09:05:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41503 -2.73529)'), GeomFromEWKT('SRID=4674;POINT (-40.414818 -2.73529)'))) / (select extract(epoch from '2026-07-17 09:05:56'::timestamp) - extract(epoch from '2026-07-17 09:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41503 -2.73529)'), GeomFromEWKT('SRID=4674;POINT (-40.414818 -2.73529)'))) / (select extract(epoch from '2026-07-17 09:05:56'::timestamp) - extract(epoch from '2026-07-17 09:05:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414712 -2.735269)', '2026-07-17 09:06:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414818 -2.73529)'), GeomFromEWKT('SRID=4674;POINT (-40.414712 -2.735269)'))) / (select extract(epoch from '2026-07-17 09:06:03'::timestamp) - extract(epoch from '2026-07-17 09:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414818 -2.73529)'), GeomFromEWKT('SRID=4674;POINT (-40.414712 -2.735269)'))) / (select extract(epoch from '2026-07-17 09:06:03'::timestamp) - extract(epoch from '2026-07-17 09:05:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414591 -2.735237)', '2026-07-17 09:06:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414712 -2.735269)'), GeomFromEWKT('SRID=4674;POINT (-40.414591 -2.735237)'))) / (select extract(epoch from '2026-07-17 09:06:12'::timestamp) - extract(epoch from '2026-07-17 09:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414712 -2.735269)'), GeomFromEWKT('SRID=4674;POINT (-40.414591 -2.735237)'))) / (select extract(epoch from '2026-07-17 09:06:12'::timestamp) - extract(epoch from '2026-07-17 09:06: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'), 47831, 'SRID=4674;POINT (-40.414561 -2.735167)', '2026-07-17 09:06:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414591 -2.735237)'), GeomFromEWKT('SRID=4674;POINT (-40.414561 -2.735167)'))) / (select extract(epoch from '2026-07-17 09:06:19'::timestamp) - extract(epoch from '2026-07-17 09:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414591 -2.735237)'), GeomFromEWKT('SRID=4674;POINT (-40.414561 -2.735167)'))) / (select extract(epoch from '2026-07-17 09:06:19'::timestamp) - extract(epoch from '2026-07-17 09:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41452 -2.735119)', '2026-07-17 09:06:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414561 -2.735167)'), GeomFromEWKT('SRID=4674;POINT (-40.41452 -2.735119)'))) / (select extract(epoch from '2026-07-17 09:06:26'::timestamp) - extract(epoch from '2026-07-17 09:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414561 -2.735167)'), GeomFromEWKT('SRID=4674;POINT (-40.41452 -2.735119)'))) / (select extract(epoch from '2026-07-17 09:06:26'::timestamp) - extract(epoch from '2026-07-17 09:06: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'), 47831, 'SRID=4674;POINT (-40.414454 -2.735083)', '2026-07-17 09:06:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41452 -2.735119)'), GeomFromEWKT('SRID=4674;POINT (-40.414454 -2.735083)'))) / (select extract(epoch from '2026-07-17 09:06:33'::timestamp) - extract(epoch from '2026-07-17 09:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41452 -2.735119)'), GeomFromEWKT('SRID=4674;POINT (-40.414454 -2.735083)'))) / (select extract(epoch from '2026-07-17 09:06:33'::timestamp) - extract(epoch from '2026-07-17 09:06: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'), 47831, 'SRID=4674;POINT (-40.414406 -2.735032)', '2026-07-17 09:06:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414454 -2.735083)'), GeomFromEWKT('SRID=4674;POINT (-40.414406 -2.735032)'))) / (select extract(epoch from '2026-07-17 09:06:41'::timestamp) - extract(epoch from '2026-07-17 09:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414454 -2.735083)'), GeomFromEWKT('SRID=4674;POINT (-40.414406 -2.735032)'))) / (select extract(epoch from '2026-07-17 09:06:41'::timestamp) - extract(epoch from '2026-07-17 09:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41438 -2.735014)', '2026-07-17 09:06:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414406 -2.735032)'), GeomFromEWKT('SRID=4674;POINT (-40.41438 -2.735014)'))) / (select extract(epoch from '2026-07-17 09:06:50'::timestamp) - extract(epoch from '2026-07-17 09:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414406 -2.735032)'), GeomFromEWKT('SRID=4674;POINT (-40.41438 -2.735014)'))) / (select extract(epoch from '2026-07-17 09:06:50'::timestamp) - extract(epoch from '2026-07-17 09:06: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'), 47831, 'SRID=4674;POINT (-40.414346 -2.734957)', '2026-07-17 09:06:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41438 -2.735014)'), GeomFromEWKT('SRID=4674;POINT (-40.414346 -2.734957)'))) / (select extract(epoch from '2026-07-17 09:06:57'::timestamp) - extract(epoch from '2026-07-17 09:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41438 -2.735014)'), GeomFromEWKT('SRID=4674;POINT (-40.414346 -2.734957)'))) / (select extract(epoch from '2026-07-17 09:06:57'::timestamp) - extract(epoch from '2026-07-17 09:06: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'), 47831, 'SRID=4674;POINT (-40.414327 -2.734946)', '2026-07-17 09:07:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414346 -2.734957)'), GeomFromEWKT('SRID=4674;POINT (-40.414327 -2.734946)'))) / (select extract(epoch from '2026-07-17 09:07:03'::timestamp) - extract(epoch from '2026-07-17 09:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414346 -2.734957)'), GeomFromEWKT('SRID=4674;POINT (-40.414327 -2.734946)'))) / (select extract(epoch from '2026-07-17 09:07:03'::timestamp) - extract(epoch from '2026-07-17 09:06: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'), 47831, 'SRID=4674;POINT (-40.414328 -2.734914)', '2026-07-17 09:07:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414327 -2.734946)'), GeomFromEWKT('SRID=4674;POINT (-40.414328 -2.734914)'))) / (select extract(epoch from '2026-07-17 09:07:21'::timestamp) - extract(epoch from '2026-07-17 09:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414327 -2.734946)'), GeomFromEWKT('SRID=4674;POINT (-40.414328 -2.734914)'))) / (select extract(epoch from '2026-07-17 09:07:21'::timestamp) - extract(epoch from '2026-07-17 09:07: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'), 47831, 'SRID=4674;POINT (-40.41429 -2.734924)', '2026-07-17 09:07:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414328 -2.734914)'), GeomFromEWKT('SRID=4674;POINT (-40.41429 -2.734924)'))) / (select extract(epoch from '2026-07-17 09:07:47'::timestamp) - extract(epoch from '2026-07-17 09:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414328 -2.734914)'), GeomFromEWKT('SRID=4674;POINT (-40.41429 -2.734924)'))) / (select extract(epoch from '2026-07-17 09:07:47'::timestamp) - extract(epoch from '2026-07-17 09:07: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'), 47831, 'SRID=4674;POINT (-40.414274 -2.7349)', '2026-07-17 09:07:55', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41429 -2.734924)'), GeomFromEWKT('SRID=4674;POINT (-40.414274 -2.7349)'))) / (select extract(epoch from '2026-07-17 09:07:55'::timestamp) - extract(epoch from '2026-07-17 09:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41429 -2.734924)'), GeomFromEWKT('SRID=4674;POINT (-40.414274 -2.7349)'))) / (select extract(epoch from '2026-07-17 09:07:55'::timestamp) - extract(epoch from '2026-07-17 09:07:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414275 -2.734863)', '2026-07-17 09:08:04', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414274 -2.7349)'), GeomFromEWKT('SRID=4674;POINT (-40.414275 -2.734863)'))) / (select extract(epoch from '2026-07-17 09:08:04'::timestamp) - extract(epoch from '2026-07-17 09:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414274 -2.7349)'), GeomFromEWKT('SRID=4674;POINT (-40.414275 -2.734863)'))) / (select extract(epoch from '2026-07-17 09:08:04'::timestamp) - extract(epoch from '2026-07-17 09:07: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'), 47831, 'SRID=4674;POINT (-40.414278 -2.734854)', '2026-07-17 09:08:12', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414275 -2.734863)'), GeomFromEWKT('SRID=4674;POINT (-40.414278 -2.734854)'))) / (select extract(epoch from '2026-07-17 09:08:12'::timestamp) - extract(epoch from '2026-07-17 09:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414275 -2.734863)'), GeomFromEWKT('SRID=4674;POINT (-40.414278 -2.734854)'))) / (select extract(epoch from '2026-07-17 09:08:12'::timestamp) - extract(epoch from '2026-07-17 09:08: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'), 47831, 'SRID=4674;POINT (-40.414331 -2.734835)', '2026-07-17 09:08:19', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414278 -2.734854)'), GeomFromEWKT('SRID=4674;POINT (-40.414331 -2.734835)'))) / (select extract(epoch from '2026-07-17 09:08:19'::timestamp) - extract(epoch from '2026-07-17 09:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414278 -2.734854)'), GeomFromEWKT('SRID=4674;POINT (-40.414331 -2.734835)'))) / (select extract(epoch from '2026-07-17 09:08:19'::timestamp) - extract(epoch from '2026-07-17 09:08: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'), 47831, 'SRID=4674;POINT (-40.414333 -2.734813)', '2026-07-17 09:08:28', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414331 -2.734835)'), GeomFromEWKT('SRID=4674;POINT (-40.414333 -2.734813)'))) / (select extract(epoch from '2026-07-17 09:08:28'::timestamp) - extract(epoch from '2026-07-17 09:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414331 -2.734835)'), GeomFromEWKT('SRID=4674;POINT (-40.414333 -2.734813)'))) / (select extract(epoch from '2026-07-17 09:08:28'::timestamp) - extract(epoch from '2026-07-17 09:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414342 -2.734787)', '2026-07-17 09:08:35', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414333 -2.734813)'), GeomFromEWKT('SRID=4674;POINT (-40.414342 -2.734787)'))) / (select extract(epoch from '2026-07-17 09:08:35'::timestamp) - extract(epoch from '2026-07-17 09:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414333 -2.734813)'), GeomFromEWKT('SRID=4674;POINT (-40.414342 -2.734787)'))) / (select extract(epoch from '2026-07-17 09:08:35'::timestamp) - extract(epoch from '2026-07-17 09:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414387 -2.734784)', '2026-07-17 09:08:45', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414342 -2.734787)'), GeomFromEWKT('SRID=4674;POINT (-40.414387 -2.734784)'))) / (select extract(epoch from '2026-07-17 09:08:45'::timestamp) - extract(epoch from '2026-07-17 09:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414342 -2.734787)'), GeomFromEWKT('SRID=4674;POINT (-40.414387 -2.734784)'))) / (select extract(epoch from '2026-07-17 09:08:45'::timestamp) - extract(epoch from '2026-07-17 09:08: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'), 47831, 'SRID=4674;POINT (-40.414438 -2.734792)', '2026-07-17 09:08:54', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414387 -2.734784)'), GeomFromEWKT('SRID=4674;POINT (-40.414438 -2.734792)'))) / (select extract(epoch from '2026-07-17 09:08:54'::timestamp) - extract(epoch from '2026-07-17 09:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414387 -2.734784)'), GeomFromEWKT('SRID=4674;POINT (-40.414438 -2.734792)'))) / (select extract(epoch from '2026-07-17 09:08:54'::timestamp) - extract(epoch from '2026-07-17 09:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414479 -2.734803)', '2026-07-17 09:09:01', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414438 -2.734792)'), GeomFromEWKT('SRID=4674;POINT (-40.414479 -2.734803)'))) / (select extract(epoch from '2026-07-17 09:09:01'::timestamp) - extract(epoch from '2026-07-17 09:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414438 -2.734792)'), GeomFromEWKT('SRID=4674;POINT (-40.414479 -2.734803)'))) / (select extract(epoch from '2026-07-17 09:09:01'::timestamp) - extract(epoch from '2026-07-17 09:08: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'), 47831, 'SRID=4674;POINT (-40.414458 -2.734835)', '2026-07-17 09:09:11', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414479 -2.734803)'), GeomFromEWKT('SRID=4674;POINT (-40.414458 -2.734835)'))) / (select extract(epoch from '2026-07-17 09:09:11'::timestamp) - extract(epoch from '2026-07-17 09:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414479 -2.734803)'), GeomFromEWKT('SRID=4674;POINT (-40.414458 -2.734835)'))) / (select extract(epoch from '2026-07-17 09:09:11'::timestamp) - extract(epoch from '2026-07-17 09:09: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'), 47831, 'SRID=4674;POINT (-40.414426 -2.734852)', '2026-07-17 09:09:17', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414458 -2.734835)'), GeomFromEWKT('SRID=4674;POINT (-40.414426 -2.734852)'))) / (select extract(epoch from '2026-07-17 09:09:17'::timestamp) - extract(epoch from '2026-07-17 09:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414458 -2.734835)'), GeomFromEWKT('SRID=4674;POINT (-40.414426 -2.734852)'))) / (select extract(epoch from '2026-07-17 09:09:17'::timestamp) - extract(epoch from '2026-07-17 09:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414379 -2.734888)', '2026-07-17 09:09:25', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414426 -2.734852)'), GeomFromEWKT('SRID=4674;POINT (-40.414379 -2.734888)'))) / (select extract(epoch from '2026-07-17 09:09:25'::timestamp) - extract(epoch from '2026-07-17 09:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414426 -2.734852)'), GeomFromEWKT('SRID=4674;POINT (-40.414379 -2.734888)'))) / (select extract(epoch from '2026-07-17 09:09:25'::timestamp) - extract(epoch from '2026-07-17 09:09:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414337 -2.734967)', '2026-07-17 09:09:36', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414379 -2.734888)'), GeomFromEWKT('SRID=4674;POINT (-40.414337 -2.734967)'))) / (select extract(epoch from '2026-07-17 09:09:36'::timestamp) - extract(epoch from '2026-07-17 09:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414379 -2.734888)'), GeomFromEWKT('SRID=4674;POINT (-40.414337 -2.734967)'))) / (select extract(epoch from '2026-07-17 09:09:36'::timestamp) - extract(epoch from '2026-07-17 09:09: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'), 47831, 'SRID=4674;POINT (-40.414322 -2.735046)', '2026-07-17 09:09:44', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414337 -2.734967)'), GeomFromEWKT('SRID=4674;POINT (-40.414322 -2.735046)'))) / (select extract(epoch from '2026-07-17 09:09:44'::timestamp) - extract(epoch from '2026-07-17 09:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414337 -2.734967)'), GeomFromEWKT('SRID=4674;POINT (-40.414322 -2.735046)'))) / (select extract(epoch from '2026-07-17 09:09:44'::timestamp) - extract(epoch from '2026-07-17 09:09: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'), 47831, 'SRID=4674;POINT (-40.414307 -2.735044)', '2026-07-17 09:09:52', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414322 -2.735046)'), GeomFromEWKT('SRID=4674;POINT (-40.414307 -2.735044)'))) / (select extract(epoch from '2026-07-17 09:09:52'::timestamp) - extract(epoch from '2026-07-17 09:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414322 -2.735046)'), GeomFromEWKT('SRID=4674;POINT (-40.414307 -2.735044)'))) / (select extract(epoch from '2026-07-17 09:09:52'::timestamp) - extract(epoch from '2026-07-17 09:09: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'), 47831, 'SRID=4674;POINT (-40.414354 -2.735007)', '2026-07-17 09:10:16', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414307 -2.735044)'), GeomFromEWKT('SRID=4674;POINT (-40.414354 -2.735007)'))) / (select extract(epoch from '2026-07-17 09:10:16'::timestamp) - extract(epoch from '2026-07-17 09:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414307 -2.735044)'), GeomFromEWKT('SRID=4674;POINT (-40.414354 -2.735007)'))) / (select extract(epoch from '2026-07-17 09:10:16'::timestamp) - extract(epoch from '2026-07-17 09:09: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'), 47831, 'SRID=4674;POINT (-40.414423 -2.734949)', '2026-07-17 09:10:27', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414354 -2.735007)'), GeomFromEWKT('SRID=4674;POINT (-40.414423 -2.734949)'))) / (select extract(epoch from '2026-07-17 09:10:27'::timestamp) - extract(epoch from '2026-07-17 09:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414354 -2.735007)'), GeomFromEWKT('SRID=4674;POINT (-40.414423 -2.734949)'))) / (select extract(epoch from '2026-07-17 09:10:27'::timestamp) - extract(epoch from '2026-07-17 09:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414478 -2.734855)', '2026-07-17 09:10:36', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414423 -2.734949)'), GeomFromEWKT('SRID=4674;POINT (-40.414478 -2.734855)'))) / (select extract(epoch from '2026-07-17 09:10:36'::timestamp) - extract(epoch from '2026-07-17 09:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414423 -2.734949)'), GeomFromEWKT('SRID=4674;POINT (-40.414478 -2.734855)'))) / (select extract(epoch from '2026-07-17 09:10:36'::timestamp) - extract(epoch from '2026-07-17 09:10: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'), 47831, 'SRID=4674;POINT (-40.414467 -2.734819)', '2026-07-17 09:10:44', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414478 -2.734855)'), GeomFromEWKT('SRID=4674;POINT (-40.414467 -2.734819)'))) / (select extract(epoch from '2026-07-17 09:10:44'::timestamp) - extract(epoch from '2026-07-17 09:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414478 -2.734855)'), GeomFromEWKT('SRID=4674;POINT (-40.414467 -2.734819)'))) / (select extract(epoch from '2026-07-17 09:10:44'::timestamp) - extract(epoch from '2026-07-17 09:10: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'), 47831, 'SRID=4674;POINT (-40.414474 -2.734806)', '2026-07-17 09:10:51', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414467 -2.734819)'), GeomFromEWKT('SRID=4674;POINT (-40.414474 -2.734806)'))) / (select extract(epoch from '2026-07-17 09:10:51'::timestamp) - extract(epoch from '2026-07-17 09:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414467 -2.734819)'), GeomFromEWKT('SRID=4674;POINT (-40.414474 -2.734806)'))) / (select extract(epoch from '2026-07-17 09:10:51'::timestamp) - extract(epoch from '2026-07-17 09:10: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'), 47831, 'SRID=4674;POINT (-40.414442 -2.734805)', '2026-07-17 09:11:01', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414474 -2.734806)'), GeomFromEWKT('SRID=4674;POINT (-40.414442 -2.734805)'))) / (select extract(epoch from '2026-07-17 09:11:01'::timestamp) - extract(epoch from '2026-07-17 09:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414474 -2.734806)'), GeomFromEWKT('SRID=4674;POINT (-40.414442 -2.734805)'))) / (select extract(epoch from '2026-07-17 09:11:01'::timestamp) - extract(epoch from '2026-07-17 09:10: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'), 47831, 'SRID=4674;POINT (-40.414417 -2.734829)', '2026-07-17 09:11:14', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414442 -2.734805)'), GeomFromEWKT('SRID=4674;POINT (-40.414417 -2.734829)'))) / (select extract(epoch from '2026-07-17 09:11:14'::timestamp) - extract(epoch from '2026-07-17 09:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414442 -2.734805)'), GeomFromEWKT('SRID=4674;POINT (-40.414417 -2.734829)'))) / (select extract(epoch from '2026-07-17 09:11:14'::timestamp) - extract(epoch from '2026-07-17 09:11:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414397 -2.73486)', '2026-07-17 09:11:18', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414417 -2.734829)'), GeomFromEWKT('SRID=4674;POINT (-40.414397 -2.73486)'))) / (select extract(epoch from '2026-07-17 09:11:18'::timestamp) - extract(epoch from '2026-07-17 09:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414417 -2.734829)'), GeomFromEWKT('SRID=4674;POINT (-40.414397 -2.73486)'))) / (select extract(epoch from '2026-07-17 09:11:18'::timestamp) - extract(epoch from '2026-07-17 09:11: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'), 47831, 'SRID=4674;POINT (-40.414387 -2.734881)', '2026-07-17 09:11:21', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414397 -2.73486)'), GeomFromEWKT('SRID=4674;POINT (-40.414387 -2.734881)'))) / (select extract(epoch from '2026-07-17 09:11:21'::timestamp) - extract(epoch from '2026-07-17 09:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414397 -2.73486)'), GeomFromEWKT('SRID=4674;POINT (-40.414387 -2.734881)'))) / (select extract(epoch from '2026-07-17 09:11:21'::timestamp) - extract(epoch from '2026-07-17 09:11: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'), 47831, 'SRID=4674;POINT (-40.414351 -2.734909)', '2026-07-17 09:11:28', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414387 -2.734881)'), GeomFromEWKT('SRID=4674;POINT (-40.414351 -2.734909)'))) / (select extract(epoch from '2026-07-17 09:11:28'::timestamp) - extract(epoch from '2026-07-17 09:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414387 -2.734881)'), GeomFromEWKT('SRID=4674;POINT (-40.414351 -2.734909)'))) / (select extract(epoch from '2026-07-17 09:11:28'::timestamp) - extract(epoch from '2026-07-17 09:11: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'), 47831, 'SRID=4674;POINT (-40.414319 -2.734937)', '2026-07-17 09:11:35', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414351 -2.734909)'), GeomFromEWKT('SRID=4674;POINT (-40.414319 -2.734937)'))) / (select extract(epoch from '2026-07-17 09:11:35'::timestamp) - extract(epoch from '2026-07-17 09:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414351 -2.734909)'), GeomFromEWKT('SRID=4674;POINT (-40.414319 -2.734937)'))) / (select extract(epoch from '2026-07-17 09:11:35'::timestamp) - extract(epoch from '2026-07-17 09:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414322 -2.734987)', '2026-07-17 09:11:41', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414319 -2.734937)'), GeomFromEWKT('SRID=4674;POINT (-40.414322 -2.734987)'))) / (select extract(epoch from '2026-07-17 09:11:41'::timestamp) - extract(epoch from '2026-07-17 09:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414319 -2.734937)'), GeomFromEWKT('SRID=4674;POINT (-40.414322 -2.734987)'))) / (select extract(epoch from '2026-07-17 09:11:41'::timestamp) - extract(epoch from '2026-07-17 09:11: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'), 47831, 'SRID=4674;POINT (-40.414353 -2.735029)', '2026-07-17 09:11:48', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414322 -2.734987)'), GeomFromEWKT('SRID=4674;POINT (-40.414353 -2.735029)'))) / (select extract(epoch from '2026-07-17 09:11:48'::timestamp) - extract(epoch from '2026-07-17 09:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414322 -2.734987)'), GeomFromEWKT('SRID=4674;POINT (-40.414353 -2.735029)'))) / (select extract(epoch from '2026-07-17 09:11:48'::timestamp) - extract(epoch from '2026-07-17 09:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414356 -2.735011)', '2026-07-17 09:11:56', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414353 -2.735029)'), GeomFromEWKT('SRID=4674;POINT (-40.414356 -2.735011)'))) / (select extract(epoch from '2026-07-17 09:11:56'::timestamp) - extract(epoch from '2026-07-17 09:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414353 -2.735029)'), GeomFromEWKT('SRID=4674;POINT (-40.414356 -2.735011)'))) / (select extract(epoch from '2026-07-17 09:11:56'::timestamp) - extract(epoch from '2026-07-17 09:11: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'), 47831, 'SRID=4674;POINT (-40.414411 -2.735002)', '2026-07-17 09:12:03', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414356 -2.735011)'), GeomFromEWKT('SRID=4674;POINT (-40.414411 -2.735002)'))) / (select extract(epoch from '2026-07-17 09:12:03'::timestamp) - extract(epoch from '2026-07-17 09:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414356 -2.735011)'), GeomFromEWKT('SRID=4674;POINT (-40.414411 -2.735002)'))) / (select extract(epoch from '2026-07-17 09:12:03'::timestamp) - extract(epoch from '2026-07-17 09:11: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'), 47831, 'SRID=4674;POINT (-40.414479 -2.734957)', '2026-07-17 09:12:10', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414411 -2.735002)'), GeomFromEWKT('SRID=4674;POINT (-40.414479 -2.734957)'))) / (select extract(epoch from '2026-07-17 09:12:10'::timestamp) - extract(epoch from '2026-07-17 09:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414411 -2.735002)'), GeomFromEWKT('SRID=4674;POINT (-40.414479 -2.734957)'))) / (select extract(epoch from '2026-07-17 09:12:10'::timestamp) - extract(epoch from '2026-07-17 09:12: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'), 47831, 'SRID=4674;POINT (-40.414527 -2.734892)', '2026-07-17 09:12:20', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414479 -2.734957)'), GeomFromEWKT('SRID=4674;POINT (-40.414527 -2.734892)'))) / (select extract(epoch from '2026-07-17 09:12:20'::timestamp) - extract(epoch from '2026-07-17 09:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414479 -2.734957)'), GeomFromEWKT('SRID=4674;POINT (-40.414527 -2.734892)'))) / (select extract(epoch from '2026-07-17 09:12:20'::timestamp) - extract(epoch from '2026-07-17 09:12: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'), 47831, 'SRID=4674;POINT (-40.414552 -2.73487)', '2026-07-17 09:12:28', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414527 -2.734892)'), GeomFromEWKT('SRID=4674;POINT (-40.414552 -2.73487)'))) / (select extract(epoch from '2026-07-17 09:12:28'::timestamp) - extract(epoch from '2026-07-17 09:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414527 -2.734892)'), GeomFromEWKT('SRID=4674;POINT (-40.414552 -2.73487)'))) / (select extract(epoch from '2026-07-17 09:12:28'::timestamp) - extract(epoch from '2026-07-17 09:12: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'), 47831, 'SRID=4674;POINT (-40.414527 -2.734826)', '2026-07-17 09:12:35', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414552 -2.73487)'), GeomFromEWKT('SRID=4674;POINT (-40.414527 -2.734826)'))) / (select extract(epoch from '2026-07-17 09:12:35'::timestamp) - extract(epoch from '2026-07-17 09:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414552 -2.73487)'), GeomFromEWKT('SRID=4674;POINT (-40.414527 -2.734826)'))) / (select extract(epoch from '2026-07-17 09:12:35'::timestamp) - extract(epoch from '2026-07-17 09:12:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414469 -2.734802)', '2026-07-17 09:12:45', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414527 -2.734826)'), GeomFromEWKT('SRID=4674;POINT (-40.414469 -2.734802)'))) / (select extract(epoch from '2026-07-17 09:12:45'::timestamp) - extract(epoch from '2026-07-17 09:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414527 -2.734826)'), GeomFromEWKT('SRID=4674;POINT (-40.414469 -2.734802)'))) / (select extract(epoch from '2026-07-17 09:12:45'::timestamp) - extract(epoch from '2026-07-17 09:12: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'), 47831, 'SRID=4674;POINT (-40.414417 -2.734817)', '2026-07-17 09:12:53', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414469 -2.734802)'), GeomFromEWKT('SRID=4674;POINT (-40.414417 -2.734817)'))) / (select extract(epoch from '2026-07-17 09:12:53'::timestamp) - extract(epoch from '2026-07-17 09:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414469 -2.734802)'), GeomFromEWKT('SRID=4674;POINT (-40.414417 -2.734817)'))) / (select extract(epoch from '2026-07-17 09:12:53'::timestamp) - extract(epoch from '2026-07-17 09:12: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'), 47831, 'SRID=4674;POINT (-40.414425 -2.73483)', '2026-07-17 09:13:00', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414417 -2.734817)'), GeomFromEWKT('SRID=4674;POINT (-40.414425 -2.73483)'))) / (select extract(epoch from '2026-07-17 09:13:00'::timestamp) - extract(epoch from '2026-07-17 09:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414417 -2.734817)'), GeomFromEWKT('SRID=4674;POINT (-40.414425 -2.73483)'))) / (select extract(epoch from '2026-07-17 09:13:00'::timestamp) - extract(epoch from '2026-07-17 09:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414449 -2.734849)', '2026-07-17 09:13:08', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414425 -2.73483)'), GeomFromEWKT('SRID=4674;POINT (-40.414449 -2.734849)'))) / (select extract(epoch from '2026-07-17 09:13:08'::timestamp) - extract(epoch from '2026-07-17 09:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414425 -2.73483)'), GeomFromEWKT('SRID=4674;POINT (-40.414449 -2.734849)'))) / (select extract(epoch from '2026-07-17 09:13:08'::timestamp) - extract(epoch from '2026-07-17 09:13: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'), 47831, 'SRID=4674;POINT (-40.414434 -2.734861)', '2026-07-17 09:13:15', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414449 -2.734849)'), GeomFromEWKT('SRID=4674;POINT (-40.414434 -2.734861)'))) / (select extract(epoch from '2026-07-17 09:13:15'::timestamp) - extract(epoch from '2026-07-17 09:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414449 -2.734849)'), GeomFromEWKT('SRID=4674;POINT (-40.414434 -2.734861)'))) / (select extract(epoch from '2026-07-17 09:13:15'::timestamp) - extract(epoch from '2026-07-17 09:13:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414439 -2.734909)', '2026-07-17 09:13:24', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414434 -2.734861)'), GeomFromEWKT('SRID=4674;POINT (-40.414439 -2.734909)'))) / (select extract(epoch from '2026-07-17 09:13:24'::timestamp) - extract(epoch from '2026-07-17 09:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414434 -2.734861)'), GeomFromEWKT('SRID=4674;POINT (-40.414439 -2.734909)'))) / (select extract(epoch from '2026-07-17 09:13:24'::timestamp) - extract(epoch from '2026-07-17 09:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414442 -2.73494)', '2026-07-17 09:13:29', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414439 -2.734909)'), GeomFromEWKT('SRID=4674;POINT (-40.414442 -2.73494)'))) / (select extract(epoch from '2026-07-17 09:13:29'::timestamp) - extract(epoch from '2026-07-17 09:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414439 -2.734909)'), GeomFromEWKT('SRID=4674;POINT (-40.414442 -2.73494)'))) / (select extract(epoch from '2026-07-17 09:13:29'::timestamp) - extract(epoch from '2026-07-17 09:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414429 -2.734954)', '2026-07-17 09:13:37', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414442 -2.73494)'), GeomFromEWKT('SRID=4674;POINT (-40.414429 -2.734954)'))) / (select extract(epoch from '2026-07-17 09:13:37'::timestamp) - extract(epoch from '2026-07-17 09:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414442 -2.73494)'), GeomFromEWKT('SRID=4674;POINT (-40.414429 -2.734954)'))) / (select extract(epoch from '2026-07-17 09:13:37'::timestamp) - extract(epoch from '2026-07-17 09:13: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'), 47831, 'SRID=4674;POINT (-40.41442 -2.734963)', '2026-07-17 09:13:42', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414429 -2.734954)'), GeomFromEWKT('SRID=4674;POINT (-40.41442 -2.734963)'))) / (select extract(epoch from '2026-07-17 09:13:42'::timestamp) - extract(epoch from '2026-07-17 09:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414429 -2.734954)'), GeomFromEWKT('SRID=4674;POINT (-40.41442 -2.734963)'))) / (select extract(epoch from '2026-07-17 09:13:42'::timestamp) - extract(epoch from '2026-07-17 09:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414395 -2.734969)', '2026-07-17 09:13:48', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41442 -2.734963)'), GeomFromEWKT('SRID=4674;POINT (-40.414395 -2.734969)'))) / (select extract(epoch from '2026-07-17 09:13:48'::timestamp) - extract(epoch from '2026-07-17 09:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41442 -2.734963)'), GeomFromEWKT('SRID=4674;POINT (-40.414395 -2.734969)'))) / (select extract(epoch from '2026-07-17 09:13:48'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47831, 'SRID=4674;POINT (-40.414425 -2.734954)', '2026-07-17 09:14:02', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414395 -2.734969)'), GeomFromEWKT('SRID=4674;POINT (-40.414425 -2.734954)'))) / (select extract(epoch from '2026-07-17 09:14:02'::timestamp) - extract(epoch from '2026-07-17 09:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414395 -2.734969)'), GeomFromEWKT('SRID=4674;POINT (-40.414425 -2.734954)'))) / (select extract(epoch from '2026-07-17 09:14:02'::timestamp) - extract(epoch from '2026-07-17 09:13: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'), 47831, 'SRID=4674;POINT (-40.414437 -2.734939)', '2026-07-17 09:14:11', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414425 -2.734954)'), GeomFromEWKT('SRID=4674;POINT (-40.414437 -2.734939)'))) / (select extract(epoch from '2026-07-17 09:14:11'::timestamp) - extract(epoch from '2026-07-17 09:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414425 -2.734954)'), GeomFromEWKT('SRID=4674;POINT (-40.414437 -2.734939)'))) / (select extract(epoch from '2026-07-17 09:14:11'::timestamp) - extract(epoch from '2026-07-17 09:14: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'), 47831, 'SRID=4674;POINT (-40.414486 -2.734905)', '2026-07-17 09:14:21', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414437 -2.734939)'), GeomFromEWKT('SRID=4674;POINT (-40.414486 -2.734905)'))) / (select extract(epoch from '2026-07-17 09:14:21'::timestamp) - extract(epoch from '2026-07-17 09:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414437 -2.734939)'), GeomFromEWKT('SRID=4674;POINT (-40.414486 -2.734905)'))) / (select extract(epoch from '2026-07-17 09:14:21'::timestamp) - extract(epoch from '2026-07-17 09:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414498 -2.734892)', '2026-07-17 09:14:30', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414486 -2.734905)'), GeomFromEWKT('SRID=4674;POINT (-40.414498 -2.734892)'))) / (select extract(epoch from '2026-07-17 09:14:30'::timestamp) - extract(epoch from '2026-07-17 09:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414486 -2.734905)'), GeomFromEWKT('SRID=4674;POINT (-40.414498 -2.734892)'))) / (select extract(epoch from '2026-07-17 09:14:30'::timestamp) - extract(epoch from '2026-07-17 09:14: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'), 47831, 'SRID=4674;POINT (-40.414486 -2.734848)', '2026-07-17 09:14:41', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414498 -2.734892)'), GeomFromEWKT('SRID=4674;POINT (-40.414486 -2.734848)'))) / (select extract(epoch from '2026-07-17 09:14:41'::timestamp) - extract(epoch from '2026-07-17 09:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414498 -2.734892)'), GeomFromEWKT('SRID=4674;POINT (-40.414486 -2.734848)'))) / (select extract(epoch from '2026-07-17 09:14:41'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47831, 'SRID=4674;POINT (-40.414408 -2.734844)', '2026-07-17 09:14:48', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414486 -2.734848)'), GeomFromEWKT('SRID=4674;POINT (-40.414408 -2.734844)'))) / (select extract(epoch from '2026-07-17 09:14:48'::timestamp) - extract(epoch from '2026-07-17 09:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414486 -2.734848)'), GeomFromEWKT('SRID=4674;POINT (-40.414408 -2.734844)'))) / (select extract(epoch from '2026-07-17 09:14:48'::timestamp) - extract(epoch from '2026-07-17 09:14: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'), 47831, 'SRID=4674;POINT (-40.414351 -2.734869)', '2026-07-17 09:14:55', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414408 -2.734844)'), GeomFromEWKT('SRID=4674;POINT (-40.414351 -2.734869)'))) / (select extract(epoch from '2026-07-17 09:14:55'::timestamp) - extract(epoch from '2026-07-17 09:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414408 -2.734844)'), GeomFromEWKT('SRID=4674;POINT (-40.414351 -2.734869)'))) / (select extract(epoch from '2026-07-17 09:14:55'::timestamp) - extract(epoch from '2026-07-17 09:14: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'), 47831, 'SRID=4674;POINT (-40.414339 -2.734902)', '2026-07-17 09:15:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414351 -2.734869)'), GeomFromEWKT('SRID=4674;POINT (-40.414339 -2.734902)'))) / (select extract(epoch from '2026-07-17 09:15:01'::timestamp) - extract(epoch from '2026-07-17 09:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414351 -2.734869)'), GeomFromEWKT('SRID=4674;POINT (-40.414339 -2.734902)'))) / (select extract(epoch from '2026-07-17 09:15:01'::timestamp) - extract(epoch from '2026-07-17 09:14: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'), 47831, 'SRID=4674;POINT (-40.414346 -2.734918)', '2026-07-17 09:15:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414339 -2.734902)'), GeomFromEWKT('SRID=4674;POINT (-40.414346 -2.734918)'))) / (select extract(epoch from '2026-07-17 09:15:10'::timestamp) - extract(epoch from '2026-07-17 09:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414339 -2.734902)'), GeomFromEWKT('SRID=4674;POINT (-40.414346 -2.734918)'))) / (select extract(epoch from '2026-07-17 09:15:10'::timestamp) - extract(epoch from '2026-07-17 09:15:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414341 -2.734964)', '2026-07-17 09:15:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414346 -2.734918)'), GeomFromEWKT('SRID=4674;POINT (-40.414341 -2.734964)'))) / (select extract(epoch from '2026-07-17 09:15:42'::timestamp) - extract(epoch from '2026-07-17 09:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414346 -2.734918)'), GeomFromEWKT('SRID=4674;POINT (-40.414341 -2.734964)'))) / (select extract(epoch from '2026-07-17 09:15:42'::timestamp) - extract(epoch from '2026-07-17 09:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414338 -2.734997)', '2026-07-17 09:15:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414341 -2.734964)'), GeomFromEWKT('SRID=4674;POINT (-40.414338 -2.734997)'))) / (select extract(epoch from '2026-07-17 09:15:51'::timestamp) - extract(epoch from '2026-07-17 09:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414341 -2.734964)'), GeomFromEWKT('SRID=4674;POINT (-40.414338 -2.734997)'))) / (select extract(epoch from '2026-07-17 09:15:51'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47831, 'SRID=4674;POINT (-40.414352 -2.734989)', '2026-07-17 09:16:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414338 -2.734997)'), GeomFromEWKT('SRID=4674;POINT (-40.414352 -2.734989)'))) / (select extract(epoch from '2026-07-17 09:16:07'::timestamp) - extract(epoch from '2026-07-17 09:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414338 -2.734997)'), GeomFromEWKT('SRID=4674;POINT (-40.414352 -2.734989)'))) / (select extract(epoch from '2026-07-17 09:16:07'::timestamp) - extract(epoch from '2026-07-17 09:15: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'), 47831, 'SRID=4674;POINT (-40.414335 -2.734956)', '2026-07-17 09:16:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414352 -2.734989)'), GeomFromEWKT('SRID=4674;POINT (-40.414335 -2.734956)'))) / (select extract(epoch from '2026-07-17 09:16:36'::timestamp) - extract(epoch from '2026-07-17 09:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414352 -2.734989)'), GeomFromEWKT('SRID=4674;POINT (-40.414335 -2.734956)'))) / (select extract(epoch from '2026-07-17 09:16:36'::timestamp) - extract(epoch from '2026-07-17 09:16: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'), 47831, 'SRID=4674;POINT (-40.414271 -2.734962)', '2026-07-17 09:16:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414335 -2.734956)'), GeomFromEWKT('SRID=4674;POINT (-40.414271 -2.734962)'))) / (select extract(epoch from '2026-07-17 09:16:46'::timestamp) - extract(epoch from '2026-07-17 09:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414335 -2.734956)'), GeomFromEWKT('SRID=4674;POINT (-40.414271 -2.734962)'))) / (select extract(epoch from '2026-07-17 09:16:46'::timestamp) - extract(epoch from '2026-07-17 09:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41426 -2.735)', '2026-07-17 09:16:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414271 -2.734962)'), GeomFromEWKT('SRID=4674;POINT (-40.41426 -2.735)'))) / (select extract(epoch from '2026-07-17 09:16:55'::timestamp) - extract(epoch from '2026-07-17 09:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414271 -2.734962)'), GeomFromEWKT('SRID=4674;POINT (-40.41426 -2.735)'))) / (select extract(epoch from '2026-07-17 09:16:55'::timestamp) - extract(epoch from '2026-07-17 09:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414269 -2.735009)', '2026-07-17 09:17:02', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41426 -2.735)'), GeomFromEWKT('SRID=4674;POINT (-40.414269 -2.735009)'))) / (select extract(epoch from '2026-07-17 09:17:02'::timestamp) - extract(epoch from '2026-07-17 09:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41426 -2.735)'), GeomFromEWKT('SRID=4674;POINT (-40.414269 -2.735009)'))) / (select extract(epoch from '2026-07-17 09:17:02'::timestamp) - extract(epoch from '2026-07-17 09:16: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'), 47831, 'SRID=4674;POINT (-40.414283 -2.735023)', '2026-07-17 09:17:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414269 -2.735009)'), GeomFromEWKT('SRID=4674;POINT (-40.414283 -2.735023)'))) / (select extract(epoch from '2026-07-17 09:17:30'::timestamp) - extract(epoch from '2026-07-17 09:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414269 -2.735009)'), GeomFromEWKT('SRID=4674;POINT (-40.414283 -2.735023)'))) / (select extract(epoch from '2026-07-17 09:17:30'::timestamp) - extract(epoch from '2026-07-17 09:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414293 -2.735018)', '2026-07-17 09:17:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414283 -2.735023)'), GeomFromEWKT('SRID=4674;POINT (-40.414293 -2.735018)'))) / (select extract(epoch from '2026-07-17 09:17:35'::timestamp) - extract(epoch from '2026-07-17 09:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414283 -2.735023)'), GeomFromEWKT('SRID=4674;POINT (-40.414293 -2.735018)'))) / (select extract(epoch from '2026-07-17 09:17:35'::timestamp) - extract(epoch from '2026-07-17 09:17:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414331 -2.734998)', '2026-07-17 09:17:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414293 -2.735018)'), GeomFromEWKT('SRID=4674;POINT (-40.414331 -2.734998)'))) / (select extract(epoch from '2026-07-17 09:17:45'::timestamp) - extract(epoch from '2026-07-17 09:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414293 -2.735018)'), GeomFromEWKT('SRID=4674;POINT (-40.414331 -2.734998)'))) / (select extract(epoch from '2026-07-17 09:17:45'::timestamp) - extract(epoch from '2026-07-17 09:17: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'), 47831, 'SRID=4674;POINT (-40.414342 -2.734968)', '2026-07-17 09:17:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414331 -2.734998)'), GeomFromEWKT('SRID=4674;POINT (-40.414342 -2.734968)'))) / (select extract(epoch from '2026-07-17 09:17:52'::timestamp) - extract(epoch from '2026-07-17 09:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414331 -2.734998)'), GeomFromEWKT('SRID=4674;POINT (-40.414342 -2.734968)'))) / (select extract(epoch from '2026-07-17 09:17:52'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47831, 'SRID=4674;POINT (-40.414327 -2.734925)', '2026-07-17 09:18:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414342 -2.734968)'), GeomFromEWKT('SRID=4674;POINT (-40.414327 -2.734925)'))) / (select extract(epoch from '2026-07-17 09:18:00'::timestamp) - extract(epoch from '2026-07-17 09:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414342 -2.734968)'), GeomFromEWKT('SRID=4674;POINT (-40.414327 -2.734925)'))) / (select extract(epoch from '2026-07-17 09:18:00'::timestamp) - extract(epoch from '2026-07-17 09:17: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'), 47831, 'SRID=4674;POINT (-40.414323 -2.734892)', '2026-07-17 09:18:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414327 -2.734925)'), GeomFromEWKT('SRID=4674;POINT (-40.414323 -2.734892)'))) / (select extract(epoch from '2026-07-17 09:18:08'::timestamp) - extract(epoch from '2026-07-17 09:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414327 -2.734925)'), GeomFromEWKT('SRID=4674;POINT (-40.414323 -2.734892)'))) / (select extract(epoch from '2026-07-17 09:18:08'::timestamp) - extract(epoch from '2026-07-17 09:18: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'), 47831, 'SRID=4674;POINT (-40.414361 -2.734892)', '2026-07-17 09:18:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414323 -2.734892)'), GeomFromEWKT('SRID=4674;POINT (-40.414361 -2.734892)'))) / (select extract(epoch from '2026-07-17 09:18:15'::timestamp) - extract(epoch from '2026-07-17 09:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414323 -2.734892)'), GeomFromEWKT('SRID=4674;POINT (-40.414361 -2.734892)'))) / (select extract(epoch from '2026-07-17 09:18:15'::timestamp) - extract(epoch from '2026-07-17 09:18: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'), 47831, 'SRID=4674;POINT (-40.414381 -2.734896)', '2026-07-17 09:18:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414361 -2.734892)'), GeomFromEWKT('SRID=4674;POINT (-40.414381 -2.734896)'))) / (select extract(epoch from '2026-07-17 09:18:20'::timestamp) - extract(epoch from '2026-07-17 09:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414361 -2.734892)'), GeomFromEWKT('SRID=4674;POINT (-40.414381 -2.734896)'))) / (select extract(epoch from '2026-07-17 09:18:20'::timestamp) - extract(epoch from '2026-07-17 09:18: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'), 47831, 'SRID=4674;POINT (-40.414377 -2.734907)', '2026-07-17 09:18:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414381 -2.734896)'), GeomFromEWKT('SRID=4674;POINT (-40.414377 -2.734907)'))) / (select extract(epoch from '2026-07-17 09:18:28'::timestamp) - extract(epoch from '2026-07-17 09:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414381 -2.734896)'), GeomFromEWKT('SRID=4674;POINT (-40.414377 -2.734907)'))) / (select extract(epoch from '2026-07-17 09:18:28'::timestamp) - extract(epoch from '2026-07-17 09:18: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'), 47831, 'SRID=4674;POINT (-40.414377 -2.734915)', '2026-07-17 09:18:37', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414377 -2.734907)'), GeomFromEWKT('SRID=4674;POINT (-40.414377 -2.734915)'))) / (select extract(epoch from '2026-07-17 09:18:37'::timestamp) - extract(epoch from '2026-07-17 09:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414377 -2.734907)'), GeomFromEWKT('SRID=4674;POINT (-40.414377 -2.734915)'))) / (select extract(epoch from '2026-07-17 09:18:37'::timestamp) - extract(epoch from '2026-07-17 09:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414379 -2.73491)', '2026-07-17 09:19:03', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414377 -2.734915)'), GeomFromEWKT('SRID=4674;POINT (-40.414379 -2.73491)'))) / (select extract(epoch from '2026-07-17 09:19:03'::timestamp) - extract(epoch from '2026-07-17 09:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414377 -2.734915)'), GeomFromEWKT('SRID=4674;POINT (-40.414379 -2.73491)'))) / (select extract(epoch from '2026-07-17 09:19:03'::timestamp) - extract(epoch from '2026-07-17 09:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414399 -2.734896)', '2026-07-17 09:19:13', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414379 -2.73491)'), GeomFromEWKT('SRID=4674;POINT (-40.414399 -2.734896)'))) / (select extract(epoch from '2026-07-17 09:19:13'::timestamp) - extract(epoch from '2026-07-17 09:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414379 -2.73491)'), GeomFromEWKT('SRID=4674;POINT (-40.414399 -2.734896)'))) / (select extract(epoch from '2026-07-17 09:19:13'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47831, 'SRID=4674;POINT (-40.414408 -2.734886)', '2026-07-17 09:19:27', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414399 -2.734896)'), GeomFromEWKT('SRID=4674;POINT (-40.414408 -2.734886)'))) / (select extract(epoch from '2026-07-17 09:19:27'::timestamp) - extract(epoch from '2026-07-17 09:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414399 -2.734896)'), GeomFromEWKT('SRID=4674;POINT (-40.414408 -2.734886)'))) / (select extract(epoch from '2026-07-17 09:19:27'::timestamp) - extract(epoch from '2026-07-17 09:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414417 -2.734849)', '2026-07-17 09:19:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414408 -2.734886)'), GeomFromEWKT('SRID=4674;POINT (-40.414417 -2.734849)'))) / (select extract(epoch from '2026-07-17 09:19:33'::timestamp) - extract(epoch from '2026-07-17 09:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414408 -2.734886)'), GeomFromEWKT('SRID=4674;POINT (-40.414417 -2.734849)'))) / (select extract(epoch from '2026-07-17 09:19:33'::timestamp) - extract(epoch from '2026-07-17 09:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414384 -2.734792)', '2026-07-17 09:19:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414417 -2.734849)'), GeomFromEWKT('SRID=4674;POINT (-40.414384 -2.734792)'))) / (select extract(epoch from '2026-07-17 09:19:42'::timestamp) - extract(epoch from '2026-07-17 09:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414417 -2.734849)'), GeomFromEWKT('SRID=4674;POINT (-40.414384 -2.734792)'))) / (select extract(epoch from '2026-07-17 09:19:42'::timestamp) - extract(epoch from '2026-07-17 09:19: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'), 47831, 'SRID=4674;POINT (-40.414353 -2.734804)', '2026-07-17 09:19:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414384 -2.734792)'), GeomFromEWKT('SRID=4674;POINT (-40.414353 -2.734804)'))) / (select extract(epoch from '2026-07-17 09:19:50'::timestamp) - extract(epoch from '2026-07-17 09:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414384 -2.734792)'), GeomFromEWKT('SRID=4674;POINT (-40.414353 -2.734804)'))) / (select extract(epoch from '2026-07-17 09:19:50'::timestamp) - extract(epoch from '2026-07-17 09:19: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'), 47831, 'SRID=4674;POINT (-40.414364 -2.734826)', '2026-07-17 09:19:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414353 -2.734804)'), GeomFromEWKT('SRID=4674;POINT (-40.414364 -2.734826)'))) / (select extract(epoch from '2026-07-17 09:19:58'::timestamp) - extract(epoch from '2026-07-17 09:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414353 -2.734804)'), GeomFromEWKT('SRID=4674;POINT (-40.414364 -2.734826)'))) / (select extract(epoch from '2026-07-17 09:19:58'::timestamp) - extract(epoch from '2026-07-17 09:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414372 -2.734864)', '2026-07-17 09:20:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414364 -2.734826)'), GeomFromEWKT('SRID=4674;POINT (-40.414372 -2.734864)'))) / (select extract(epoch from '2026-07-17 09:20:04'::timestamp) - extract(epoch from '2026-07-17 09:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414364 -2.734826)'), GeomFromEWKT('SRID=4674;POINT (-40.414372 -2.734864)'))) / (select extract(epoch from '2026-07-17 09:20:04'::timestamp) - extract(epoch from '2026-07-17 09:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41436 -2.734896)', '2026-07-17 09:20:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414372 -2.734864)'), GeomFromEWKT('SRID=4674;POINT (-40.41436 -2.734896)'))) / (select extract(epoch from '2026-07-17 09:20:12'::timestamp) - extract(epoch from '2026-07-17 09:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414372 -2.734864)'), GeomFromEWKT('SRID=4674;POINT (-40.41436 -2.734896)'))) / (select extract(epoch from '2026-07-17 09:20:12'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47831, 'SRID=4674;POINT (-40.414359 -2.734896)', '2026-07-17 09:20:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41436 -2.734896)'), GeomFromEWKT('SRID=4674;POINT (-40.414359 -2.734896)'))) / (select extract(epoch from '2026-07-17 09:20:22'::timestamp) - extract(epoch from '2026-07-17 09:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41436 -2.734896)'), GeomFromEWKT('SRID=4674;POINT (-40.414359 -2.734896)'))) / (select extract(epoch from '2026-07-17 09:20:22'::timestamp) - extract(epoch from '2026-07-17 09:20: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'), 47831, 'SRID=4674;POINT (-40.41436 -2.734881)', '2026-07-17 09:20:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414359 -2.734896)'), GeomFromEWKT('SRID=4674;POINT (-40.41436 -2.734881)'))) / (select extract(epoch from '2026-07-17 09:20:42'::timestamp) - extract(epoch from '2026-07-17 09:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414359 -2.734896)'), GeomFromEWKT('SRID=4674;POINT (-40.41436 -2.734881)'))) / (select extract(epoch from '2026-07-17 09:20:42'::timestamp) - extract(epoch from '2026-07-17 09:20: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'), 47831, 'SRID=4674;POINT (-40.414381 -2.7349)', '2026-07-17 09:21:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41436 -2.734881)'), GeomFromEWKT('SRID=4674;POINT (-40.414381 -2.7349)'))) / (select extract(epoch from '2026-07-17 09:21:01'::timestamp) - extract(epoch from '2026-07-17 09:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41436 -2.734881)'), GeomFromEWKT('SRID=4674;POINT (-40.414381 -2.7349)'))) / (select extract(epoch from '2026-07-17 09:21:01'::timestamp) - extract(epoch from '2026-07-17 09:20: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'), 47831, 'SRID=4674;POINT (-40.414385 -2.734928)', '2026-07-17 09:21:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414381 -2.7349)'), GeomFromEWKT('SRID=4674;POINT (-40.414385 -2.734928)'))) / (select extract(epoch from '2026-07-17 09:21:16'::timestamp) - extract(epoch from '2026-07-17 09:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414381 -2.7349)'), GeomFromEWKT('SRID=4674;POINT (-40.414385 -2.734928)'))) / (select extract(epoch from '2026-07-17 09:21:16'::timestamp) - extract(epoch from '2026-07-17 09:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414437 -2.734908)', '2026-07-17 09:21:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414385 -2.734928)'), GeomFromEWKT('SRID=4674;POINT (-40.414437 -2.734908)'))) / (select extract(epoch from '2026-07-17 09:21:33'::timestamp) - extract(epoch from '2026-07-17 09:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414385 -2.734928)'), GeomFromEWKT('SRID=4674;POINT (-40.414437 -2.734908)'))) / (select extract(epoch from '2026-07-17 09:21:33'::timestamp) - extract(epoch from '2026-07-17 09:21: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'), 47831, 'SRID=4674;POINT (-40.414464 -2.734882)', '2026-07-17 09:21:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414437 -2.734908)'), GeomFromEWKT('SRID=4674;POINT (-40.414464 -2.734882)'))) / (select extract(epoch from '2026-07-17 09:21:41'::timestamp) - extract(epoch from '2026-07-17 09:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414437 -2.734908)'), GeomFromEWKT('SRID=4674;POINT (-40.414464 -2.734882)'))) / (select extract(epoch from '2026-07-17 09:21:41'::timestamp) - extract(epoch from '2026-07-17 09:21: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'), 47831, 'SRID=4674;POINT (-40.414494 -2.734856)', '2026-07-17 09:21:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414464 -2.734882)'), GeomFromEWKT('SRID=4674;POINT (-40.414494 -2.734856)'))) / (select extract(epoch from '2026-07-17 09:21:49'::timestamp) - extract(epoch from '2026-07-17 09:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414464 -2.734882)'), GeomFromEWKT('SRID=4674;POINT (-40.414494 -2.734856)'))) / (select extract(epoch from '2026-07-17 09:21:49'::timestamp) - extract(epoch from '2026-07-17 09:21: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'), 47831, 'SRID=4674;POINT (-40.414493 -2.734846)', '2026-07-17 09:21:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414494 -2.734856)'), GeomFromEWKT('SRID=4674;POINT (-40.414493 -2.734846)'))) / (select extract(epoch from '2026-07-17 09:21:56'::timestamp) - extract(epoch from '2026-07-17 09:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414494 -2.734856)'), GeomFromEWKT('SRID=4674;POINT (-40.414493 -2.734846)'))) / (select extract(epoch from '2026-07-17 09:21:56'::timestamp) - extract(epoch from '2026-07-17 09:21: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'), 47831, 'SRID=4674;POINT (-40.414498 -2.734831)', '2026-07-17 09:22:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414493 -2.734846)'), GeomFromEWKT('SRID=4674;POINT (-40.414498 -2.734831)'))) / (select extract(epoch from '2026-07-17 09:22:02'::timestamp) - extract(epoch from '2026-07-17 09:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414493 -2.734846)'), GeomFromEWKT('SRID=4674;POINT (-40.414498 -2.734831)'))) / (select extract(epoch from '2026-07-17 09:22:02'::timestamp) - extract(epoch from '2026-07-17 09:21: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'), 47831, 'SRID=4674;POINT (-40.414491 -2.734845)', '2026-07-17 09:22:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414498 -2.734831)'), GeomFromEWKT('SRID=4674;POINT (-40.414491 -2.734845)'))) / (select extract(epoch from '2026-07-17 09:22:08'::timestamp) - extract(epoch from '2026-07-17 09:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414498 -2.734831)'), GeomFromEWKT('SRID=4674;POINT (-40.414491 -2.734845)'))) / (select extract(epoch from '2026-07-17 09:22:08'::timestamp) - extract(epoch from '2026-07-17 09:22: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'), 47831, 'SRID=4674;POINT (-40.414491 -2.734871)', '2026-07-17 09:22:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414491 -2.734845)'), GeomFromEWKT('SRID=4674;POINT (-40.414491 -2.734871)'))) / (select extract(epoch from '2026-07-17 09:22:14'::timestamp) - extract(epoch from '2026-07-17 09:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414491 -2.734845)'), GeomFromEWKT('SRID=4674;POINT (-40.414491 -2.734871)'))) / (select extract(epoch from '2026-07-17 09:22:14'::timestamp) - extract(epoch from '2026-07-17 09:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414476 -2.734917)', '2026-07-17 09:22:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414491 -2.734871)'), GeomFromEWKT('SRID=4674;POINT (-40.414476 -2.734917)'))) / (select extract(epoch from '2026-07-17 09:22:22'::timestamp) - extract(epoch from '2026-07-17 09:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414491 -2.734871)'), GeomFromEWKT('SRID=4674;POINT (-40.414476 -2.734917)'))) / (select extract(epoch from '2026-07-17 09:22:22'::timestamp) - extract(epoch from '2026-07-17 09:22: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'), 47831, 'SRID=4674;POINT (-40.414477 -2.73494)', '2026-07-17 09:22:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414476 -2.734917)'), GeomFromEWKT('SRID=4674;POINT (-40.414477 -2.73494)'))) / (select extract(epoch from '2026-07-17 09:22:31'::timestamp) - extract(epoch from '2026-07-17 09:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414476 -2.734917)'), GeomFromEWKT('SRID=4674;POINT (-40.414477 -2.73494)'))) / (select extract(epoch from '2026-07-17 09:22:31'::timestamp) - extract(epoch from '2026-07-17 09:22: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'), 47831, 'SRID=4674;POINT (-40.414488 -2.734941)', '2026-07-17 09:22:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414477 -2.73494)'), GeomFromEWKT('SRID=4674;POINT (-40.414488 -2.734941)'))) / (select extract(epoch from '2026-07-17 09:22:34'::timestamp) - extract(epoch from '2026-07-17 09:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414477 -2.73494)'), GeomFromEWKT('SRID=4674;POINT (-40.414488 -2.734941)'))) / (select extract(epoch from '2026-07-17 09:22:34'::timestamp) - extract(epoch from '2026-07-17 09:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41449 -2.734942)', '2026-07-17 09:22:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414488 -2.734941)'), GeomFromEWKT('SRID=4674;POINT (-40.41449 -2.734942)'))) / (select extract(epoch from '2026-07-17 09:22:40'::timestamp) - extract(epoch from '2026-07-17 09:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414488 -2.734941)'), GeomFromEWKT('SRID=4674;POINT (-40.41449 -2.734942)'))) / (select extract(epoch from '2026-07-17 09:22:40'::timestamp) - extract(epoch from '2026-07-17 09:22: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'), 47831, 'SRID=4674;POINT (-40.414489 -2.734892)', '2026-07-17 09:23:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41449 -2.734942)'), GeomFromEWKT('SRID=4674;POINT (-40.414489 -2.734892)'))) / (select extract(epoch from '2026-07-17 09:23:27'::timestamp) - extract(epoch from '2026-07-17 09:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41449 -2.734942)'), GeomFromEWKT('SRID=4674;POINT (-40.414489 -2.734892)'))) / (select extract(epoch from '2026-07-17 09:23:27'::timestamp) - extract(epoch from '2026-07-17 09:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414477 -2.734885)', '2026-07-17 09:23:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414489 -2.734892)'), GeomFromEWKT('SRID=4674;POINT (-40.414477 -2.734885)'))) / (select extract(epoch from '2026-07-17 09:23:32'::timestamp) - extract(epoch from '2026-07-17 09:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414489 -2.734892)'), GeomFromEWKT('SRID=4674;POINT (-40.414477 -2.734885)'))) / (select extract(epoch from '2026-07-17 09:23:32'::timestamp) - extract(epoch from '2026-07-17 09:23: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'), 47831, 'SRID=4674;POINT (-40.414453 -2.734876)', '2026-07-17 09:23:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414477 -2.734885)'), GeomFromEWKT('SRID=4674;POINT (-40.414453 -2.734876)'))) / (select extract(epoch from '2026-07-17 09:23:39'::timestamp) - extract(epoch from '2026-07-17 09:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414477 -2.734885)'), GeomFromEWKT('SRID=4674;POINT (-40.414453 -2.734876)'))) / (select extract(epoch from '2026-07-17 09:23:39'::timestamp) - extract(epoch from '2026-07-17 09:23: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'), 47831, 'SRID=4674;POINT (-40.414414 -2.734892)', '2026-07-17 09:23:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414453 -2.734876)'), GeomFromEWKT('SRID=4674;POINT (-40.414414 -2.734892)'))) / (select extract(epoch from '2026-07-17 09:23:46'::timestamp) - extract(epoch from '2026-07-17 09:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414453 -2.734876)'), GeomFromEWKT('SRID=4674;POINT (-40.414414 -2.734892)'))) / (select extract(epoch from '2026-07-17 09:23:46'::timestamp) - extract(epoch from '2026-07-17 09:23: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'), 47831, 'SRID=4674;POINT (-40.414406 -2.734929)', '2026-07-17 09:23:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414414 -2.734892)'), GeomFromEWKT('SRID=4674;POINT (-40.414406 -2.734929)'))) / (select extract(epoch from '2026-07-17 09:23:55'::timestamp) - extract(epoch from '2026-07-17 09:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414414 -2.734892)'), GeomFromEWKT('SRID=4674;POINT (-40.414406 -2.734929)'))) / (select extract(epoch from '2026-07-17 09:23:55'::timestamp) - extract(epoch from '2026-07-17 09:23: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'), 47831, 'SRID=4674;POINT (-40.414378 -2.734973)', '2026-07-17 09:24:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414406 -2.734929)'), GeomFromEWKT('SRID=4674;POINT (-40.414378 -2.734973)'))) / (select extract(epoch from '2026-07-17 09:24:04'::timestamp) - extract(epoch from '2026-07-17 09:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414406 -2.734929)'), GeomFromEWKT('SRID=4674;POINT (-40.414378 -2.734973)'))) / (select extract(epoch from '2026-07-17 09:24:04'::timestamp) - extract(epoch from '2026-07-17 09:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414339 -2.735011)', '2026-07-17 09:24:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414378 -2.734973)'), GeomFromEWKT('SRID=4674;POINT (-40.414339 -2.735011)'))) / (select extract(epoch from '2026-07-17 09:24:11'::timestamp) - extract(epoch from '2026-07-17 09:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414378 -2.734973)'), GeomFromEWKT('SRID=4674;POINT (-40.414339 -2.735011)'))) / (select extract(epoch from '2026-07-17 09:24:11'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47831, 'SRID=4674;POINT (-40.414331 -2.735004)', '2026-07-17 09:24:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414339 -2.735011)'), GeomFromEWKT('SRID=4674;POINT (-40.414331 -2.735004)'))) / (select extract(epoch from '2026-07-17 09:24:29'::timestamp) - extract(epoch from '2026-07-17 09:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414339 -2.735011)'), GeomFromEWKT('SRID=4674;POINT (-40.414331 -2.735004)'))) / (select extract(epoch from '2026-07-17 09:24:29'::timestamp) - extract(epoch from '2026-07-17 09:24: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'), 47831, 'SRID=4674;POINT (-40.414333 -2.735001)', '2026-07-17 09:24:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414331 -2.735004)'), GeomFromEWKT('SRID=4674;POINT (-40.414333 -2.735001)'))) / (select extract(epoch from '2026-07-17 09:24:35'::timestamp) - extract(epoch from '2026-07-17 09:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414331 -2.735004)'), GeomFromEWKT('SRID=4674;POINT (-40.414333 -2.735001)'))) / (select extract(epoch from '2026-07-17 09:24:35'::timestamp) - extract(epoch from '2026-07-17 09:24: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'), 47831, 'SRID=4674;POINT (-40.414384 -2.734939)', '2026-07-17 09:25:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414333 -2.735001)'), GeomFromEWKT('SRID=4674;POINT (-40.414384 -2.734939)'))) / (select extract(epoch from '2026-07-17 09:25:28'::timestamp) - extract(epoch from '2026-07-17 09:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414333 -2.735001)'), GeomFromEWKT('SRID=4674;POINT (-40.414384 -2.734939)'))) / (select extract(epoch from '2026-07-17 09:25:28'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47831, 'SRID=4674;POINT (-40.414396 -2.734927)', '2026-07-17 09:25:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414384 -2.734939)'), GeomFromEWKT('SRID=4674;POINT (-40.414396 -2.734927)'))) / (select extract(epoch from '2026-07-17 09:25:39'::timestamp) - extract(epoch from '2026-07-17 09:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414384 -2.734939)'), GeomFromEWKT('SRID=4674;POINT (-40.414396 -2.734927)'))) / (select extract(epoch from '2026-07-17 09:25:39'::timestamp) - extract(epoch from '2026-07-17 09:25:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41444 -2.734884)', '2026-07-17 09:26:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414396 -2.734927)'), GeomFromEWKT('SRID=4674;POINT (-40.41444 -2.734884)'))) / (select extract(epoch from '2026-07-17 09:26:01'::timestamp) - extract(epoch from '2026-07-17 09:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414396 -2.734927)'), GeomFromEWKT('SRID=4674;POINT (-40.41444 -2.734884)'))) / (select extract(epoch from '2026-07-17 09:26:01'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47831, 'SRID=4674;POINT (-40.414454 -2.734864)', '2026-07-17 09:26:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41444 -2.734884)'), GeomFromEWKT('SRID=4674;POINT (-40.414454 -2.734864)'))) / (select extract(epoch from '2026-07-17 09:26:08'::timestamp) - extract(epoch from '2026-07-17 09:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41444 -2.734884)'), GeomFromEWKT('SRID=4674;POINT (-40.414454 -2.734864)'))) / (select extract(epoch from '2026-07-17 09:26:08'::timestamp) - extract(epoch from '2026-07-17 09:26: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'), 47831, 'SRID=4674;POINT (-40.414466 -2.734851)', '2026-07-17 09:26:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414454 -2.734864)'), GeomFromEWKT('SRID=4674;POINT (-40.414466 -2.734851)'))) / (select extract(epoch from '2026-07-17 09:26:12'::timestamp) - extract(epoch from '2026-07-17 09:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414454 -2.734864)'), GeomFromEWKT('SRID=4674;POINT (-40.414466 -2.734851)'))) / (select extract(epoch from '2026-07-17 09:26:12'::timestamp) - extract(epoch from '2026-07-17 09:26:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414473 -2.734826)', '2026-07-17 09:26:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414466 -2.734851)'), GeomFromEWKT('SRID=4674;POINT (-40.414473 -2.734826)'))) / (select extract(epoch from '2026-07-17 09:26:17'::timestamp) - extract(epoch from '2026-07-17 09:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414466 -2.734851)'), GeomFromEWKT('SRID=4674;POINT (-40.414473 -2.734826)'))) / (select extract(epoch from '2026-07-17 09:26:17'::timestamp) - extract(epoch from '2026-07-17 09:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414482 -2.734773)', '2026-07-17 09:26:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414473 -2.734826)'), GeomFromEWKT('SRID=4674;POINT (-40.414482 -2.734773)'))) / (select extract(epoch from '2026-07-17 09:26:27'::timestamp) - extract(epoch from '2026-07-17 09:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414473 -2.734826)'), GeomFromEWKT('SRID=4674;POINT (-40.414482 -2.734773)'))) / (select extract(epoch from '2026-07-17 09:26:27'::timestamp) - extract(epoch from '2026-07-17 09:26: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'), 47831, 'SRID=4674;POINT (-40.41447 -2.734714)', '2026-07-17 09:26:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414482 -2.734773)'), GeomFromEWKT('SRID=4674;POINT (-40.41447 -2.734714)'))) / (select extract(epoch from '2026-07-17 09:26:36'::timestamp) - extract(epoch from '2026-07-17 09:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414482 -2.734773)'), GeomFromEWKT('SRID=4674;POINT (-40.41447 -2.734714)'))) / (select extract(epoch from '2026-07-17 09:26:36'::timestamp) - extract(epoch from '2026-07-17 09:26: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'), 47831, 'SRID=4674;POINT (-40.414448 -2.734621)', '2026-07-17 09:26:45', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41447 -2.734714)'), GeomFromEWKT('SRID=4674;POINT (-40.414448 -2.734621)'))) / (select extract(epoch from '2026-07-17 09:26:45'::timestamp) - extract(epoch from '2026-07-17 09:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41447 -2.734714)'), GeomFromEWKT('SRID=4674;POINT (-40.414448 -2.734621)'))) / (select extract(epoch from '2026-07-17 09:26:45'::timestamp) - extract(epoch from '2026-07-17 09:26: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'), 47831, 'SRID=4674;POINT (-40.414477 -2.734577)', '2026-07-17 09:26:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414448 -2.734621)'), GeomFromEWKT('SRID=4674;POINT (-40.414477 -2.734577)'))) / (select extract(epoch from '2026-07-17 09:26:52'::timestamp) - extract(epoch from '2026-07-17 09:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414448 -2.734621)'), GeomFromEWKT('SRID=4674;POINT (-40.414477 -2.734577)'))) / (select extract(epoch from '2026-07-17 09:26:52'::timestamp) - extract(epoch from '2026-07-17 09:26: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'), 47831, 'SRID=4674;POINT (-40.414495 -2.734572)', '2026-07-17 09:26:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414477 -2.734577)'), GeomFromEWKT('SRID=4674;POINT (-40.414495 -2.734572)'))) / (select extract(epoch from '2026-07-17 09:26:54'::timestamp) - extract(epoch from '2026-07-17 09:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414477 -2.734577)'), GeomFromEWKT('SRID=4674;POINT (-40.414495 -2.734572)'))) / (select extract(epoch from '2026-07-17 09:26:54'::timestamp) - extract(epoch from '2026-07-17 09:26: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'), 47831, 'SRID=4674;POINT (-40.414593 -2.734556)', '2026-07-17 09:27:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414495 -2.734572)'), GeomFromEWKT('SRID=4674;POINT (-40.414593 -2.734556)'))) / (select extract(epoch from '2026-07-17 09:27:03'::timestamp) - extract(epoch from '2026-07-17 09:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414495 -2.734572)'), GeomFromEWKT('SRID=4674;POINT (-40.414593 -2.734556)'))) / (select extract(epoch from '2026-07-17 09:27:03'::timestamp) - extract(epoch from '2026-07-17 09:26:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414672 -2.734562)', '2026-07-17 09:27:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414593 -2.734556)'), GeomFromEWKT('SRID=4674;POINT (-40.414672 -2.734562)'))) / (select extract(epoch from '2026-07-17 09:27:11'::timestamp) - extract(epoch from '2026-07-17 09:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414593 -2.734556)'), GeomFromEWKT('SRID=4674;POINT (-40.414672 -2.734562)'))) / (select extract(epoch from '2026-07-17 09:27:11'::timestamp) - extract(epoch from '2026-07-17 09:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414705 -2.734606)', '2026-07-17 09:27:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414672 -2.734562)'), GeomFromEWKT('SRID=4674;POINT (-40.414705 -2.734606)'))) / (select extract(epoch from '2026-07-17 09:27:18'::timestamp) - extract(epoch from '2026-07-17 09:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414672 -2.734562)'), GeomFromEWKT('SRID=4674;POINT (-40.414705 -2.734606)'))) / (select extract(epoch from '2026-07-17 09:27:18'::timestamp) - extract(epoch from '2026-07-17 09:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414738 -2.734697)', '2026-07-17 09:27:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414705 -2.734606)'), GeomFromEWKT('SRID=4674;POINT (-40.414738 -2.734697)'))) / (select extract(epoch from '2026-07-17 09:27:26'::timestamp) - extract(epoch from '2026-07-17 09:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414705 -2.734606)'), GeomFromEWKT('SRID=4674;POINT (-40.414738 -2.734697)'))) / (select extract(epoch from '2026-07-17 09:27:26'::timestamp) - extract(epoch from '2026-07-17 09:27: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'), 47831, 'SRID=4674;POINT (-40.414744 -2.734699)', '2026-07-17 09:27:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414738 -2.734697)'), GeomFromEWKT('SRID=4674;POINT (-40.414744 -2.734699)'))) / (select extract(epoch from '2026-07-17 09:27:27'::timestamp) - extract(epoch from '2026-07-17 09:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414738 -2.734697)'), GeomFromEWKT('SRID=4674;POINT (-40.414744 -2.734699)'))) / (select extract(epoch from '2026-07-17 09:27:27'::timestamp) - extract(epoch from '2026-07-17 09:27: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'), 47831, 'SRID=4674;POINT (-40.414813 -2.734684)', '2026-07-17 09:27:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414744 -2.734699)'), GeomFromEWKT('SRID=4674;POINT (-40.414813 -2.734684)'))) / (select extract(epoch from '2026-07-17 09:27:35'::timestamp) - extract(epoch from '2026-07-17 09:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414744 -2.734699)'), GeomFromEWKT('SRID=4674;POINT (-40.414813 -2.734684)'))) / (select extract(epoch from '2026-07-17 09:27:35'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47831, 'SRID=4674;POINT (-40.41491 -2.734647)', '2026-07-17 09:27:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414813 -2.734684)'), GeomFromEWKT('SRID=4674;POINT (-40.41491 -2.734647)'))) / (select extract(epoch from '2026-07-17 09:27:43'::timestamp) - extract(epoch from '2026-07-17 09:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414813 -2.734684)'), GeomFromEWKT('SRID=4674;POINT (-40.41491 -2.734647)'))) / (select extract(epoch from '2026-07-17 09:27:43'::timestamp) - extract(epoch from '2026-07-17 09:27: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'), 47831, 'SRID=4674;POINT (-40.415011 -2.734619)', '2026-07-17 09:27:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41491 -2.734647)'), GeomFromEWKT('SRID=4674;POINT (-40.415011 -2.734619)'))) / (select extract(epoch from '2026-07-17 09:27:51'::timestamp) - extract(epoch from '2026-07-17 09:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41491 -2.734647)'), GeomFromEWKT('SRID=4674;POINT (-40.415011 -2.734619)'))) / (select extract(epoch from '2026-07-17 09:27:51'::timestamp) - extract(epoch from '2026-07-17 09:27: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'), 47831, 'SRID=4674;POINT (-40.415054 -2.734582)', '2026-07-17 09:27:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415011 -2.734619)'), GeomFromEWKT('SRID=4674;POINT (-40.415054 -2.734582)'))) / (select extract(epoch from '2026-07-17 09:27:58'::timestamp) - extract(epoch from '2026-07-17 09:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415011 -2.734619)'), GeomFromEWKT('SRID=4674;POINT (-40.415054 -2.734582)'))) / (select extract(epoch from '2026-07-17 09:27:58'::timestamp) - extract(epoch from '2026-07-17 09:27: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'), 47831, 'SRID=4674;POINT (-40.415102 -2.734497)', '2026-07-17 09:28:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415054 -2.734582)'), GeomFromEWKT('SRID=4674;POINT (-40.415102 -2.734497)'))) / (select extract(epoch from '2026-07-17 09:28:04'::timestamp) - extract(epoch from '2026-07-17 09:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415054 -2.734582)'), GeomFromEWKT('SRID=4674;POINT (-40.415102 -2.734497)'))) / (select extract(epoch from '2026-07-17 09:28:04'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47831, 'SRID=4674;POINT (-40.41511 -2.734403)', '2026-07-17 09:28:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415102 -2.734497)'), GeomFromEWKT('SRID=4674;POINT (-40.41511 -2.734403)'))) / (select extract(epoch from '2026-07-17 09:28:12'::timestamp) - extract(epoch from '2026-07-17 09:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415102 -2.734497)'), GeomFromEWKT('SRID=4674;POINT (-40.41511 -2.734403)'))) / (select extract(epoch from '2026-07-17 09:28:12'::timestamp) - extract(epoch from '2026-07-17 09:28: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'), 47831, 'SRID=4674;POINT (-40.415109 -2.73434)', '2026-07-17 09:28:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41511 -2.734403)'), GeomFromEWKT('SRID=4674;POINT (-40.415109 -2.73434)'))) / (select extract(epoch from '2026-07-17 09:28:20'::timestamp) - extract(epoch from '2026-07-17 09:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41511 -2.734403)'), GeomFromEWKT('SRID=4674;POINT (-40.415109 -2.73434)'))) / (select extract(epoch from '2026-07-17 09:28:20'::timestamp) - extract(epoch from '2026-07-17 09:28: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'), 47831, 'SRID=4674;POINT (-40.415099 -2.734293)', '2026-07-17 09:28:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415109 -2.73434)'), GeomFromEWKT('SRID=4674;POINT (-40.415099 -2.734293)'))) / (select extract(epoch from '2026-07-17 09:28:29'::timestamp) - extract(epoch from '2026-07-17 09:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415109 -2.73434)'), GeomFromEWKT('SRID=4674;POINT (-40.415099 -2.734293)'))) / (select extract(epoch from '2026-07-17 09:28:29'::timestamp) - extract(epoch from '2026-07-17 09:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415078 -2.734259)', '2026-07-17 09:28:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415099 -2.734293)'), GeomFromEWKT('SRID=4674;POINT (-40.415078 -2.734259)'))) / (select extract(epoch from '2026-07-17 09:28:37'::timestamp) - extract(epoch from '2026-07-17 09:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415099 -2.734293)'), GeomFromEWKT('SRID=4674;POINT (-40.415078 -2.734259)'))) / (select extract(epoch from '2026-07-17 09:28:37'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47831, 'SRID=4674;POINT (-40.415041 -2.734306)', '2026-07-17 09:28:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415078 -2.734259)'), GeomFromEWKT('SRID=4674;POINT (-40.415041 -2.734306)'))) / (select extract(epoch from '2026-07-17 09:28:48'::timestamp) - extract(epoch from '2026-07-17 09:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415078 -2.734259)'), GeomFromEWKT('SRID=4674;POINT (-40.415041 -2.734306)'))) / (select extract(epoch from '2026-07-17 09:28:48'::timestamp) - extract(epoch from '2026-07-17 09:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415021 -2.734332)', '2026-07-17 09:28:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415041 -2.734306)'), GeomFromEWKT('SRID=4674;POINT (-40.415021 -2.734332)'))) / (select extract(epoch from '2026-07-17 09:28:59'::timestamp) - extract(epoch from '2026-07-17 09:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415041 -2.734306)'), GeomFromEWKT('SRID=4674;POINT (-40.415021 -2.734332)'))) / (select extract(epoch from '2026-07-17 09:28:59'::timestamp) - extract(epoch from '2026-07-17 09:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415025 -2.734358)', '2026-07-17 09:29:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415021 -2.734332)'), GeomFromEWKT('SRID=4674;POINT (-40.415025 -2.734358)'))) / (select extract(epoch from '2026-07-17 09:29:07'::timestamp) - extract(epoch from '2026-07-17 09:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415021 -2.734332)'), GeomFromEWKT('SRID=4674;POINT (-40.415025 -2.734358)'))) / (select extract(epoch from '2026-07-17 09:29:07'::timestamp) - extract(epoch from '2026-07-17 09:28: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'), 47831, 'SRID=4674;POINT (-40.415088 -2.734381)', '2026-07-17 09:29:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415025 -2.734358)'), GeomFromEWKT('SRID=4674;POINT (-40.415088 -2.734381)'))) / (select extract(epoch from '2026-07-17 09:29:18'::timestamp) - extract(epoch from '2026-07-17 09:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415025 -2.734358)'), GeomFromEWKT('SRID=4674;POINT (-40.415088 -2.734381)'))) / (select extract(epoch from '2026-07-17 09:29:18'::timestamp) - extract(epoch from '2026-07-17 09:29: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'), 47831, 'SRID=4674;POINT (-40.415165 -2.734393)', '2026-07-17 09:29:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415088 -2.734381)'), GeomFromEWKT('SRID=4674;POINT (-40.415165 -2.734393)'))) / (select extract(epoch from '2026-07-17 09:29:25'::timestamp) - extract(epoch from '2026-07-17 09:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415088 -2.734381)'), GeomFromEWKT('SRID=4674;POINT (-40.415165 -2.734393)'))) / (select extract(epoch from '2026-07-17 09:29:25'::timestamp) - extract(epoch from '2026-07-17 09:29:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415267 -2.734415)', '2026-07-17 09:29:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415165 -2.734393)'), GeomFromEWKT('SRID=4674;POINT (-40.415267 -2.734415)'))) / (select extract(epoch from '2026-07-17 09:29:34'::timestamp) - extract(epoch from '2026-07-17 09:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415165 -2.734393)'), GeomFromEWKT('SRID=4674;POINT (-40.415267 -2.734415)'))) / (select extract(epoch from '2026-07-17 09:29:34'::timestamp) - extract(epoch from '2026-07-17 09:29: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'), 47831, 'SRID=4674;POINT (-40.415348 -2.734427)', '2026-07-17 09:29:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415267 -2.734415)'), GeomFromEWKT('SRID=4674;POINT (-40.415348 -2.734427)'))) / (select extract(epoch from '2026-07-17 09:29:43'::timestamp) - extract(epoch from '2026-07-17 09:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415267 -2.734415)'), GeomFromEWKT('SRID=4674;POINT (-40.415348 -2.734427)'))) / (select extract(epoch from '2026-07-17 09:29:43'::timestamp) - extract(epoch from '2026-07-17 09:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415441 -2.734411)', '2026-07-17 09:29:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415348 -2.734427)'), GeomFromEWKT('SRID=4674;POINT (-40.415441 -2.734411)'))) / (select extract(epoch from '2026-07-17 09:29:51'::timestamp) - extract(epoch from '2026-07-17 09:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415348 -2.734427)'), GeomFromEWKT('SRID=4674;POINT (-40.415441 -2.734411)'))) / (select extract(epoch from '2026-07-17 09:29:51'::timestamp) - extract(epoch from '2026-07-17 09:29: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'), 47831, 'SRID=4674;POINT (-40.415511 -2.734403)', '2026-07-17 09:29:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415441 -2.734411)'), GeomFromEWKT('SRID=4674;POINT (-40.415511 -2.734403)'))) / (select extract(epoch from '2026-07-17 09:29:59'::timestamp) - extract(epoch from '2026-07-17 09:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415441 -2.734411)'), GeomFromEWKT('SRID=4674;POINT (-40.415511 -2.734403)'))) / (select extract(epoch from '2026-07-17 09:29:59'::timestamp) - extract(epoch from '2026-07-17 09:29: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'), 47831, 'SRID=4674;POINT (-40.415559 -2.734394)', '2026-07-17 09:30:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415511 -2.734403)'), GeomFromEWKT('SRID=4674;POINT (-40.415559 -2.734394)'))) / (select extract(epoch from '2026-07-17 09:30:06'::timestamp) - extract(epoch from '2026-07-17 09:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415511 -2.734403)'), GeomFromEWKT('SRID=4674;POINT (-40.415559 -2.734394)'))) / (select extract(epoch from '2026-07-17 09:30:06'::timestamp) - extract(epoch from '2026-07-17 09:29: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'), 47831, 'SRID=4674;POINT (-40.41562 -2.734364)', '2026-07-17 09:30:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415559 -2.734394)'), GeomFromEWKT('SRID=4674;POINT (-40.41562 -2.734364)'))) / (select extract(epoch from '2026-07-17 09:30:13'::timestamp) - extract(epoch from '2026-07-17 09:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415559 -2.734394)'), GeomFromEWKT('SRID=4674;POINT (-40.41562 -2.734364)'))) / (select extract(epoch from '2026-07-17 09:30:13'::timestamp) - extract(epoch from '2026-07-17 09:30:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415671 -2.734349)', '2026-07-17 09:30:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41562 -2.734364)'), GeomFromEWKT('SRID=4674;POINT (-40.415671 -2.734349)'))) / (select extract(epoch from '2026-07-17 09:30:20'::timestamp) - extract(epoch from '2026-07-17 09:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41562 -2.734364)'), GeomFromEWKT('SRID=4674;POINT (-40.415671 -2.734349)'))) / (select extract(epoch from '2026-07-17 09:30:20'::timestamp) - extract(epoch from '2026-07-17 09:30:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415739 -2.734278)', '2026-07-17 09:30:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415671 -2.734349)'), GeomFromEWKT('SRID=4674;POINT (-40.415739 -2.734278)'))) / (select extract(epoch from '2026-07-17 09:30:27'::timestamp) - extract(epoch from '2026-07-17 09:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415671 -2.734349)'), GeomFromEWKT('SRID=4674;POINT (-40.415739 -2.734278)'))) / (select extract(epoch from '2026-07-17 09:30:27'::timestamp) - extract(epoch from '2026-07-17 09:30: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'), 47831, 'SRID=4674;POINT (-40.415745 -2.734267)', '2026-07-17 09:30:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415739 -2.734278)'), GeomFromEWKT('SRID=4674;POINT (-40.415745 -2.734267)'))) / (select extract(epoch from '2026-07-17 09:30:28'::timestamp) - extract(epoch from '2026-07-17 09:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415739 -2.734278)'), GeomFromEWKT('SRID=4674;POINT (-40.415745 -2.734267)'))) / (select extract(epoch from '2026-07-17 09:30:28'::timestamp) - extract(epoch from '2026-07-17 09:30:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415743 -2.734248)', '2026-07-17 09:30:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415745 -2.734267)'), GeomFromEWKT('SRID=4674;POINT (-40.415743 -2.734248)'))) / (select extract(epoch from '2026-07-17 09:30:30'::timestamp) - extract(epoch from '2026-07-17 09:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415745 -2.734267)'), GeomFromEWKT('SRID=4674;POINT (-40.415743 -2.734248)'))) / (select extract(epoch from '2026-07-17 09:30:30'::timestamp) - extract(epoch from '2026-07-17 09:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415723 -2.734178)', '2026-07-17 09:30:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415743 -2.734248)'), GeomFromEWKT('SRID=4674;POINT (-40.415723 -2.734178)'))) / (select extract(epoch from '2026-07-17 09:30:34'::timestamp) - extract(epoch from '2026-07-17 09:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415743 -2.734248)'), GeomFromEWKT('SRID=4674;POINT (-40.415723 -2.734178)'))) / (select extract(epoch from '2026-07-17 09:30:34'::timestamp) - extract(epoch from '2026-07-17 09:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415635 -2.73413)', '2026-07-17 09:30:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415723 -2.734178)'), GeomFromEWKT('SRID=4674;POINT (-40.415635 -2.73413)'))) / (select extract(epoch from '2026-07-17 09:30:41'::timestamp) - extract(epoch from '2026-07-17 09:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415723 -2.734178)'), GeomFromEWKT('SRID=4674;POINT (-40.415635 -2.73413)'))) / (select extract(epoch from '2026-07-17 09:30:41'::timestamp) - extract(epoch from '2026-07-17 09:30:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415543 -2.734143)', '2026-07-17 09:30:50', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415635 -2.73413)'), GeomFromEWKT('SRID=4674;POINT (-40.415543 -2.734143)'))) / (select extract(epoch from '2026-07-17 09:30:50'::timestamp) - extract(epoch from '2026-07-17 09:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415635 -2.73413)'), GeomFromEWKT('SRID=4674;POINT (-40.415543 -2.734143)'))) / (select extract(epoch from '2026-07-17 09:30:50'::timestamp) - extract(epoch from '2026-07-17 09:30: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'), 47831, 'SRID=4674;POINT (-40.415514 -2.734175)', '2026-07-17 09:30:56', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415543 -2.734143)'), GeomFromEWKT('SRID=4674;POINT (-40.415514 -2.734175)'))) / (select extract(epoch from '2026-07-17 09:30:56'::timestamp) - extract(epoch from '2026-07-17 09:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415543 -2.734143)'), GeomFromEWKT('SRID=4674;POINT (-40.415514 -2.734175)'))) / (select extract(epoch from '2026-07-17 09:30:56'::timestamp) - extract(epoch from '2026-07-17 09:30: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'), 47831, 'SRID=4674;POINT (-40.415518 -2.734177)', '2026-07-17 09:31:08', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415514 -2.734175)'), GeomFromEWKT('SRID=4674;POINT (-40.415518 -2.734177)'))) / (select extract(epoch from '2026-07-17 09:31:08'::timestamp) - extract(epoch from '2026-07-17 09:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415514 -2.734175)'), GeomFromEWKT('SRID=4674;POINT (-40.415518 -2.734177)'))) / (select extract(epoch from '2026-07-17 09:31:08'::timestamp) - extract(epoch from '2026-07-17 09:30: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'), 47831, 'SRID=4674;POINT (-40.415579 -2.734164)', '2026-07-17 09:31:21', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415518 -2.734177)'), GeomFromEWKT('SRID=4674;POINT (-40.415579 -2.734164)'))) / (select extract(epoch from '2026-07-17 09:31:21'::timestamp) - extract(epoch from '2026-07-17 09:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415518 -2.734177)'), GeomFromEWKT('SRID=4674;POINT (-40.415579 -2.734164)'))) / (select extract(epoch from '2026-07-17 09:31:21'::timestamp) - extract(epoch from '2026-07-17 09:31:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415609 -2.734143)', '2026-07-17 09:31:35', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415579 -2.734164)'), GeomFromEWKT('SRID=4674;POINT (-40.415609 -2.734143)'))) / (select extract(epoch from '2026-07-17 09:31:35'::timestamp) - extract(epoch from '2026-07-17 09:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415579 -2.734164)'), GeomFromEWKT('SRID=4674;POINT (-40.415609 -2.734143)'))) / (select extract(epoch from '2026-07-17 09:31:35'::timestamp) - extract(epoch from '2026-07-17 09:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415627 -2.734127)', '2026-07-17 09:31:42', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415609 -2.734143)'), GeomFromEWKT('SRID=4674;POINT (-40.415627 -2.734127)'))) / (select extract(epoch from '2026-07-17 09:31:42'::timestamp) - extract(epoch from '2026-07-17 09:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415609 -2.734143)'), GeomFromEWKT('SRID=4674;POINT (-40.415627 -2.734127)'))) / (select extract(epoch from '2026-07-17 09:31:42'::timestamp) - extract(epoch from '2026-07-17 09:31: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'), 47831, 'SRID=4674;POINT (-40.41566 -2.734105)', '2026-07-17 09:31:52', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415627 -2.734127)'), GeomFromEWKT('SRID=4674;POINT (-40.41566 -2.734105)'))) / (select extract(epoch from '2026-07-17 09:31:52'::timestamp) - extract(epoch from '2026-07-17 09:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415627 -2.734127)'), GeomFromEWKT('SRID=4674;POINT (-40.41566 -2.734105)'))) / (select extract(epoch from '2026-07-17 09:31:52'::timestamp) - extract(epoch from '2026-07-17 09:31: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'), 47831, 'SRID=4674;POINT (-40.415656 -2.734095)', '2026-07-17 09:32:05', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41566 -2.734105)'), GeomFromEWKT('SRID=4674;POINT (-40.415656 -2.734095)'))) / (select extract(epoch from '2026-07-17 09:32:05'::timestamp) - extract(epoch from '2026-07-17 09:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41566 -2.734105)'), GeomFromEWKT('SRID=4674;POINT (-40.415656 -2.734095)'))) / (select extract(epoch from '2026-07-17 09:32:05'::timestamp) - extract(epoch from '2026-07-17 09:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415663 -2.734047)', '2026-07-17 09:32:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415656 -2.734095)'), GeomFromEWKT('SRID=4674;POINT (-40.415663 -2.734047)'))) / (select extract(epoch from '2026-07-17 09:32:25'::timestamp) - extract(epoch from '2026-07-17 09:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415656 -2.734095)'), GeomFromEWKT('SRID=4674;POINT (-40.415663 -2.734047)'))) / (select extract(epoch from '2026-07-17 09:32:25'::timestamp) - extract(epoch from '2026-07-17 09:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415679 -2.734004)', '2026-07-17 09:32:35', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415663 -2.734047)'), GeomFromEWKT('SRID=4674;POINT (-40.415679 -2.734004)'))) / (select extract(epoch from '2026-07-17 09:32:35'::timestamp) - extract(epoch from '2026-07-17 09:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415663 -2.734047)'), GeomFromEWKT('SRID=4674;POINT (-40.415679 -2.734004)'))) / (select extract(epoch from '2026-07-17 09:32:35'::timestamp) - extract(epoch from '2026-07-17 09:32: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'), 47831, 'SRID=4674;POINT (-40.415699 -2.733956)', '2026-07-17 09:32:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415679 -2.734004)'), GeomFromEWKT('SRID=4674;POINT (-40.415699 -2.733956)'))) / (select extract(epoch from '2026-07-17 09:32:43'::timestamp) - extract(epoch from '2026-07-17 09:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415679 -2.734004)'), GeomFromEWKT('SRID=4674;POINT (-40.415699 -2.733956)'))) / (select extract(epoch from '2026-07-17 09:32:43'::timestamp) - extract(epoch from '2026-07-17 09:32: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'), 47831, 'SRID=4674;POINT (-40.415714 -2.733877)', '2026-07-17 09:32:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415699 -2.733956)'), GeomFromEWKT('SRID=4674;POINT (-40.415714 -2.733877)'))) / (select extract(epoch from '2026-07-17 09:32:51'::timestamp) - extract(epoch from '2026-07-17 09:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415699 -2.733956)'), GeomFromEWKT('SRID=4674;POINT (-40.415714 -2.733877)'))) / (select extract(epoch from '2026-07-17 09:32:51'::timestamp) - extract(epoch from '2026-07-17 09:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.415725 -2.733825)', '2026-07-17 09:33:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415714 -2.733877)'), GeomFromEWKT('SRID=4674;POINT (-40.415725 -2.733825)'))) / (select extract(epoch from '2026-07-17 09:33:00'::timestamp) - extract(epoch from '2026-07-17 09:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415714 -2.733877)'), GeomFromEWKT('SRID=4674;POINT (-40.415725 -2.733825)'))) / (select extract(epoch from '2026-07-17 09:33:00'::timestamp) - extract(epoch from '2026-07-17 09:32: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'), 47831, 'SRID=4674;POINT (-40.415781 -2.733817)', '2026-07-17 09:33:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415725 -2.733825)'), GeomFromEWKT('SRID=4674;POINT (-40.415781 -2.733817)'))) / (select extract(epoch from '2026-07-17 09:33:07'::timestamp) - extract(epoch from '2026-07-17 09:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415725 -2.733825)'), GeomFromEWKT('SRID=4674;POINT (-40.415781 -2.733817)'))) / (select extract(epoch from '2026-07-17 09:33:07'::timestamp) - extract(epoch from '2026-07-17 09:33: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'), 47831, 'SRID=4674;POINT (-40.415847 -2.733795)', '2026-07-17 09:33:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415781 -2.733817)'), GeomFromEWKT('SRID=4674;POINT (-40.415847 -2.733795)'))) / (select extract(epoch from '2026-07-17 09:33:14'::timestamp) - extract(epoch from '2026-07-17 09:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415781 -2.733817)'), GeomFromEWKT('SRID=4674;POINT (-40.415847 -2.733795)'))) / (select extract(epoch from '2026-07-17 09:33:14'::timestamp) - extract(epoch from '2026-07-17 09:33: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'), 47831, 'SRID=4674;POINT (-40.415886 -2.733823)', '2026-07-17 09:33:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415847 -2.733795)'), GeomFromEWKT('SRID=4674;POINT (-40.415886 -2.733823)'))) / (select extract(epoch from '2026-07-17 09:33:21'::timestamp) - extract(epoch from '2026-07-17 09:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415847 -2.733795)'), GeomFromEWKT('SRID=4674;POINT (-40.415886 -2.733823)'))) / (select extract(epoch from '2026-07-17 09:33:21'::timestamp) - extract(epoch from '2026-07-17 09:33: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'), 47831, 'SRID=4674;POINT (-40.415928 -2.733882)', '2026-07-17 09:33:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415886 -2.733823)'), GeomFromEWKT('SRID=4674;POINT (-40.415928 -2.733882)'))) / (select extract(epoch from '2026-07-17 09:33:30'::timestamp) - extract(epoch from '2026-07-17 09:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415886 -2.733823)'), GeomFromEWKT('SRID=4674;POINT (-40.415928 -2.733882)'))) / (select extract(epoch from '2026-07-17 09:33:30'::timestamp) - extract(epoch from '2026-07-17 09:33: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'), 47831, 'SRID=4674;POINT (-40.41599 -2.733864)', '2026-07-17 09:33:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415928 -2.733882)'), GeomFromEWKT('SRID=4674;POINT (-40.41599 -2.733864)'))) / (select extract(epoch from '2026-07-17 09:33:37'::timestamp) - extract(epoch from '2026-07-17 09:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415928 -2.733882)'), GeomFromEWKT('SRID=4674;POINT (-40.41599 -2.733864)'))) / (select extract(epoch from '2026-07-17 09:33:37'::timestamp) - extract(epoch from '2026-07-17 09:33: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'), 47831, 'SRID=4674;POINT (-40.416069 -2.733831)', '2026-07-17 09:33:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41599 -2.733864)'), GeomFromEWKT('SRID=4674;POINT (-40.416069 -2.733831)'))) / (select extract(epoch from '2026-07-17 09:33:43'::timestamp) - extract(epoch from '2026-07-17 09:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41599 -2.733864)'), GeomFromEWKT('SRID=4674;POINT (-40.416069 -2.733831)'))) / (select extract(epoch from '2026-07-17 09:33:43'::timestamp) - extract(epoch from '2026-07-17 09:33:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41613 -2.733805)', '2026-07-17 09:33:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416069 -2.733831)'), GeomFromEWKT('SRID=4674;POINT (-40.41613 -2.733805)'))) / (select extract(epoch from '2026-07-17 09:33:51'::timestamp) - extract(epoch from '2026-07-17 09:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416069 -2.733831)'), GeomFromEWKT('SRID=4674;POINT (-40.41613 -2.733805)'))) / (select extract(epoch from '2026-07-17 09:33:51'::timestamp) - extract(epoch from '2026-07-17 09:33: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'), 47831, 'SRID=4674;POINT (-40.416206 -2.733742)', '2026-07-17 09:33:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41613 -2.733805)'), GeomFromEWKT('SRID=4674;POINT (-40.416206 -2.733742)'))) / (select extract(epoch from '2026-07-17 09:33:59'::timestamp) - extract(epoch from '2026-07-17 09:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41613 -2.733805)'), GeomFromEWKT('SRID=4674;POINT (-40.416206 -2.733742)'))) / (select extract(epoch from '2026-07-17 09:33:59'::timestamp) - extract(epoch from '2026-07-17 09:33: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'), 47831, 'SRID=4674;POINT (-40.416257 -2.733659)', '2026-07-17 09:34:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416206 -2.733742)'), GeomFromEWKT('SRID=4674;POINT (-40.416257 -2.733659)'))) / (select extract(epoch from '2026-07-17 09:34:07'::timestamp) - extract(epoch from '2026-07-17 09:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416206 -2.733742)'), GeomFromEWKT('SRID=4674;POINT (-40.416257 -2.733659)'))) / (select extract(epoch from '2026-07-17 09:34:07'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47831, 'SRID=4674;POINT (-40.416252 -2.733586)', '2026-07-17 09:34:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416257 -2.733659)'), GeomFromEWKT('SRID=4674;POINT (-40.416252 -2.733586)'))) / (select extract(epoch from '2026-07-17 09:34:14'::timestamp) - extract(epoch from '2026-07-17 09:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416257 -2.733659)'), GeomFromEWKT('SRID=4674;POINT (-40.416252 -2.733586)'))) / (select extract(epoch from '2026-07-17 09:34:14'::timestamp) - extract(epoch from '2026-07-17 09:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.416177 -2.733533)', '2026-07-17 09:34:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416252 -2.733586)'), GeomFromEWKT('SRID=4674;POINT (-40.416177 -2.733533)'))) / (select extract(epoch from '2026-07-17 09:34:23'::timestamp) - extract(epoch from '2026-07-17 09:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416252 -2.733586)'), GeomFromEWKT('SRID=4674;POINT (-40.416177 -2.733533)'))) / (select extract(epoch from '2026-07-17 09:34:23'::timestamp) - extract(epoch from '2026-07-17 09:34:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.416148 -2.733527)', '2026-07-17 09:34:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416177 -2.733533)'), GeomFromEWKT('SRID=4674;POINT (-40.416148 -2.733527)'))) / (select extract(epoch from '2026-07-17 09:34:31'::timestamp) - extract(epoch from '2026-07-17 09:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416177 -2.733533)'), GeomFromEWKT('SRID=4674;POINT (-40.416148 -2.733527)'))) / (select extract(epoch from '2026-07-17 09:34:31'::timestamp) - extract(epoch from '2026-07-17 09:34: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'), 47831, 'SRID=4674;POINT (-40.416094 -2.733555)', '2026-07-17 09:34:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416148 -2.733527)'), GeomFromEWKT('SRID=4674;POINT (-40.416094 -2.733555)'))) / (select extract(epoch from '2026-07-17 09:34:38'::timestamp) - extract(epoch from '2026-07-17 09:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416148 -2.733527)'), GeomFromEWKT('SRID=4674;POINT (-40.416094 -2.733555)'))) / (select extract(epoch from '2026-07-17 09:34:38'::timestamp) - extract(epoch from '2026-07-17 09:34:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.416048 -2.733599)', '2026-07-17 09:34:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416094 -2.733555)'), GeomFromEWKT('SRID=4674;POINT (-40.416048 -2.733599)'))) / (select extract(epoch from '2026-07-17 09:34:45'::timestamp) - extract(epoch from '2026-07-17 09:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416094 -2.733555)'), GeomFromEWKT('SRID=4674;POINT (-40.416048 -2.733599)'))) / (select extract(epoch from '2026-07-17 09:34:45'::timestamp) - extract(epoch from '2026-07-17 09:34:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.416069 -2.733629)', '2026-07-17 09:34:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416048 -2.733599)'), GeomFromEWKT('SRID=4674;POINT (-40.416069 -2.733629)'))) / (select extract(epoch from '2026-07-17 09:34:54'::timestamp) - extract(epoch from '2026-07-17 09:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416048 -2.733599)'), GeomFromEWKT('SRID=4674;POINT (-40.416069 -2.733629)'))) / (select extract(epoch from '2026-07-17 09:34:54'::timestamp) - extract(epoch from '2026-07-17 09:34: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'), 47831, 'SRID=4674;POINT (-40.416092 -2.733647)', '2026-07-17 09:34:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416069 -2.733629)'), GeomFromEWKT('SRID=4674;POINT (-40.416092 -2.733647)'))) / (select extract(epoch from '2026-07-17 09:34:59'::timestamp) - extract(epoch from '2026-07-17 09:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416069 -2.733629)'), GeomFromEWKT('SRID=4674;POINT (-40.416092 -2.733647)'))) / (select extract(epoch from '2026-07-17 09:34:59'::timestamp) - extract(epoch from '2026-07-17 09:34:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.416176 -2.733701)', '2026-07-17 09:35:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416092 -2.733647)'), GeomFromEWKT('SRID=4674;POINT (-40.416176 -2.733701)'))) / (select extract(epoch from '2026-07-17 09:35:08'::timestamp) - extract(epoch from '2026-07-17 09:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416092 -2.733647)'), GeomFromEWKT('SRID=4674;POINT (-40.416176 -2.733701)'))) / (select extract(epoch from '2026-07-17 09:35:08'::timestamp) - extract(epoch from '2026-07-17 09:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.416247 -2.733727)', '2026-07-17 09:35:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416176 -2.733701)'), GeomFromEWKT('SRID=4674;POINT (-40.416247 -2.733727)'))) / (select extract(epoch from '2026-07-17 09:35:15'::timestamp) - extract(epoch from '2026-07-17 09:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416176 -2.733701)'), GeomFromEWKT('SRID=4674;POINT (-40.416247 -2.733727)'))) / (select extract(epoch from '2026-07-17 09:35:15'::timestamp) - extract(epoch from '2026-07-17 09:35: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'), 47831, 'SRID=4674;POINT (-40.416363 -2.733762)', '2026-07-17 09:35:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416247 -2.733727)'), GeomFromEWKT('SRID=4674;POINT (-40.416363 -2.733762)'))) / (select extract(epoch from '2026-07-17 09:35:23'::timestamp) - extract(epoch from '2026-07-17 09:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416247 -2.733727)'), GeomFromEWKT('SRID=4674;POINT (-40.416363 -2.733762)'))) / (select extract(epoch from '2026-07-17 09:35:23'::timestamp) - extract(epoch from '2026-07-17 09:35:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.416421 -2.733762)', '2026-07-17 09:35:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416363 -2.733762)'), GeomFromEWKT('SRID=4674;POINT (-40.416421 -2.733762)'))) / (select extract(epoch from '2026-07-17 09:35:30'::timestamp) - extract(epoch from '2026-07-17 09:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416363 -2.733762)'), GeomFromEWKT('SRID=4674;POINT (-40.416421 -2.733762)'))) / (select extract(epoch from '2026-07-17 09:35:30'::timestamp) - extract(epoch from '2026-07-17 09:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.416466 -2.733735)', '2026-07-17 09:35:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416421 -2.733762)'), GeomFromEWKT('SRID=4674;POINT (-40.416466 -2.733735)'))) / (select extract(epoch from '2026-07-17 09:35:38'::timestamp) - extract(epoch from '2026-07-17 09:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416421 -2.733762)'), GeomFromEWKT('SRID=4674;POINT (-40.416466 -2.733735)'))) / (select extract(epoch from '2026-07-17 09:35:38'::timestamp) - extract(epoch from '2026-07-17 09:35: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'), 47831, 'SRID=4674;POINT (-40.416523 -2.733746)', '2026-07-17 09:35:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416466 -2.733735)'), GeomFromEWKT('SRID=4674;POINT (-40.416523 -2.733746)'))) / (select extract(epoch from '2026-07-17 09:35:45'::timestamp) - extract(epoch from '2026-07-17 09:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416466 -2.733735)'), GeomFromEWKT('SRID=4674;POINT (-40.416523 -2.733746)'))) / (select extract(epoch from '2026-07-17 09:35:45'::timestamp) - extract(epoch from '2026-07-17 09:35: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'), 47831, 'SRID=4674;POINT (-40.416619 -2.733732)', '2026-07-17 09:35:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416523 -2.733746)'), GeomFromEWKT('SRID=4674;POINT (-40.416619 -2.733732)'))) / (select extract(epoch from '2026-07-17 09:35:54'::timestamp) - extract(epoch from '2026-07-17 09:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416523 -2.733746)'), GeomFromEWKT('SRID=4674;POINT (-40.416619 -2.733732)'))) / (select extract(epoch from '2026-07-17 09:35:54'::timestamp) - extract(epoch from '2026-07-17 09:35: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'), 47831, 'SRID=4674;POINT (-40.416713 -2.733706)', '2026-07-17 09:36:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416619 -2.733732)'), GeomFromEWKT('SRID=4674;POINT (-40.416713 -2.733706)'))) / (select extract(epoch from '2026-07-17 09:36:02'::timestamp) - extract(epoch from '2026-07-17 09:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416619 -2.733732)'), GeomFromEWKT('SRID=4674;POINT (-40.416713 -2.733706)'))) / (select extract(epoch from '2026-07-17 09:36:02'::timestamp) - extract(epoch from '2026-07-17 09:35: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'), 47831, 'SRID=4674;POINT (-40.416789 -2.733697)', '2026-07-17 09:36:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416713 -2.733706)'), GeomFromEWKT('SRID=4674;POINT (-40.416789 -2.733697)'))) / (select extract(epoch from '2026-07-17 09:36:09'::timestamp) - extract(epoch from '2026-07-17 09:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416713 -2.733706)'), GeomFromEWKT('SRID=4674;POINT (-40.416789 -2.733697)'))) / (select extract(epoch from '2026-07-17 09:36:09'::timestamp) - extract(epoch from '2026-07-17 09:36:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.416836 -2.733673)', '2026-07-17 09:36:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416789 -2.733697)'), GeomFromEWKT('SRID=4674;POINT (-40.416836 -2.733673)'))) / (select extract(epoch from '2026-07-17 09:36:16'::timestamp) - extract(epoch from '2026-07-17 09:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416789 -2.733697)'), GeomFromEWKT('SRID=4674;POINT (-40.416836 -2.733673)'))) / (select extract(epoch from '2026-07-17 09:36:16'::timestamp) - extract(epoch from '2026-07-17 09:36:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.416885 -2.733648)', '2026-07-17 09:36:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416836 -2.733673)'), GeomFromEWKT('SRID=4674;POINT (-40.416885 -2.733648)'))) / (select extract(epoch from '2026-07-17 09:36:23'::timestamp) - extract(epoch from '2026-07-17 09:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416836 -2.733673)'), GeomFromEWKT('SRID=4674;POINT (-40.416885 -2.733648)'))) / (select extract(epoch from '2026-07-17 09:36:23'::timestamp) - extract(epoch from '2026-07-17 09:36: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'), 47831, 'SRID=4674;POINT (-40.416928 -2.733605)', '2026-07-17 09:36:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416885 -2.733648)'), GeomFromEWKT('SRID=4674;POINT (-40.416928 -2.733605)'))) / (select extract(epoch from '2026-07-17 09:36:31'::timestamp) - extract(epoch from '2026-07-17 09:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416885 -2.733648)'), GeomFromEWKT('SRID=4674;POINT (-40.416928 -2.733605)'))) / (select extract(epoch from '2026-07-17 09:36:31'::timestamp) - extract(epoch from '2026-07-17 09:36:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.416965 -2.733555)', '2026-07-17 09:36:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416928 -2.733605)'), GeomFromEWKT('SRID=4674;POINT (-40.416965 -2.733555)'))) / (select extract(epoch from '2026-07-17 09:36:40'::timestamp) - extract(epoch from '2026-07-17 09:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416928 -2.733605)'), GeomFromEWKT('SRID=4674;POINT (-40.416965 -2.733555)'))) / (select extract(epoch from '2026-07-17 09:36:40'::timestamp) - extract(epoch from '2026-07-17 09:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.416982 -2.733542)', '2026-07-17 09:36:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416965 -2.733555)'), GeomFromEWKT('SRID=4674;POINT (-40.416982 -2.733542)'))) / (select extract(epoch from '2026-07-17 09:36:46'::timestamp) - extract(epoch from '2026-07-17 09:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416965 -2.733555)'), GeomFromEWKT('SRID=4674;POINT (-40.416982 -2.733542)'))) / (select extract(epoch from '2026-07-17 09:36:46'::timestamp) - extract(epoch from '2026-07-17 09:36:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.416992 -2.733548)', '2026-07-17 09:36:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416982 -2.733542)'), GeomFromEWKT('SRID=4674;POINT (-40.416992 -2.733548)'))) / (select extract(epoch from '2026-07-17 09:36:53'::timestamp) - extract(epoch from '2026-07-17 09:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416982 -2.733542)'), GeomFromEWKT('SRID=4674;POINT (-40.416992 -2.733548)'))) / (select extract(epoch from '2026-07-17 09:36:53'::timestamp) - extract(epoch from '2026-07-17 09:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417008 -2.733581)', '2026-07-17 09:37:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416992 -2.733548)'), GeomFromEWKT('SRID=4674;POINT (-40.417008 -2.733581)'))) / (select extract(epoch from '2026-07-17 09:37:09'::timestamp) - extract(epoch from '2026-07-17 09:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416992 -2.733548)'), GeomFromEWKT('SRID=4674;POINT (-40.417008 -2.733581)'))) / (select extract(epoch from '2026-07-17 09:37:09'::timestamp) - extract(epoch from '2026-07-17 09:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417013 -2.733627)', '2026-07-17 09:37:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417008 -2.733581)'), GeomFromEWKT('SRID=4674;POINT (-40.417013 -2.733627)'))) / (select extract(epoch from '2026-07-17 09:37:16'::timestamp) - extract(epoch from '2026-07-17 09:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417008 -2.733581)'), GeomFromEWKT('SRID=4674;POINT (-40.417013 -2.733627)'))) / (select extract(epoch from '2026-07-17 09:37:16'::timestamp) - extract(epoch from '2026-07-17 09:37: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'), 47831, 'SRID=4674;POINT (-40.41701 -2.733704)', '2026-07-17 09:37:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417013 -2.733627)'), GeomFromEWKT('SRID=4674;POINT (-40.41701 -2.733704)'))) / (select extract(epoch from '2026-07-17 09:37:26'::timestamp) - extract(epoch from '2026-07-17 09:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417013 -2.733627)'), GeomFromEWKT('SRID=4674;POINT (-40.41701 -2.733704)'))) / (select extract(epoch from '2026-07-17 09:37:26'::timestamp) - extract(epoch from '2026-07-17 09:37:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417074 -2.733705)', '2026-07-17 09:38:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41701 -2.733704)'), GeomFromEWKT('SRID=4674;POINT (-40.417074 -2.733705)'))) / (select extract(epoch from '2026-07-17 09:38:02'::timestamp) - extract(epoch from '2026-07-17 09:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41701 -2.733704)'), GeomFromEWKT('SRID=4674;POINT (-40.417074 -2.733705)'))) / (select extract(epoch from '2026-07-17 09:38:02'::timestamp) - extract(epoch from '2026-07-17 09:37: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'), 47831, 'SRID=4674;POINT (-40.417105 -2.73364)', '2026-07-17 09:38:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417074 -2.733705)'), GeomFromEWKT('SRID=4674;POINT (-40.417105 -2.73364)'))) / (select extract(epoch from '2026-07-17 09:38:11'::timestamp) - extract(epoch from '2026-07-17 09:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417074 -2.733705)'), GeomFromEWKT('SRID=4674;POINT (-40.417105 -2.73364)'))) / (select extract(epoch from '2026-07-17 09:38:11'::timestamp) - extract(epoch from '2026-07-17 09:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417117 -2.733598)', '2026-07-17 09:38:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417105 -2.73364)'), GeomFromEWKT('SRID=4674;POINT (-40.417117 -2.733598)'))) / (select extract(epoch from '2026-07-17 09:38:20'::timestamp) - extract(epoch from '2026-07-17 09:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417105 -2.73364)'), GeomFromEWKT('SRID=4674;POINT (-40.417117 -2.733598)'))) / (select extract(epoch from '2026-07-17 09:38:20'::timestamp) - extract(epoch from '2026-07-17 09:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417136 -2.733544)', '2026-07-17 09:38:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417117 -2.733598)'), GeomFromEWKT('SRID=4674;POINT (-40.417136 -2.733544)'))) / (select extract(epoch from '2026-07-17 09:38:29'::timestamp) - extract(epoch from '2026-07-17 09:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417117 -2.733598)'), GeomFromEWKT('SRID=4674;POINT (-40.417136 -2.733544)'))) / (select extract(epoch from '2026-07-17 09:38:29'::timestamp) - extract(epoch from '2026-07-17 09:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417141 -2.733501)', '2026-07-17 09:38:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417136 -2.733544)'), GeomFromEWKT('SRID=4674;POINT (-40.417141 -2.733501)'))) / (select extract(epoch from '2026-07-17 09:38:37'::timestamp) - extract(epoch from '2026-07-17 09:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417136 -2.733544)'), GeomFromEWKT('SRID=4674;POINT (-40.417141 -2.733501)'))) / (select extract(epoch from '2026-07-17 09:38:37'::timestamp) - extract(epoch from '2026-07-17 09:38: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'), 47831, 'SRID=4674;POINT (-40.417153 -2.733473)', '2026-07-17 09:38:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417141 -2.733501)'), GeomFromEWKT('SRID=4674;POINT (-40.417153 -2.733473)'))) / (select extract(epoch from '2026-07-17 09:38:45'::timestamp) - extract(epoch from '2026-07-17 09:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417141 -2.733501)'), GeomFromEWKT('SRID=4674;POINT (-40.417153 -2.733473)'))) / (select extract(epoch from '2026-07-17 09:38:45'::timestamp) - extract(epoch from '2026-07-17 09:38:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417171 -2.733463)', '2026-07-17 09:38:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417153 -2.733473)'), GeomFromEWKT('SRID=4674;POINT (-40.417171 -2.733463)'))) / (select extract(epoch from '2026-07-17 09:38:53'::timestamp) - extract(epoch from '2026-07-17 09:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417153 -2.733473)'), GeomFromEWKT('SRID=4674;POINT (-40.417171 -2.733463)'))) / (select extract(epoch from '2026-07-17 09:38:53'::timestamp) - extract(epoch from '2026-07-17 09:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417187 -2.733433)', '2026-07-17 09:39:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417171 -2.733463)'), GeomFromEWKT('SRID=4674;POINT (-40.417187 -2.733433)'))) / (select extract(epoch from '2026-07-17 09:39:01'::timestamp) - extract(epoch from '2026-07-17 09:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417171 -2.733463)'), GeomFromEWKT('SRID=4674;POINT (-40.417187 -2.733433)'))) / (select extract(epoch from '2026-07-17 09:39:01'::timestamp) - extract(epoch from '2026-07-17 09:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417188 -2.733433)', '2026-07-17 09:39:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417187 -2.733433)'), GeomFromEWKT('SRID=4674;POINT (-40.417188 -2.733433)'))) / (select extract(epoch from '2026-07-17 09:39:11'::timestamp) - extract(epoch from '2026-07-17 09:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417187 -2.733433)'), GeomFromEWKT('SRID=4674;POINT (-40.417188 -2.733433)'))) / (select extract(epoch from '2026-07-17 09:39:11'::timestamp) - extract(epoch from '2026-07-17 09:39:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417207 -2.733418)', '2026-07-17 09:39:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417188 -2.733433)'), GeomFromEWKT('SRID=4674;POINT (-40.417207 -2.733418)'))) / (select extract(epoch from '2026-07-17 09:39:18'::timestamp) - extract(epoch from '2026-07-17 09:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417188 -2.733433)'), GeomFromEWKT('SRID=4674;POINT (-40.417207 -2.733418)'))) / (select extract(epoch from '2026-07-17 09:39:18'::timestamp) - extract(epoch from '2026-07-17 09:39: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'), 47831, 'SRID=4674;POINT (-40.417247 -2.733398)', '2026-07-17 09:39:31', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417207 -2.733418)'), GeomFromEWKT('SRID=4674;POINT (-40.417247 -2.733398)'))) / (select extract(epoch from '2026-07-17 09:39:31'::timestamp) - extract(epoch from '2026-07-17 09:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417207 -2.733418)'), GeomFromEWKT('SRID=4674;POINT (-40.417247 -2.733398)'))) / (select extract(epoch from '2026-07-17 09:39:31'::timestamp) - extract(epoch from '2026-07-17 09:39: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'), 47831, 'SRID=4674;POINT (-40.417271 -2.733381)', '2026-07-17 09:39:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417247 -2.733398)'), GeomFromEWKT('SRID=4674;POINT (-40.417271 -2.733381)'))) / (select extract(epoch from '2026-07-17 09:39:39'::timestamp) - extract(epoch from '2026-07-17 09:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417247 -2.733398)'), GeomFromEWKT('SRID=4674;POINT (-40.417271 -2.733381)'))) / (select extract(epoch from '2026-07-17 09:39:39'::timestamp) - extract(epoch from '2026-07-17 09:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417251 -2.733319)', '2026-07-17 09:39:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417271 -2.733381)'), GeomFromEWKT('SRID=4674;POINT (-40.417251 -2.733319)'))) / (select extract(epoch from '2026-07-17 09:39:47'::timestamp) - extract(epoch from '2026-07-17 09:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417271 -2.733381)'), GeomFromEWKT('SRID=4674;POINT (-40.417251 -2.733319)'))) / (select extract(epoch from '2026-07-17 09:39:47'::timestamp) - extract(epoch from '2026-07-17 09:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417249 -2.733271)', '2026-07-17 09:39:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417251 -2.733319)'), GeomFromEWKT('SRID=4674;POINT (-40.417249 -2.733271)'))) / (select extract(epoch from '2026-07-17 09:39:53'::timestamp) - extract(epoch from '2026-07-17 09:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417251 -2.733319)'), GeomFromEWKT('SRID=4674;POINT (-40.417249 -2.733271)'))) / (select extract(epoch from '2026-07-17 09:39:53'::timestamp) - extract(epoch from '2026-07-17 09:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417234 -2.733162)', '2026-07-17 09:40:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417249 -2.733271)'), GeomFromEWKT('SRID=4674;POINT (-40.417234 -2.733162)'))) / (select extract(epoch from '2026-07-17 09:40:01'::timestamp) - extract(epoch from '2026-07-17 09:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417249 -2.733271)'), GeomFromEWKT('SRID=4674;POINT (-40.417234 -2.733162)'))) / (select extract(epoch from '2026-07-17 09:40:01'::timestamp) - extract(epoch from '2026-07-17 09:39: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'), 47831, 'SRID=4674;POINT (-40.417268 -2.733085)', '2026-07-17 09:40:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417234 -2.733162)'), GeomFromEWKT('SRID=4674;POINT (-40.417268 -2.733085)'))) / (select extract(epoch from '2026-07-17 09:40:08'::timestamp) - extract(epoch from '2026-07-17 09:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417234 -2.733162)'), GeomFromEWKT('SRID=4674;POINT (-40.417268 -2.733085)'))) / (select extract(epoch from '2026-07-17 09:40:08'::timestamp) - extract(epoch from '2026-07-17 09:40: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'), 47831, 'SRID=4674;POINT (-40.41733 -2.733037)', '2026-07-17 09:40:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417268 -2.733085)'), GeomFromEWKT('SRID=4674;POINT (-40.41733 -2.733037)'))) / (select extract(epoch from '2026-07-17 09:40:15'::timestamp) - extract(epoch from '2026-07-17 09:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417268 -2.733085)'), GeomFromEWKT('SRID=4674;POINT (-40.41733 -2.733037)'))) / (select extract(epoch from '2026-07-17 09:40:15'::timestamp) - extract(epoch from '2026-07-17 09:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417401 -2.733043)', '2026-07-17 09:40:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41733 -2.733037)'), GeomFromEWKT('SRID=4674;POINT (-40.417401 -2.733043)'))) / (select extract(epoch from '2026-07-17 09:40:24'::timestamp) - extract(epoch from '2026-07-17 09:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41733 -2.733037)'), GeomFromEWKT('SRID=4674;POINT (-40.417401 -2.733043)'))) / (select extract(epoch from '2026-07-17 09:40:24'::timestamp) - extract(epoch from '2026-07-17 09:40: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'), 47831, 'SRID=4674;POINT (-40.417457 -2.733087)', '2026-07-17 09:40:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417401 -2.733043)'), GeomFromEWKT('SRID=4674;POINT (-40.417457 -2.733087)'))) / (select extract(epoch from '2026-07-17 09:40:32'::timestamp) - extract(epoch from '2026-07-17 09:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417401 -2.733043)'), GeomFromEWKT('SRID=4674;POINT (-40.417457 -2.733087)'))) / (select extract(epoch from '2026-07-17 09:40:32'::timestamp) - extract(epoch from '2026-07-17 09:40:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417502 -2.733143)', '2026-07-17 09:40:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417457 -2.733087)'), GeomFromEWKT('SRID=4674;POINT (-40.417502 -2.733143)'))) / (select extract(epoch from '2026-07-17 09:40:41'::timestamp) - extract(epoch from '2026-07-17 09:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417457 -2.733087)'), GeomFromEWKT('SRID=4674;POINT (-40.417502 -2.733143)'))) / (select extract(epoch from '2026-07-17 09:40:41'::timestamp) - extract(epoch from '2026-07-17 09:40:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417537 -2.73317)', '2026-07-17 09:40:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417502 -2.733143)'), GeomFromEWKT('SRID=4674;POINT (-40.417537 -2.73317)'))) / (select extract(epoch from '2026-07-17 09:40:48'::timestamp) - extract(epoch from '2026-07-17 09:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417502 -2.733143)'), GeomFromEWKT('SRID=4674;POINT (-40.417537 -2.73317)'))) / (select extract(epoch from '2026-07-17 09:40:48'::timestamp) - extract(epoch from '2026-07-17 09:40: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'), 47831, 'SRID=4674;POINT (-40.417618 -2.733146)', '2026-07-17 09:40:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417537 -2.73317)'), GeomFromEWKT('SRID=4674;POINT (-40.417618 -2.733146)'))) / (select extract(epoch from '2026-07-17 09:40:57'::timestamp) - extract(epoch from '2026-07-17 09:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417537 -2.73317)'), GeomFromEWKT('SRID=4674;POINT (-40.417618 -2.733146)'))) / (select extract(epoch from '2026-07-17 09:40:57'::timestamp) - extract(epoch from '2026-07-17 09:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417689 -2.73315)', '2026-07-17 09:41:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417618 -2.733146)'), GeomFromEWKT('SRID=4674;POINT (-40.417689 -2.73315)'))) / (select extract(epoch from '2026-07-17 09:41:04'::timestamp) - extract(epoch from '2026-07-17 09:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417618 -2.733146)'), GeomFromEWKT('SRID=4674;POINT (-40.417689 -2.73315)'))) / (select extract(epoch from '2026-07-17 09:41:04'::timestamp) - extract(epoch from '2026-07-17 09:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417762 -2.733167)', '2026-07-17 09:41:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417689 -2.73315)'), GeomFromEWKT('SRID=4674;POINT (-40.417762 -2.733167)'))) / (select extract(epoch from '2026-07-17 09:41:12'::timestamp) - extract(epoch from '2026-07-17 09:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417689 -2.73315)'), GeomFromEWKT('SRID=4674;POINT (-40.417762 -2.733167)'))) / (select extract(epoch from '2026-07-17 09:41:12'::timestamp) - extract(epoch from '2026-07-17 09:41:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417798 -2.733147)', '2026-07-17 09:41:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417762 -2.733167)'), GeomFromEWKT('SRID=4674;POINT (-40.417798 -2.733147)'))) / (select extract(epoch from '2026-07-17 09:41:20'::timestamp) - extract(epoch from '2026-07-17 09:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417762 -2.733167)'), GeomFromEWKT('SRID=4674;POINT (-40.417798 -2.733147)'))) / (select extract(epoch from '2026-07-17 09:41:20'::timestamp) - extract(epoch from '2026-07-17 09:41: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'), 47831, 'SRID=4674;POINT (-40.417904 -2.733067)', '2026-07-17 09:41:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417798 -2.733147)'), GeomFromEWKT('SRID=4674;POINT (-40.417904 -2.733067)'))) / (select extract(epoch from '2026-07-17 09:41:29'::timestamp) - extract(epoch from '2026-07-17 09:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417798 -2.733147)'), GeomFromEWKT('SRID=4674;POINT (-40.417904 -2.733067)'))) / (select extract(epoch from '2026-07-17 09:41:29'::timestamp) - extract(epoch from '2026-07-17 09:41: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'), 47831, 'SRID=4674;POINT (-40.417907 -2.733007)', '2026-07-17 09:41:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417904 -2.733067)'), GeomFromEWKT('SRID=4674;POINT (-40.417907 -2.733007)'))) / (select extract(epoch from '2026-07-17 09:41:36'::timestamp) - extract(epoch from '2026-07-17 09:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417904 -2.733067)'), GeomFromEWKT('SRID=4674;POINT (-40.417907 -2.733007)'))) / (select extract(epoch from '2026-07-17 09:41:36'::timestamp) - extract(epoch from '2026-07-17 09:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417859 -2.732957)', '2026-07-17 09:41:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417907 -2.733007)'), GeomFromEWKT('SRID=4674;POINT (-40.417859 -2.732957)'))) / (select extract(epoch from '2026-07-17 09:41:42'::timestamp) - extract(epoch from '2026-07-17 09:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417907 -2.733007)'), GeomFromEWKT('SRID=4674;POINT (-40.417859 -2.732957)'))) / (select extract(epoch from '2026-07-17 09:41:42'::timestamp) - extract(epoch from '2026-07-17 09:41: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'), 47831, 'SRID=4674;POINT (-40.417833 -2.732923)', '2026-07-17 09:41:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417859 -2.732957)'), GeomFromEWKT('SRID=4674;POINT (-40.417833 -2.732923)'))) / (select extract(epoch from '2026-07-17 09:41:50'::timestamp) - extract(epoch from '2026-07-17 09:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417859 -2.732957)'), GeomFromEWKT('SRID=4674;POINT (-40.417833 -2.732923)'))) / (select extract(epoch from '2026-07-17 09:41:50'::timestamp) - extract(epoch from '2026-07-17 09:41: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'), 47831, 'SRID=4674;POINT (-40.417803 -2.732893)', '2026-07-17 09:41:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417833 -2.732923)'), GeomFromEWKT('SRID=4674;POINT (-40.417803 -2.732893)'))) / (select extract(epoch from '2026-07-17 09:41:58'::timestamp) - extract(epoch from '2026-07-17 09:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417833 -2.732923)'), GeomFromEWKT('SRID=4674;POINT (-40.417803 -2.732893)'))) / (select extract(epoch from '2026-07-17 09:41:58'::timestamp) - extract(epoch from '2026-07-17 09:41: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'), 47831, 'SRID=4674;POINT (-40.417794 -2.732878)', '2026-07-17 09:42:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417803 -2.732893)'), GeomFromEWKT('SRID=4674;POINT (-40.417794 -2.732878)'))) / (select extract(epoch from '2026-07-17 09:42:05'::timestamp) - extract(epoch from '2026-07-17 09:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417803 -2.732893)'), GeomFromEWKT('SRID=4674;POINT (-40.417794 -2.732878)'))) / (select extract(epoch from '2026-07-17 09:42:05'::timestamp) - extract(epoch from '2026-07-17 09:41: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'), 47831, 'SRID=4674;POINT (-40.417774 -2.732842)', '2026-07-17 09:42:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417794 -2.732878)'), GeomFromEWKT('SRID=4674;POINT (-40.417774 -2.732842)'))) / (select extract(epoch from '2026-07-17 09:42:15'::timestamp) - extract(epoch from '2026-07-17 09:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417794 -2.732878)'), GeomFromEWKT('SRID=4674;POINT (-40.417774 -2.732842)'))) / (select extract(epoch from '2026-07-17 09:42:15'::timestamp) - extract(epoch from '2026-07-17 09:42: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'), 47831, 'SRID=4674;POINT (-40.417772 -2.732794)', '2026-07-17 09:42:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417774 -2.732842)'), GeomFromEWKT('SRID=4674;POINT (-40.417772 -2.732794)'))) / (select extract(epoch from '2026-07-17 09:42:24'::timestamp) - extract(epoch from '2026-07-17 09:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417774 -2.732842)'), GeomFromEWKT('SRID=4674;POINT (-40.417772 -2.732794)'))) / (select extract(epoch from '2026-07-17 09:42:24'::timestamp) - extract(epoch from '2026-07-17 09:42: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'), 47831, 'SRID=4674;POINT (-40.417788 -2.732784)', '2026-07-17 09:42:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417772 -2.732794)'), GeomFromEWKT('SRID=4674;POINT (-40.417788 -2.732784)'))) / (select extract(epoch from '2026-07-17 09:42:32'::timestamp) - extract(epoch from '2026-07-17 09:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417772 -2.732794)'), GeomFromEWKT('SRID=4674;POINT (-40.417788 -2.732784)'))) / (select extract(epoch from '2026-07-17 09:42:32'::timestamp) - extract(epoch from '2026-07-17 09:42: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'), 47831, 'SRID=4674;POINT (-40.417786 -2.732798)', '2026-07-17 09:42:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417788 -2.732784)'), GeomFromEWKT('SRID=4674;POINT (-40.417786 -2.732798)'))) / (select extract(epoch from '2026-07-17 09:42:44'::timestamp) - extract(epoch from '2026-07-17 09:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417788 -2.732784)'), GeomFromEWKT('SRID=4674;POINT (-40.417786 -2.732798)'))) / (select extract(epoch from '2026-07-17 09:42:44'::timestamp) - extract(epoch from '2026-07-17 09:42:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.417785 -2.732841)', '2026-07-17 09:42:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417786 -2.732798)'), GeomFromEWKT('SRID=4674;POINT (-40.417785 -2.732841)'))) / (select extract(epoch from '2026-07-17 09:42:51'::timestamp) - extract(epoch from '2026-07-17 09:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417786 -2.732798)'), GeomFromEWKT('SRID=4674;POINT (-40.417785 -2.732841)'))) / (select extract(epoch from '2026-07-17 09:42:51'::timestamp) - extract(epoch from '2026-07-17 09:42: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'), 47831, 'SRID=4674;POINT (-40.417809 -2.732926)', '2026-07-17 09:42:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417785 -2.732841)'), GeomFromEWKT('SRID=4674;POINT (-40.417809 -2.732926)'))) / (select extract(epoch from '2026-07-17 09:42:59'::timestamp) - extract(epoch from '2026-07-17 09:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417785 -2.732841)'), GeomFromEWKT('SRID=4674;POINT (-40.417809 -2.732926)'))) / (select extract(epoch from '2026-07-17 09:42:59'::timestamp) - extract(epoch from '2026-07-17 09:42: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'), 47831, 'SRID=4674;POINT (-40.417826 -2.732944)', '2026-07-17 09:43:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417809 -2.732926)'), GeomFromEWKT('SRID=4674;POINT (-40.417826 -2.732944)'))) / (select extract(epoch from '2026-07-17 09:43:02'::timestamp) - extract(epoch from '2026-07-17 09:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417809 -2.732926)'), GeomFromEWKT('SRID=4674;POINT (-40.417826 -2.732944)'))) / (select extract(epoch from '2026-07-17 09:43:02'::timestamp) - extract(epoch from '2026-07-17 09:42: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'), 47831, 'SRID=4674;POINT (-40.417854 -2.732961)', '2026-07-17 09:43:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417826 -2.732944)'), GeomFromEWKT('SRID=4674;POINT (-40.417854 -2.732961)'))) / (select extract(epoch from '2026-07-17 09:43:07'::timestamp) - extract(epoch from '2026-07-17 09:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417826 -2.732944)'), GeomFromEWKT('SRID=4674;POINT (-40.417854 -2.732961)'))) / (select extract(epoch from '2026-07-17 09:43:07'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47831, 'SRID=4674;POINT (-40.417919 -2.733046)', '2026-07-17 09:43:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417854 -2.732961)'), GeomFromEWKT('SRID=4674;POINT (-40.417919 -2.733046)'))) / (select extract(epoch from '2026-07-17 09:43:17'::timestamp) - extract(epoch from '2026-07-17 09:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417854 -2.732961)'), GeomFromEWKT('SRID=4674;POINT (-40.417919 -2.733046)'))) / (select extract(epoch from '2026-07-17 09:43:17'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47831, 'SRID=4674;POINT (-40.417966 -2.733072)', '2026-07-17 09:43:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417919 -2.733046)'), GeomFromEWKT('SRID=4674;POINT (-40.417966 -2.733072)'))) / (select extract(epoch from '2026-07-17 09:43:25'::timestamp) - extract(epoch from '2026-07-17 09:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417919 -2.733046)'), GeomFromEWKT('SRID=4674;POINT (-40.417966 -2.733072)'))) / (select extract(epoch from '2026-07-17 09:43:25'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47831, 'SRID=4674;POINT (-40.418021 -2.733067)', '2026-07-17 09:43:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417966 -2.733072)'), GeomFromEWKT('SRID=4674;POINT (-40.418021 -2.733067)'))) / (select extract(epoch from '2026-07-17 09:43:33'::timestamp) - extract(epoch from '2026-07-17 09:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417966 -2.733072)'), GeomFromEWKT('SRID=4674;POINT (-40.418021 -2.733067)'))) / (select extract(epoch from '2026-07-17 09:43:33'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47831, 'SRID=4674;POINT (-40.418059 -2.733057)', '2026-07-17 09:43:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418021 -2.733067)'), GeomFromEWKT('SRID=4674;POINT (-40.418059 -2.733057)'))) / (select extract(epoch from '2026-07-17 09:43:38'::timestamp) - extract(epoch from '2026-07-17 09:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418021 -2.733067)'), GeomFromEWKT('SRID=4674;POINT (-40.418059 -2.733057)'))) / (select extract(epoch from '2026-07-17 09:43:38'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47831, 'SRID=4674;POINT (-40.41806 -2.733051)', '2026-07-17 09:43:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418059 -2.733057)'), GeomFromEWKT('SRID=4674;POINT (-40.41806 -2.733051)'))) / (select extract(epoch from '2026-07-17 09:43:40'::timestamp) - extract(epoch from '2026-07-17 09:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418059 -2.733057)'), GeomFromEWKT('SRID=4674;POINT (-40.41806 -2.733051)'))) / (select extract(epoch from '2026-07-17 09:43:40'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47831, 'SRID=4674;POINT (-40.418105 -2.733022)', '2026-07-17 09:43:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41806 -2.733051)'), GeomFromEWKT('SRID=4674;POINT (-40.418105 -2.733022)'))) / (select extract(epoch from '2026-07-17 09:43:48'::timestamp) - extract(epoch from '2026-07-17 09:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41806 -2.733051)'), GeomFromEWKT('SRID=4674;POINT (-40.418105 -2.733022)'))) / (select extract(epoch from '2026-07-17 09:43:48'::timestamp) - extract(epoch from '2026-07-17 09:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.418175 -2.733002)', '2026-07-17 09:43:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418105 -2.733022)'), GeomFromEWKT('SRID=4674;POINT (-40.418175 -2.733002)'))) / (select extract(epoch from '2026-07-17 09:43:58'::timestamp) - extract(epoch from '2026-07-17 09:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418105 -2.733022)'), GeomFromEWKT('SRID=4674;POINT (-40.418175 -2.733002)'))) / (select extract(epoch from '2026-07-17 09:43:58'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47831, 'SRID=4674;POINT (-40.418227 -2.732999)', '2026-07-17 09:44:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418175 -2.733002)'), GeomFromEWKT('SRID=4674;POINT (-40.418227 -2.732999)'))) / (select extract(epoch from '2026-07-17 09:44:05'::timestamp) - extract(epoch from '2026-07-17 09:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418175 -2.733002)'), GeomFromEWKT('SRID=4674;POINT (-40.418227 -2.732999)'))) / (select extract(epoch from '2026-07-17 09:44:05'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47831, 'SRID=4674;POINT (-40.418295 -2.733013)', '2026-07-17 09:44:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418227 -2.732999)'), GeomFromEWKT('SRID=4674;POINT (-40.418295 -2.733013)'))) / (select extract(epoch from '2026-07-17 09:44:13'::timestamp) - extract(epoch from '2026-07-17 09:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418227 -2.732999)'), GeomFromEWKT('SRID=4674;POINT (-40.418295 -2.733013)'))) / (select extract(epoch from '2026-07-17 09:44:13'::timestamp) - extract(epoch from '2026-07-17 09:44:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41837 -2.733022)', '2026-07-17 09:44:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418295 -2.733013)'), GeomFromEWKT('SRID=4674;POINT (-40.41837 -2.733022)'))) / (select extract(epoch from '2026-07-17 09:44:22'::timestamp) - extract(epoch from '2026-07-17 09:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418295 -2.733013)'), GeomFromEWKT('SRID=4674;POINT (-40.41837 -2.733022)'))) / (select extract(epoch from '2026-07-17 09:44:22'::timestamp) - extract(epoch from '2026-07-17 09:44: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'), 47831, 'SRID=4674;POINT (-40.418431 -2.73303)', '2026-07-17 09:44:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41837 -2.733022)'), GeomFromEWKT('SRID=4674;POINT (-40.418431 -2.73303)'))) / (select extract(epoch from '2026-07-17 09:44:30'::timestamp) - extract(epoch from '2026-07-17 09:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41837 -2.733022)'), GeomFromEWKT('SRID=4674;POINT (-40.418431 -2.73303)'))) / (select extract(epoch from '2026-07-17 09:44:30'::timestamp) - extract(epoch from '2026-07-17 09:44: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'), 47831, 'SRID=4674;POINT (-40.418484 -2.733003)', '2026-07-17 09:44:39', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418431 -2.73303)'), GeomFromEWKT('SRID=4674;POINT (-40.418484 -2.733003)'))) / (select extract(epoch from '2026-07-17 09:44:39'::timestamp) - extract(epoch from '2026-07-17 09:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418431 -2.73303)'), GeomFromEWKT('SRID=4674;POINT (-40.418484 -2.733003)'))) / (select extract(epoch from '2026-07-17 09:44:39'::timestamp) - extract(epoch from '2026-07-17 09:44: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'), 47831, 'SRID=4674;POINT (-40.418554 -2.732982)', '2026-07-17 09:44:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418484 -2.733003)'), GeomFromEWKT('SRID=4674;POINT (-40.418554 -2.732982)'))) / (select extract(epoch from '2026-07-17 09:44:47'::timestamp) - extract(epoch from '2026-07-17 09:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418484 -2.733003)'), GeomFromEWKT('SRID=4674;POINT (-40.418554 -2.732982)'))) / (select extract(epoch from '2026-07-17 09:44:47'::timestamp) - extract(epoch from '2026-07-17 09:44: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'), 47831, 'SRID=4674;POINT (-40.4186 -2.732962)', '2026-07-17 09:44:55', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418554 -2.732982)'), GeomFromEWKT('SRID=4674;POINT (-40.4186 -2.732962)'))) / (select extract(epoch from '2026-07-17 09:44:55'::timestamp) - extract(epoch from '2026-07-17 09:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418554 -2.732982)'), GeomFromEWKT('SRID=4674;POINT (-40.4186 -2.732962)'))) / (select extract(epoch from '2026-07-17 09:44:55'::timestamp) - extract(epoch from '2026-07-17 09:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.418677 -2.732961)', '2026-07-17 09:45:04', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4186 -2.732962)'), GeomFromEWKT('SRID=4674;POINT (-40.418677 -2.732961)'))) / (select extract(epoch from '2026-07-17 09:45:04'::timestamp) - extract(epoch from '2026-07-17 09:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4186 -2.732962)'), GeomFromEWKT('SRID=4674;POINT (-40.418677 -2.732961)'))) / (select extract(epoch from '2026-07-17 09:45:04'::timestamp) - extract(epoch from '2026-07-17 09:44: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'), 47831, 'SRID=4674;POINT (-40.418689 -2.73296)', '2026-07-17 09:45:05', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418677 -2.732961)'), GeomFromEWKT('SRID=4674;POINT (-40.418689 -2.73296)'))) / (select extract(epoch from '2026-07-17 09:45:05'::timestamp) - extract(epoch from '2026-07-17 09:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418677 -2.732961)'), GeomFromEWKT('SRID=4674;POINT (-40.418689 -2.73296)'))) / (select extract(epoch from '2026-07-17 09:45:05'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47831, 'SRID=4674;POINT (-40.418737 -2.732947)', '2026-07-17 09:45:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418689 -2.73296)'), GeomFromEWKT('SRID=4674;POINT (-40.418737 -2.732947)'))) / (select extract(epoch from '2026-07-17 09:45:10'::timestamp) - extract(epoch from '2026-07-17 09:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418689 -2.73296)'), GeomFromEWKT('SRID=4674;POINT (-40.418737 -2.732947)'))) / (select extract(epoch from '2026-07-17 09:45:10'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47831, 'SRID=4674;POINT (-40.418817 -2.732939)', '2026-07-17 09:45:18', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418737 -2.732947)'), GeomFromEWKT('SRID=4674;POINT (-40.418817 -2.732939)'))) / (select extract(epoch from '2026-07-17 09:45:18'::timestamp) - extract(epoch from '2026-07-17 09:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418737 -2.732947)'), GeomFromEWKT('SRID=4674;POINT (-40.418817 -2.732939)'))) / (select extract(epoch from '2026-07-17 09:45:18'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47831, 'SRID=4674;POINT (-40.41886 -2.732918)', '2026-07-17 09:45:25', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418817 -2.732939)'), GeomFromEWKT('SRID=4674;POINT (-40.41886 -2.732918)'))) / (select extract(epoch from '2026-07-17 09:45:25'::timestamp) - extract(epoch from '2026-07-17 09:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418817 -2.732939)'), GeomFromEWKT('SRID=4674;POINT (-40.41886 -2.732918)'))) / (select extract(epoch from '2026-07-17 09:45:25'::timestamp) - extract(epoch from '2026-07-17 09:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.4189 -2.732876)', '2026-07-17 09:45:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41886 -2.732918)'), GeomFromEWKT('SRID=4674;POINT (-40.4189 -2.732876)'))) / (select extract(epoch from '2026-07-17 09:45:34'::timestamp) - extract(epoch from '2026-07-17 09:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41886 -2.732918)'), GeomFromEWKT('SRID=4674;POINT (-40.4189 -2.732876)'))) / (select extract(epoch from '2026-07-17 09:45:34'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47831, 'SRID=4674;POINT (-40.418957 -2.732836)', '2026-07-17 09:45:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4189 -2.732876)'), GeomFromEWKT('SRID=4674;POINT (-40.418957 -2.732836)'))) / (select extract(epoch from '2026-07-17 09:45:42'::timestamp) - extract(epoch from '2026-07-17 09:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4189 -2.732876)'), GeomFromEWKT('SRID=4674;POINT (-40.418957 -2.732836)'))) / (select extract(epoch from '2026-07-17 09:45:42'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47831, 'SRID=4674;POINT (-40.418996 -2.732807)', '2026-07-17 09:45:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418957 -2.732836)'), GeomFromEWKT('SRID=4674;POINT (-40.418996 -2.732807)'))) / (select extract(epoch from '2026-07-17 09:45:51'::timestamp) - extract(epoch from '2026-07-17 09:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418957 -2.732836)'), GeomFromEWKT('SRID=4674;POINT (-40.418996 -2.732807)'))) / (select extract(epoch from '2026-07-17 09:45:51'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47831, 'SRID=4674;POINT (-40.419023 -2.732788)', '2026-07-17 09:45:58', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418996 -2.732807)'), GeomFromEWKT('SRID=4674;POINT (-40.419023 -2.732788)'))) / (select extract(epoch from '2026-07-17 09:45:58'::timestamp) - extract(epoch from '2026-07-17 09:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418996 -2.732807)'), GeomFromEWKT('SRID=4674;POINT (-40.419023 -2.732788)'))) / (select extract(epoch from '2026-07-17 09:45:58'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47831, 'SRID=4674;POINT (-40.419048 -2.732779)', '2026-07-17 09:46:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419023 -2.732788)'), GeomFromEWKT('SRID=4674;POINT (-40.419048 -2.732779)'))) / (select extract(epoch from '2026-07-17 09:46:05'::timestamp) - extract(epoch from '2026-07-17 09:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419023 -2.732788)'), GeomFromEWKT('SRID=4674;POINT (-40.419048 -2.732779)'))) / (select extract(epoch from '2026-07-17 09:46:05'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47831, 'SRID=4674;POINT (-40.419059 -2.732763)', '2026-07-17 09:46:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419048 -2.732779)'), GeomFromEWKT('SRID=4674;POINT (-40.419059 -2.732763)'))) / (select extract(epoch from '2026-07-17 09:46:14'::timestamp) - extract(epoch from '2026-07-17 09:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419048 -2.732779)'), GeomFromEWKT('SRID=4674;POINT (-40.419059 -2.732763)'))) / (select extract(epoch from '2026-07-17 09:46:14'::timestamp) - extract(epoch from '2026-07-17 09:46: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'), 47831, 'SRID=4674;POINT (-40.419101 -2.732784)', '2026-07-17 09:46:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419059 -2.732763)'), GeomFromEWKT('SRID=4674;POINT (-40.419101 -2.732784)'))) / (select extract(epoch from '2026-07-17 09:46:27'::timestamp) - extract(epoch from '2026-07-17 09:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419059 -2.732763)'), GeomFromEWKT('SRID=4674;POINT (-40.419101 -2.732784)'))) / (select extract(epoch from '2026-07-17 09:46:27'::timestamp) - extract(epoch from '2026-07-17 09:46: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'), 47831, 'SRID=4674;POINT (-40.419125 -2.732742)', '2026-07-17 09:46:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419101 -2.732784)'), GeomFromEWKT('SRID=4674;POINT (-40.419125 -2.732742)'))) / (select extract(epoch from '2026-07-17 09:46:35'::timestamp) - extract(epoch from '2026-07-17 09:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419101 -2.732784)'), GeomFromEWKT('SRID=4674;POINT (-40.419125 -2.732742)'))) / (select extract(epoch from '2026-07-17 09:46:35'::timestamp) - extract(epoch from '2026-07-17 09:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419102 -2.732657)', '2026-07-17 09:46:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419125 -2.732742)'), GeomFromEWKT('SRID=4674;POINT (-40.419102 -2.732657)'))) / (select extract(epoch from '2026-07-17 09:46:43'::timestamp) - extract(epoch from '2026-07-17 09:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419125 -2.732742)'), GeomFromEWKT('SRID=4674;POINT (-40.419102 -2.732657)'))) / (select extract(epoch from '2026-07-17 09:46:43'::timestamp) - extract(epoch from '2026-07-17 09:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419056 -2.732645)', '2026-07-17 09:46:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419102 -2.732657)'), GeomFromEWKT('SRID=4674;POINT (-40.419056 -2.732645)'))) / (select extract(epoch from '2026-07-17 09:46:50'::timestamp) - extract(epoch from '2026-07-17 09:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419102 -2.732657)'), GeomFromEWKT('SRID=4674;POINT (-40.419056 -2.732645)'))) / (select extract(epoch from '2026-07-17 09:46:50'::timestamp) - extract(epoch from '2026-07-17 09:46: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'), 47831, 'SRID=4674;POINT (-40.419047 -2.732673)', '2026-07-17 09:46:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419056 -2.732645)'), GeomFromEWKT('SRID=4674;POINT (-40.419047 -2.732673)'))) / (select extract(epoch from '2026-07-17 09:46:57'::timestamp) - extract(epoch from '2026-07-17 09:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419056 -2.732645)'), GeomFromEWKT('SRID=4674;POINT (-40.419047 -2.732673)'))) / (select extract(epoch from '2026-07-17 09:46:57'::timestamp) - extract(epoch from '2026-07-17 09:46: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'), 47831, 'SRID=4674;POINT (-40.419062 -2.732705)', '2026-07-17 09:47:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419047 -2.732673)'), GeomFromEWKT('SRID=4674;POINT (-40.419062 -2.732705)'))) / (select extract(epoch from '2026-07-17 09:47:05'::timestamp) - extract(epoch from '2026-07-17 09:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419047 -2.732673)'), GeomFromEWKT('SRID=4674;POINT (-40.419062 -2.732705)'))) / (select extract(epoch from '2026-07-17 09:47:05'::timestamp) - extract(epoch from '2026-07-17 09:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419045 -2.732676)', '2026-07-17 09:47:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419062 -2.732705)'), GeomFromEWKT('SRID=4674;POINT (-40.419045 -2.732676)'))) / (select extract(epoch from '2026-07-17 09:47:52'::timestamp) - extract(epoch from '2026-07-17 09:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419062 -2.732705)'), GeomFromEWKT('SRID=4674;POINT (-40.419045 -2.732676)'))) / (select extract(epoch from '2026-07-17 09:47:52'::timestamp) - extract(epoch from '2026-07-17 09:47: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'), 47831, 'SRID=4674;POINT (-40.419076 -2.732638)', '2026-07-17 09:48:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419045 -2.732676)'), GeomFromEWKT('SRID=4674;POINT (-40.419076 -2.732638)'))) / (select extract(epoch from '2026-07-17 09:48:07'::timestamp) - extract(epoch from '2026-07-17 09:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419045 -2.732676)'), GeomFromEWKT('SRID=4674;POINT (-40.419076 -2.732638)'))) / (select extract(epoch from '2026-07-17 09:48:07'::timestamp) - extract(epoch from '2026-07-17 09:47: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'), 47831, 'SRID=4674;POINT (-40.419096 -2.732523)', '2026-07-17 09:48:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419076 -2.732638)'), GeomFromEWKT('SRID=4674;POINT (-40.419096 -2.732523)'))) / (select extract(epoch from '2026-07-17 09:48:48'::timestamp) - extract(epoch from '2026-07-17 09:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419076 -2.732638)'), GeomFromEWKT('SRID=4674;POINT (-40.419096 -2.732523)'))) / (select extract(epoch from '2026-07-17 09:48:48'::timestamp) - extract(epoch from '2026-07-17 09:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419134 -2.732441)', '2026-07-17 09:48:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419096 -2.732523)'), GeomFromEWKT('SRID=4674;POINT (-40.419134 -2.732441)'))) / (select extract(epoch from '2026-07-17 09:48:54'::timestamp) - extract(epoch from '2026-07-17 09:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419096 -2.732523)'), GeomFromEWKT('SRID=4674;POINT (-40.419134 -2.732441)'))) / (select extract(epoch from '2026-07-17 09:48:54'::timestamp) - extract(epoch from '2026-07-17 09:48: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'), 47831, 'SRID=4674;POINT (-40.419251 -2.732398)', '2026-07-17 09:49:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419134 -2.732441)'), GeomFromEWKT('SRID=4674;POINT (-40.419251 -2.732398)'))) / (select extract(epoch from '2026-07-17 09:49:01'::timestamp) - extract(epoch from '2026-07-17 09:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419134 -2.732441)'), GeomFromEWKT('SRID=4674;POINT (-40.419251 -2.732398)'))) / (select extract(epoch from '2026-07-17 09:49:01'::timestamp) - extract(epoch from '2026-07-17 09:48: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'), 47831, 'SRID=4674;POINT (-40.419282 -2.732395)', '2026-07-17 09:49:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419251 -2.732398)'), GeomFromEWKT('SRID=4674;POINT (-40.419282 -2.732395)'))) / (select extract(epoch from '2026-07-17 09:49:03'::timestamp) - extract(epoch from '2026-07-17 09:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419251 -2.732398)'), GeomFromEWKT('SRID=4674;POINT (-40.419282 -2.732395)'))) / (select extract(epoch from '2026-07-17 09:49:03'::timestamp) - extract(epoch from '2026-07-17 09:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.4193 -2.732407)', '2026-07-17 09:49:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419282 -2.732395)'), GeomFromEWKT('SRID=4674;POINT (-40.4193 -2.732407)'))) / (select extract(epoch from '2026-07-17 09:49:05'::timestamp) - extract(epoch from '2026-07-17 09:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419282 -2.732395)'), GeomFromEWKT('SRID=4674;POINT (-40.4193 -2.732407)'))) / (select extract(epoch from '2026-07-17 09:49:05'::timestamp) - extract(epoch from '2026-07-17 09:49:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419352 -2.732434)', '2026-07-17 09:49:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4193 -2.732407)'), GeomFromEWKT('SRID=4674;POINT (-40.419352 -2.732434)'))) / (select extract(epoch from '2026-07-17 09:49:07'::timestamp) - extract(epoch from '2026-07-17 09:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4193 -2.732407)'), GeomFromEWKT('SRID=4674;POINT (-40.419352 -2.732434)'))) / (select extract(epoch from '2026-07-17 09:49:07'::timestamp) - extract(epoch from '2026-07-17 09:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419433 -2.732496)', '2026-07-17 09:49:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419352 -2.732434)'), GeomFromEWKT('SRID=4674;POINT (-40.419433 -2.732496)'))) / (select extract(epoch from '2026-07-17 09:49:14'::timestamp) - extract(epoch from '2026-07-17 09:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419352 -2.732434)'), GeomFromEWKT('SRID=4674;POINT (-40.419433 -2.732496)'))) / (select extract(epoch from '2026-07-17 09:49:14'::timestamp) - extract(epoch from '2026-07-17 09:49:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419425 -2.732558)', '2026-07-17 09:49:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419433 -2.732496)'), GeomFromEWKT('SRID=4674;POINT (-40.419425 -2.732558)'))) / (select extract(epoch from '2026-07-17 09:49:23'::timestamp) - extract(epoch from '2026-07-17 09:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419433 -2.732496)'), GeomFromEWKT('SRID=4674;POINT (-40.419425 -2.732558)'))) / (select extract(epoch from '2026-07-17 09:49:23'::timestamp) - extract(epoch from '2026-07-17 09:49:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419433 -2.73268)', '2026-07-17 09:49:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419425 -2.732558)'), GeomFromEWKT('SRID=4674;POINT (-40.419433 -2.73268)'))) / (select extract(epoch from '2026-07-17 09:49:32'::timestamp) - extract(epoch from '2026-07-17 09:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419425 -2.732558)'), GeomFromEWKT('SRID=4674;POINT (-40.419433 -2.73268)'))) / (select extract(epoch from '2026-07-17 09:49:32'::timestamp) - extract(epoch from '2026-07-17 09:49: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'), 47831, 'SRID=4674;POINT (-40.419413 -2.732797)', '2026-07-17 09:49:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419433 -2.73268)'), GeomFromEWKT('SRID=4674;POINT (-40.419413 -2.732797)'))) / (select extract(epoch from '2026-07-17 09:49:41'::timestamp) - extract(epoch from '2026-07-17 09:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419433 -2.73268)'), GeomFromEWKT('SRID=4674;POINT (-40.419413 -2.732797)'))) / (select extract(epoch from '2026-07-17 09:49:41'::timestamp) - extract(epoch from '2026-07-17 09:49: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'), 47831, 'SRID=4674;POINT (-40.419449 -2.732913)', '2026-07-17 09:49:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419413 -2.732797)'), GeomFromEWKT('SRID=4674;POINT (-40.419449 -2.732913)'))) / (select extract(epoch from '2026-07-17 09:49:49'::timestamp) - extract(epoch from '2026-07-17 09:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419413 -2.732797)'), GeomFromEWKT('SRID=4674;POINT (-40.419449 -2.732913)'))) / (select extract(epoch from '2026-07-17 09:49:49'::timestamp) - extract(epoch from '2026-07-17 09:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419522 -2.732978)', '2026-07-17 09:49:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419449 -2.732913)'), GeomFromEWKT('SRID=4674;POINT (-40.419522 -2.732978)'))) / (select extract(epoch from '2026-07-17 09:49:57'::timestamp) - extract(epoch from '2026-07-17 09:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419449 -2.732913)'), GeomFromEWKT('SRID=4674;POINT (-40.419522 -2.732978)'))) / (select extract(epoch from '2026-07-17 09:49:57'::timestamp) - extract(epoch from '2026-07-17 09:49: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'), 47831, 'SRID=4674;POINT (-40.41957 -2.733106)', '2026-07-17 09:50:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419522 -2.732978)'), GeomFromEWKT('SRID=4674;POINT (-40.41957 -2.733106)'))) / (select extract(epoch from '2026-07-17 09:50:06'::timestamp) - extract(epoch from '2026-07-17 09:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419522 -2.732978)'), GeomFromEWKT('SRID=4674;POINT (-40.41957 -2.733106)'))) / (select extract(epoch from '2026-07-17 09:50:06'::timestamp) - extract(epoch from '2026-07-17 09:49: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'), 47831, 'SRID=4674;POINT (-40.419592 -2.733167)', '2026-07-17 09:50:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41957 -2.733106)'), GeomFromEWKT('SRID=4674;POINT (-40.419592 -2.733167)'))) / (select extract(epoch from '2026-07-17 09:50:13'::timestamp) - extract(epoch from '2026-07-17 09:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41957 -2.733106)'), GeomFromEWKT('SRID=4674;POINT (-40.419592 -2.733167)'))) / (select extract(epoch from '2026-07-17 09:50:13'::timestamp) - extract(epoch from '2026-07-17 09:50: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'), 47831, 'SRID=4674;POINT (-40.419593 -2.733221)', '2026-07-17 09:50:21', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419592 -2.733167)'), GeomFromEWKT('SRID=4674;POINT (-40.419593 -2.733221)'))) / (select extract(epoch from '2026-07-17 09:50:21'::timestamp) - extract(epoch from '2026-07-17 09:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419592 -2.733167)'), GeomFromEWKT('SRID=4674;POINT (-40.419593 -2.733221)'))) / (select extract(epoch from '2026-07-17 09:50:21'::timestamp) - extract(epoch from '2026-07-17 09:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419595 -2.733324)', '2026-07-17 09:50:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419593 -2.733221)'), GeomFromEWKT('SRID=4674;POINT (-40.419595 -2.733324)'))) / (select extract(epoch from '2026-07-17 09:50:31'::timestamp) - extract(epoch from '2026-07-17 09:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419593 -2.733221)'), GeomFromEWKT('SRID=4674;POINT (-40.419595 -2.733324)'))) / (select extract(epoch from '2026-07-17 09:50:31'::timestamp) - extract(epoch from '2026-07-17 09:50: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'), 47831, 'SRID=4674;POINT (-40.419624 -2.733343)', '2026-07-17 09:50:37', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419595 -2.733324)'), GeomFromEWKT('SRID=4674;POINT (-40.419624 -2.733343)'))) / (select extract(epoch from '2026-07-17 09:50:37'::timestamp) - extract(epoch from '2026-07-17 09:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419595 -2.733324)'), GeomFromEWKT('SRID=4674;POINT (-40.419624 -2.733343)'))) / (select extract(epoch from '2026-07-17 09:50:37'::timestamp) - extract(epoch from '2026-07-17 09:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419677 -2.733334)', '2026-07-17 09:50:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419624 -2.733343)'), GeomFromEWKT('SRID=4674;POINT (-40.419677 -2.733334)'))) / (select extract(epoch from '2026-07-17 09:50:43'::timestamp) - extract(epoch from '2026-07-17 09:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419624 -2.733343)'), GeomFromEWKT('SRID=4674;POINT (-40.419677 -2.733334)'))) / (select extract(epoch from '2026-07-17 09:50:43'::timestamp) - extract(epoch from '2026-07-17 09:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419695 -2.733327)', '2026-07-17 09:50:45', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419677 -2.733334)'), GeomFromEWKT('SRID=4674;POINT (-40.419695 -2.733327)'))) / (select extract(epoch from '2026-07-17 09:50:45'::timestamp) - extract(epoch from '2026-07-17 09:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419677 -2.733334)'), GeomFromEWKT('SRID=4674;POINT (-40.419695 -2.733327)'))) / (select extract(epoch from '2026-07-17 09:50:45'::timestamp) - extract(epoch from '2026-07-17 09:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419745 -2.733322)', '2026-07-17 09:50:49', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419695 -2.733327)'), GeomFromEWKT('SRID=4674;POINT (-40.419745 -2.733322)'))) / (select extract(epoch from '2026-07-17 09:50:49'::timestamp) - extract(epoch from '2026-07-17 09:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419695 -2.733327)'), GeomFromEWKT('SRID=4674;POINT (-40.419745 -2.733322)'))) / (select extract(epoch from '2026-07-17 09:50:49'::timestamp) - extract(epoch from '2026-07-17 09:50:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419819 -2.733341)', '2026-07-17 09:50:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419745 -2.733322)'), GeomFromEWKT('SRID=4674;POINT (-40.419819 -2.733341)'))) / (select extract(epoch from '2026-07-17 09:50:55'::timestamp) - extract(epoch from '2026-07-17 09:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419745 -2.733322)'), GeomFromEWKT('SRID=4674;POINT (-40.419819 -2.733341)'))) / (select extract(epoch from '2026-07-17 09:50:55'::timestamp) - extract(epoch from '2026-07-17 09:50: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'), 47831, 'SRID=4674;POINT (-40.419868 -2.733357)', '2026-07-17 09:51:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419819 -2.733341)'), GeomFromEWKT('SRID=4674;POINT (-40.419868 -2.733357)'))) / (select extract(epoch from '2026-07-17 09:51:02'::timestamp) - extract(epoch from '2026-07-17 09:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419819 -2.733341)'), GeomFromEWKT('SRID=4674;POINT (-40.419868 -2.733357)'))) / (select extract(epoch from '2026-07-17 09:51:02'::timestamp) - extract(epoch from '2026-07-17 09:50: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'), 47831, 'SRID=4674;POINT (-40.419953 -2.733331)', '2026-07-17 09:51:12', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419868 -2.733357)'), GeomFromEWKT('SRID=4674;POINT (-40.419953 -2.733331)'))) / (select extract(epoch from '2026-07-17 09:51:12'::timestamp) - extract(epoch from '2026-07-17 09:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419868 -2.733357)'), GeomFromEWKT('SRID=4674;POINT (-40.419953 -2.733331)'))) / (select extract(epoch from '2026-07-17 09:51:12'::timestamp) - extract(epoch from '2026-07-17 09:51: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'), 47831, 'SRID=4674;POINT (-40.419927 -2.733254)', '2026-07-17 09:51:20', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419953 -2.733331)'), GeomFromEWKT('SRID=4674;POINT (-40.419927 -2.733254)'))) / (select extract(epoch from '2026-07-17 09:51:20'::timestamp) - extract(epoch from '2026-07-17 09:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419953 -2.733331)'), GeomFromEWKT('SRID=4674;POINT (-40.419927 -2.733254)'))) / (select extract(epoch from '2026-07-17 09:51:20'::timestamp) - extract(epoch from '2026-07-17 09:51: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'), 47831, 'SRID=4674;POINT (-40.419945 -2.733172)', '2026-07-17 09:51:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419927 -2.733254)'), GeomFromEWKT('SRID=4674;POINT (-40.419945 -2.733172)'))) / (select extract(epoch from '2026-07-17 09:51:29'::timestamp) - extract(epoch from '2026-07-17 09:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419927 -2.733254)'), GeomFromEWKT('SRID=4674;POINT (-40.419945 -2.733172)'))) / (select extract(epoch from '2026-07-17 09:51:29'::timestamp) - extract(epoch from '2026-07-17 09:51: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'), 47831, 'SRID=4674;POINT (-40.419948 -2.73309)', '2026-07-17 09:51:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419945 -2.733172)'), GeomFromEWKT('SRID=4674;POINT (-40.419948 -2.73309)'))) / (select extract(epoch from '2026-07-17 09:51:36'::timestamp) - extract(epoch from '2026-07-17 09:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419945 -2.733172)'), GeomFromEWKT('SRID=4674;POINT (-40.419948 -2.73309)'))) / (select extract(epoch from '2026-07-17 09:51:36'::timestamp) - extract(epoch from '2026-07-17 09:51: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'), 47831, 'SRID=4674;POINT (-40.419916 -2.73307)', '2026-07-17 09:51:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419948 -2.73309)'), GeomFromEWKT('SRID=4674;POINT (-40.419916 -2.73307)'))) / (select extract(epoch from '2026-07-17 09:51:39'::timestamp) - extract(epoch from '2026-07-17 09:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419948 -2.73309)'), GeomFromEWKT('SRID=4674;POINT (-40.419916 -2.73307)'))) / (select extract(epoch from '2026-07-17 09:51:39'::timestamp) - extract(epoch from '2026-07-17 09:51: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'), 47831, 'SRID=4674;POINT (-40.419877 -2.733068)', '2026-07-17 09:51:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419916 -2.73307)'), GeomFromEWKT('SRID=4674;POINT (-40.419877 -2.733068)'))) / (select extract(epoch from '2026-07-17 09:51:42'::timestamp) - extract(epoch from '2026-07-17 09:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419916 -2.73307)'), GeomFromEWKT('SRID=4674;POINT (-40.419877 -2.733068)'))) / (select extract(epoch from '2026-07-17 09:51:42'::timestamp) - extract(epoch from '2026-07-17 09:51: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'), 47831, 'SRID=4674;POINT (-40.419825 -2.733091)', '2026-07-17 09:51:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419877 -2.733068)'), GeomFromEWKT('SRID=4674;POINT (-40.419825 -2.733091)'))) / (select extract(epoch from '2026-07-17 09:51:47'::timestamp) - extract(epoch from '2026-07-17 09:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419877 -2.733068)'), GeomFromEWKT('SRID=4674;POINT (-40.419825 -2.733091)'))) / (select extract(epoch from '2026-07-17 09:51:47'::timestamp) - extract(epoch from '2026-07-17 09:51: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'), 47831, 'SRID=4674;POINT (-40.419806 -2.7331)', '2026-07-17 09:51:49', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419825 -2.733091)'), GeomFromEWKT('SRID=4674;POINT (-40.419806 -2.7331)'))) / (select extract(epoch from '2026-07-17 09:51:49'::timestamp) - extract(epoch from '2026-07-17 09:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419825 -2.733091)'), GeomFromEWKT('SRID=4674;POINT (-40.419806 -2.7331)'))) / (select extract(epoch from '2026-07-17 09:51:49'::timestamp) - extract(epoch from '2026-07-17 09:51: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'), 47831, 'SRID=4674;POINT (-40.419755 -2.733134)', '2026-07-17 09:51:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419806 -2.7331)'), GeomFromEWKT('SRID=4674;POINT (-40.419755 -2.733134)'))) / (select extract(epoch from '2026-07-17 09:51:56'::timestamp) - extract(epoch from '2026-07-17 09:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419806 -2.7331)'), GeomFromEWKT('SRID=4674;POINT (-40.419755 -2.733134)'))) / (select extract(epoch from '2026-07-17 09:51:56'::timestamp) - extract(epoch from '2026-07-17 09:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419737 -2.733148)', '2026-07-17 09:52:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419755 -2.733134)'), GeomFromEWKT('SRID=4674;POINT (-40.419737 -2.733148)'))) / (select extract(epoch from '2026-07-17 09:52:04'::timestamp) - extract(epoch from '2026-07-17 09:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419755 -2.733134)'), GeomFromEWKT('SRID=4674;POINT (-40.419737 -2.733148)'))) / (select extract(epoch from '2026-07-17 09:52:04'::timestamp) - extract(epoch from '2026-07-17 09:51: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'), 47831, 'SRID=4674;POINT (-40.419756 -2.733107)', '2026-07-17 09:52:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419737 -2.733148)'), GeomFromEWKT('SRID=4674;POINT (-40.419756 -2.733107)'))) / (select extract(epoch from '2026-07-17 09:52:34'::timestamp) - extract(epoch from '2026-07-17 09:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419737 -2.733148)'), GeomFromEWKT('SRID=4674;POINT (-40.419756 -2.733107)'))) / (select extract(epoch from '2026-07-17 09:52:34'::timestamp) - extract(epoch from '2026-07-17 09:52: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'), 47831, 'SRID=4674;POINT (-40.419777 -2.733085)', '2026-07-17 09:52:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419756 -2.733107)'), GeomFromEWKT('SRID=4674;POINT (-40.419777 -2.733085)'))) / (select extract(epoch from '2026-07-17 09:52:42'::timestamp) - extract(epoch from '2026-07-17 09:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419756 -2.733107)'), GeomFromEWKT('SRID=4674;POINT (-40.419777 -2.733085)'))) / (select extract(epoch from '2026-07-17 09:52:42'::timestamp) - extract(epoch from '2026-07-17 09:52: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'), 47831, 'SRID=4674;POINT (-40.419803 -2.733052)', '2026-07-17 09:52:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419777 -2.733085)'), GeomFromEWKT('SRID=4674;POINT (-40.419803 -2.733052)'))) / (select extract(epoch from '2026-07-17 09:52:53'::timestamp) - extract(epoch from '2026-07-17 09:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419777 -2.733085)'), GeomFromEWKT('SRID=4674;POINT (-40.419803 -2.733052)'))) / (select extract(epoch from '2026-07-17 09:52:53'::timestamp) - extract(epoch from '2026-07-17 09:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419819 -2.733023)', '2026-07-17 09:53:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419803 -2.733052)'), GeomFromEWKT('SRID=4674;POINT (-40.419819 -2.733023)'))) / (select extract(epoch from '2026-07-17 09:53:01'::timestamp) - extract(epoch from '2026-07-17 09:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419803 -2.733052)'), GeomFromEWKT('SRID=4674;POINT (-40.419819 -2.733023)'))) / (select extract(epoch from '2026-07-17 09:53:01'::timestamp) - extract(epoch from '2026-07-17 09:52: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'), 47831, 'SRID=4674;POINT (-40.419853 -2.733008)', '2026-07-17 09:53:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419819 -2.733023)'), GeomFromEWKT('SRID=4674;POINT (-40.419853 -2.733008)'))) / (select extract(epoch from '2026-07-17 09:53:09'::timestamp) - extract(epoch from '2026-07-17 09:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419819 -2.733023)'), GeomFromEWKT('SRID=4674;POINT (-40.419853 -2.733008)'))) / (select extract(epoch from '2026-07-17 09:53:09'::timestamp) - extract(epoch from '2026-07-17 09:53: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'), 47831, 'SRID=4674;POINT (-40.419849 -2.732972)', '2026-07-17 09:53:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419853 -2.733008)'), GeomFromEWKT('SRID=4674;POINT (-40.419849 -2.732972)'))) / (select extract(epoch from '2026-07-17 09:53:16'::timestamp) - extract(epoch from '2026-07-17 09:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419853 -2.733008)'), GeomFromEWKT('SRID=4674;POINT (-40.419849 -2.732972)'))) / (select extract(epoch from '2026-07-17 09:53:16'::timestamp) - extract(epoch from '2026-07-17 09:53: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'), 47831, 'SRID=4674;POINT (-40.419846 -2.732923)', '2026-07-17 09:53:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419849 -2.732972)'), GeomFromEWKT('SRID=4674;POINT (-40.419846 -2.732923)'))) / (select extract(epoch from '2026-07-17 09:53:23'::timestamp) - extract(epoch from '2026-07-17 09:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419849 -2.732972)'), GeomFromEWKT('SRID=4674;POINT (-40.419846 -2.732923)'))) / (select extract(epoch from '2026-07-17 09:53:23'::timestamp) - extract(epoch from '2026-07-17 09:53:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419861 -2.732864)', '2026-07-17 09:53:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419846 -2.732923)'), GeomFromEWKT('SRID=4674;POINT (-40.419861 -2.732864)'))) / (select extract(epoch from '2026-07-17 09:53:31'::timestamp) - extract(epoch from '2026-07-17 09:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419846 -2.732923)'), GeomFromEWKT('SRID=4674;POINT (-40.419861 -2.732864)'))) / (select extract(epoch from '2026-07-17 09:53:31'::timestamp) - extract(epoch from '2026-07-17 09:53: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'), 47831, 'SRID=4674;POINT (-40.419902 -2.732837)', '2026-07-17 09:53:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419861 -2.732864)'), GeomFromEWKT('SRID=4674;POINT (-40.419902 -2.732837)'))) / (select extract(epoch from '2026-07-17 09:53:37'::timestamp) - extract(epoch from '2026-07-17 09:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419861 -2.732864)'), GeomFromEWKT('SRID=4674;POINT (-40.419902 -2.732837)'))) / (select extract(epoch from '2026-07-17 09:53:37'::timestamp) - extract(epoch from '2026-07-17 09:53:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.419998 -2.732837)', '2026-07-17 09:53:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419902 -2.732837)'), GeomFromEWKT('SRID=4674;POINT (-40.419998 -2.732837)'))) / (select extract(epoch from '2026-07-17 09:53:43'::timestamp) - extract(epoch from '2026-07-17 09:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419902 -2.732837)'), GeomFromEWKT('SRID=4674;POINT (-40.419998 -2.732837)'))) / (select extract(epoch from '2026-07-17 09:53:43'::timestamp) - extract(epoch from '2026-07-17 09:53: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'), 47831, 'SRID=4674;POINT (-40.420082 -2.732898)', '2026-07-17 09:53:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419998 -2.732837)'), GeomFromEWKT('SRID=4674;POINT (-40.420082 -2.732898)'))) / (select extract(epoch from '2026-07-17 09:53:49'::timestamp) - extract(epoch from '2026-07-17 09:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419998 -2.732837)'), GeomFromEWKT('SRID=4674;POINT (-40.420082 -2.732898)'))) / (select extract(epoch from '2026-07-17 09:53:49'::timestamp) - extract(epoch from '2026-07-17 09:53: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'), 47831, 'SRID=4674;POINT (-40.420083 -2.732893)', '2026-07-17 09:53:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420082 -2.732898)'), GeomFromEWKT('SRID=4674;POINT (-40.420083 -2.732893)'))) / (select extract(epoch from '2026-07-17 09:53:50'::timestamp) - extract(epoch from '2026-07-17 09:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420082 -2.732898)'), GeomFromEWKT('SRID=4674;POINT (-40.420083 -2.732893)'))) / (select extract(epoch from '2026-07-17 09:53:50'::timestamp) - extract(epoch from '2026-07-17 09:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420101 -2.732929)', '2026-07-17 09:53:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420083 -2.732893)'), GeomFromEWKT('SRID=4674;POINT (-40.420101 -2.732929)'))) / (select extract(epoch from '2026-07-17 09:53:54'::timestamp) - extract(epoch from '2026-07-17 09:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420083 -2.732893)'), GeomFromEWKT('SRID=4674;POINT (-40.420101 -2.732929)'))) / (select extract(epoch from '2026-07-17 09:53:54'::timestamp) - extract(epoch from '2026-07-17 09:53: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'), 47831, 'SRID=4674;POINT (-40.420104 -2.732958)', '2026-07-17 09:53:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420101 -2.732929)'), GeomFromEWKT('SRID=4674;POINT (-40.420104 -2.732958)'))) / (select extract(epoch from '2026-07-17 09:53:58'::timestamp) - extract(epoch from '2026-07-17 09:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420101 -2.732929)'), GeomFromEWKT('SRID=4674;POINT (-40.420104 -2.732958)'))) / (select extract(epoch from '2026-07-17 09:53:58'::timestamp) - extract(epoch from '2026-07-17 09:53: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'), 47831, 'SRID=4674;POINT (-40.420121 -2.733068)', '2026-07-17 09:54:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420104 -2.732958)'), GeomFromEWKT('SRID=4674;POINT (-40.420121 -2.733068)'))) / (select extract(epoch from '2026-07-17 09:54:06'::timestamp) - extract(epoch from '2026-07-17 09:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420104 -2.732958)'), GeomFromEWKT('SRID=4674;POINT (-40.420121 -2.733068)'))) / (select extract(epoch from '2026-07-17 09:54:06'::timestamp) - extract(epoch from '2026-07-17 09:53:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420113 -2.73311)', '2026-07-17 09:54:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420121 -2.733068)'), GeomFromEWKT('SRID=4674;POINT (-40.420113 -2.73311)'))) / (select extract(epoch from '2026-07-17 09:54:12'::timestamp) - extract(epoch from '2026-07-17 09:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420121 -2.733068)'), GeomFromEWKT('SRID=4674;POINT (-40.420113 -2.73311)'))) / (select extract(epoch from '2026-07-17 09:54:12'::timestamp) - extract(epoch from '2026-07-17 09:54: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'), 47831, 'SRID=4674;POINT (-40.420151 -2.733189)', '2026-07-17 09:54:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420113 -2.73311)'), GeomFromEWKT('SRID=4674;POINT (-40.420151 -2.733189)'))) / (select extract(epoch from '2026-07-17 09:54:20'::timestamp) - extract(epoch from '2026-07-17 09:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420113 -2.73311)'), GeomFromEWKT('SRID=4674;POINT (-40.420151 -2.733189)'))) / (select extract(epoch from '2026-07-17 09:54:20'::timestamp) - extract(epoch from '2026-07-17 09:54:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420199 -2.733276)', '2026-07-17 09:54:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420151 -2.733189)'), GeomFromEWKT('SRID=4674;POINT (-40.420199 -2.733276)'))) / (select extract(epoch from '2026-07-17 09:54:28'::timestamp) - extract(epoch from '2026-07-17 09:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420151 -2.733189)'), GeomFromEWKT('SRID=4674;POINT (-40.420199 -2.733276)'))) / (select extract(epoch from '2026-07-17 09:54:28'::timestamp) - extract(epoch from '2026-07-17 09:54: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'), 47831, 'SRID=4674;POINT (-40.420262 -2.733375)', '2026-07-17 09:54:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420199 -2.733276)'), GeomFromEWKT('SRID=4674;POINT (-40.420262 -2.733375)'))) / (select extract(epoch from '2026-07-17 09:54:36'::timestamp) - extract(epoch from '2026-07-17 09:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420199 -2.733276)'), GeomFromEWKT('SRID=4674;POINT (-40.420262 -2.733375)'))) / (select extract(epoch from '2026-07-17 09:54:36'::timestamp) - extract(epoch from '2026-07-17 09:54:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420343 -2.733416)', '2026-07-17 09:54:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420262 -2.733375)'), GeomFromEWKT('SRID=4674;POINT (-40.420343 -2.733416)'))) / (select extract(epoch from '2026-07-17 09:54:42'::timestamp) - extract(epoch from '2026-07-17 09:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420262 -2.733375)'), GeomFromEWKT('SRID=4674;POINT (-40.420343 -2.733416)'))) / (select extract(epoch from '2026-07-17 09:54:42'::timestamp) - extract(epoch from '2026-07-17 09:54: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'), 47831, 'SRID=4674;POINT (-40.420398 -2.733449)', '2026-07-17 09:54:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420343 -2.733416)'), GeomFromEWKT('SRID=4674;POINT (-40.420398 -2.733449)'))) / (select extract(epoch from '2026-07-17 09:54:48'::timestamp) - extract(epoch from '2026-07-17 09:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420343 -2.733416)'), GeomFromEWKT('SRID=4674;POINT (-40.420398 -2.733449)'))) / (select extract(epoch from '2026-07-17 09:54:48'::timestamp) - extract(epoch from '2026-07-17 09:54: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'), 47831, 'SRID=4674;POINT (-40.420405 -2.733451)', '2026-07-17 09:54:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420398 -2.733449)'), GeomFromEWKT('SRID=4674;POINT (-40.420405 -2.733451)'))) / (select extract(epoch from '2026-07-17 09:54:49'::timestamp) - extract(epoch from '2026-07-17 09:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420398 -2.733449)'), GeomFromEWKT('SRID=4674;POINT (-40.420405 -2.733451)'))) / (select extract(epoch from '2026-07-17 09:54:49'::timestamp) - extract(epoch from '2026-07-17 09:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420483 -2.733493)', '2026-07-17 09:54:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420405 -2.733451)'), GeomFromEWKT('SRID=4674;POINT (-40.420483 -2.733493)'))) / (select extract(epoch from '2026-07-17 09:54:54'::timestamp) - extract(epoch from '2026-07-17 09:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420405 -2.733451)'), GeomFromEWKT('SRID=4674;POINT (-40.420483 -2.733493)'))) / (select extract(epoch from '2026-07-17 09:54:54'::timestamp) - extract(epoch from '2026-07-17 09:54: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'), 47831, 'SRID=4674;POINT (-40.42053 -2.733479)', '2026-07-17 09:55:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420483 -2.733493)'), GeomFromEWKT('SRID=4674;POINT (-40.42053 -2.733479)'))) / (select extract(epoch from '2026-07-17 09:55:02'::timestamp) - extract(epoch from '2026-07-17 09:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420483 -2.733493)'), GeomFromEWKT('SRID=4674;POINT (-40.42053 -2.733479)'))) / (select extract(epoch from '2026-07-17 09:55:02'::timestamp) - extract(epoch from '2026-07-17 09:54: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'), 47831, 'SRID=4674;POINT (-40.420609 -2.733391)', '2026-07-17 09:55:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42053 -2.733479)'), GeomFromEWKT('SRID=4674;POINT (-40.420609 -2.733391)'))) / (select extract(epoch from '2026-07-17 09:55:11'::timestamp) - extract(epoch from '2026-07-17 09:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42053 -2.733479)'), GeomFromEWKT('SRID=4674;POINT (-40.420609 -2.733391)'))) / (select extract(epoch from '2026-07-17 09:55:11'::timestamp) - extract(epoch from '2026-07-17 09:55: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'), 47831, 'SRID=4674;POINT (-40.420627 -2.73335)', '2026-07-17 09:55:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420609 -2.733391)'), GeomFromEWKT('SRID=4674;POINT (-40.420627 -2.73335)'))) / (select extract(epoch from '2026-07-17 09:55:14'::timestamp) - extract(epoch from '2026-07-17 09:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420609 -2.733391)'), GeomFromEWKT('SRID=4674;POINT (-40.420627 -2.73335)'))) / (select extract(epoch from '2026-07-17 09:55:14'::timestamp) - extract(epoch from '2026-07-17 09:55: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'), 47831, 'SRID=4674;POINT (-40.420633 -2.733298)', '2026-07-17 09:55:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420627 -2.73335)'), GeomFromEWKT('SRID=4674;POINT (-40.420633 -2.733298)'))) / (select extract(epoch from '2026-07-17 09:55:18'::timestamp) - extract(epoch from '2026-07-17 09:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420627 -2.73335)'), GeomFromEWKT('SRID=4674;POINT (-40.420633 -2.733298)'))) / (select extract(epoch from '2026-07-17 09:55:18'::timestamp) - extract(epoch from '2026-07-17 09:55:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420597 -2.733253)', '2026-07-17 09:55:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420633 -2.733298)'), GeomFromEWKT('SRID=4674;POINT (-40.420597 -2.733253)'))) / (select extract(epoch from '2026-07-17 09:55:26'::timestamp) - extract(epoch from '2026-07-17 09:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420633 -2.733298)'), GeomFromEWKT('SRID=4674;POINT (-40.420597 -2.733253)'))) / (select extract(epoch from '2026-07-17 09:55:26'::timestamp) - extract(epoch from '2026-07-17 09:55:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420591 -2.733204)', '2026-07-17 09:55:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420597 -2.733253)'), GeomFromEWKT('SRID=4674;POINT (-40.420591 -2.733204)'))) / (select extract(epoch from '2026-07-17 09:55:34'::timestamp) - extract(epoch from '2026-07-17 09:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420597 -2.733253)'), GeomFromEWKT('SRID=4674;POINT (-40.420591 -2.733204)'))) / (select extract(epoch from '2026-07-17 09:55:34'::timestamp) - extract(epoch from '2026-07-17 09:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420554 -2.733163)', '2026-07-17 09:55:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420591 -2.733204)'), GeomFromEWKT('SRID=4674;POINT (-40.420554 -2.733163)'))) / (select extract(epoch from '2026-07-17 09:55:43'::timestamp) - extract(epoch from '2026-07-17 09:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420591 -2.733204)'), GeomFromEWKT('SRID=4674;POINT (-40.420554 -2.733163)'))) / (select extract(epoch from '2026-07-17 09:55:43'::timestamp) - extract(epoch from '2026-07-17 09:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420549 -2.733129)', '2026-07-17 09:55:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420554 -2.733163)'), GeomFromEWKT('SRID=4674;POINT (-40.420549 -2.733129)'))) / (select extract(epoch from '2026-07-17 09:55:50'::timestamp) - extract(epoch from '2026-07-17 09:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420554 -2.733163)'), GeomFromEWKT('SRID=4674;POINT (-40.420549 -2.733129)'))) / (select extract(epoch from '2026-07-17 09:55:50'::timestamp) - extract(epoch from '2026-07-17 09:55: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'), 47831, 'SRID=4674;POINT (-40.420545 -2.733075)', '2026-07-17 09:55:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420549 -2.733129)'), GeomFromEWKT('SRID=4674;POINT (-40.420545 -2.733075)'))) / (select extract(epoch from '2026-07-17 09:55:59'::timestamp) - extract(epoch from '2026-07-17 09:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420549 -2.733129)'), GeomFromEWKT('SRID=4674;POINT (-40.420545 -2.733075)'))) / (select extract(epoch from '2026-07-17 09:55:59'::timestamp) - extract(epoch from '2026-07-17 09:55:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42055 -2.733052)', '2026-07-17 09:56:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420545 -2.733075)'), GeomFromEWKT('SRID=4674;POINT (-40.42055 -2.733052)'))) / (select extract(epoch from '2026-07-17 09:56:08'::timestamp) - extract(epoch from '2026-07-17 09:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420545 -2.733075)'), GeomFromEWKT('SRID=4674;POINT (-40.42055 -2.733052)'))) / (select extract(epoch from '2026-07-17 09:56:08'::timestamp) - extract(epoch from '2026-07-17 09:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420519 -2.733046)', '2026-07-17 09:56:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42055 -2.733052)'), GeomFromEWKT('SRID=4674;POINT (-40.420519 -2.733046)'))) / (select extract(epoch from '2026-07-17 09:56:15'::timestamp) - extract(epoch from '2026-07-17 09:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42055 -2.733052)'), GeomFromEWKT('SRID=4674;POINT (-40.420519 -2.733046)'))) / (select extract(epoch from '2026-07-17 09:56:15'::timestamp) - extract(epoch from '2026-07-17 09:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.42049 -2.733087)', '2026-07-17 09:56:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420519 -2.733046)'), GeomFromEWKT('SRID=4674;POINT (-40.42049 -2.733087)'))) / (select extract(epoch from '2026-07-17 09:56:24'::timestamp) - extract(epoch from '2026-07-17 09:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420519 -2.733046)'), GeomFromEWKT('SRID=4674;POINT (-40.42049 -2.733087)'))) / (select extract(epoch from '2026-07-17 09:56:24'::timestamp) - extract(epoch from '2026-07-17 09:56:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420498 -2.733102)', '2026-07-17 09:56:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42049 -2.733087)'), GeomFromEWKT('SRID=4674;POINT (-40.420498 -2.733102)'))) / (select extract(epoch from '2026-07-17 09:56:30'::timestamp) - extract(epoch from '2026-07-17 09:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42049 -2.733087)'), GeomFromEWKT('SRID=4674;POINT (-40.420498 -2.733102)'))) / (select extract(epoch from '2026-07-17 09:56:30'::timestamp) - extract(epoch from '2026-07-17 09:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420498 -2.733106)', '2026-07-17 09:56:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420498 -2.733102)'), GeomFromEWKT('SRID=4674;POINT (-40.420498 -2.733106)'))) / (select extract(epoch from '2026-07-17 09:56:31'::timestamp) - extract(epoch from '2026-07-17 09:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420498 -2.733102)'), GeomFromEWKT('SRID=4674;POINT (-40.420498 -2.733106)'))) / (select extract(epoch from '2026-07-17 09:56:31'::timestamp) - extract(epoch from '2026-07-17 09:56: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'), 47831, 'SRID=4674;POINT (-40.420525 -2.733181)', '2026-07-17 09:56:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420498 -2.733106)'), GeomFromEWKT('SRID=4674;POINT (-40.420525 -2.733181)'))) / (select extract(epoch from '2026-07-17 09:56:40'::timestamp) - extract(epoch from '2026-07-17 09:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420498 -2.733106)'), GeomFromEWKT('SRID=4674;POINT (-40.420525 -2.733181)'))) / (select extract(epoch from '2026-07-17 09:56:40'::timestamp) - extract(epoch from '2026-07-17 09:56:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420533 -2.73325)', '2026-07-17 09:56:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420525 -2.733181)'), GeomFromEWKT('SRID=4674;POINT (-40.420533 -2.73325)'))) / (select extract(epoch from '2026-07-17 09:56:49'::timestamp) - extract(epoch from '2026-07-17 09:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420525 -2.733181)'), GeomFromEWKT('SRID=4674;POINT (-40.420533 -2.73325)'))) / (select extract(epoch from '2026-07-17 09:56:49'::timestamp) - extract(epoch from '2026-07-17 09:56:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420567 -2.733274)', '2026-07-17 09:56:56', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420533 -2.73325)'), GeomFromEWKT('SRID=4674;POINT (-40.420567 -2.733274)'))) / (select extract(epoch from '2026-07-17 09:56:56'::timestamp) - extract(epoch from '2026-07-17 09:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420533 -2.73325)'), GeomFromEWKT('SRID=4674;POINT (-40.420567 -2.733274)'))) / (select extract(epoch from '2026-07-17 09:56:56'::timestamp) - extract(epoch from '2026-07-17 09:56: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'), 47831, 'SRID=4674;POINT (-40.420635 -2.73332)', '2026-07-17 09:57:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420567 -2.733274)'), GeomFromEWKT('SRID=4674;POINT (-40.420635 -2.73332)'))) / (select extract(epoch from '2026-07-17 09:57:04'::timestamp) - extract(epoch from '2026-07-17 09:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420567 -2.733274)'), GeomFromEWKT('SRID=4674;POINT (-40.420635 -2.73332)'))) / (select extract(epoch from '2026-07-17 09:57:04'::timestamp) - extract(epoch from '2026-07-17 09:56: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'), 47831, 'SRID=4674;POINT (-40.420708 -2.733377)', '2026-07-17 09:57:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420635 -2.73332)'), GeomFromEWKT('SRID=4674;POINT (-40.420708 -2.733377)'))) / (select extract(epoch from '2026-07-17 09:57:12'::timestamp) - extract(epoch from '2026-07-17 09:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420635 -2.73332)'), GeomFromEWKT('SRID=4674;POINT (-40.420708 -2.733377)'))) / (select extract(epoch from '2026-07-17 09:57:12'::timestamp) - extract(epoch from '2026-07-17 09:57:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420768 -2.733403)', '2026-07-17 09:57:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420708 -2.733377)'), GeomFromEWKT('SRID=4674;POINT (-40.420768 -2.733403)'))) / (select extract(epoch from '2026-07-17 09:57:19'::timestamp) - extract(epoch from '2026-07-17 09:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420708 -2.733377)'), GeomFromEWKT('SRID=4674;POINT (-40.420768 -2.733403)'))) / (select extract(epoch from '2026-07-17 09:57:19'::timestamp) - extract(epoch from '2026-07-17 09:57: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'), 47831, 'SRID=4674;POINT (-40.420819 -2.733403)', '2026-07-17 09:57:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420768 -2.733403)'), GeomFromEWKT('SRID=4674;POINT (-40.420819 -2.733403)'))) / (select extract(epoch from '2026-07-17 09:57:28'::timestamp) - extract(epoch from '2026-07-17 09:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420768 -2.733403)'), GeomFromEWKT('SRID=4674;POINT (-40.420819 -2.733403)'))) / (select extract(epoch from '2026-07-17 09:57:28'::timestamp) - extract(epoch from '2026-07-17 09:57: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'), 47831, 'SRID=4674;POINT (-40.420861 -2.733391)', '2026-07-17 09:57:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420819 -2.733403)'), GeomFromEWKT('SRID=4674;POINT (-40.420861 -2.733391)'))) / (select extract(epoch from '2026-07-17 09:57:37'::timestamp) - extract(epoch from '2026-07-17 09:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420819 -2.733403)'), GeomFromEWKT('SRID=4674;POINT (-40.420861 -2.733391)'))) / (select extract(epoch from '2026-07-17 09:57:37'::timestamp) - extract(epoch from '2026-07-17 09:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420902 -2.733383)', '2026-07-17 09:57:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420861 -2.733391)'), GeomFromEWKT('SRID=4674;POINT (-40.420902 -2.733383)'))) / (select extract(epoch from '2026-07-17 09:57:45'::timestamp) - extract(epoch from '2026-07-17 09:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420861 -2.733391)'), GeomFromEWKT('SRID=4674;POINT (-40.420902 -2.733383)'))) / (select extract(epoch from '2026-07-17 09:57:45'::timestamp) - extract(epoch from '2026-07-17 09:57: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'), 47831, 'SRID=4674;POINT (-40.420921 -2.733381)', '2026-07-17 09:57:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420902 -2.733383)'), GeomFromEWKT('SRID=4674;POINT (-40.420921 -2.733381)'))) / (select extract(epoch from '2026-07-17 09:57:47'::timestamp) - extract(epoch from '2026-07-17 09:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420902 -2.733383)'), GeomFromEWKT('SRID=4674;POINT (-40.420921 -2.733381)'))) / (select extract(epoch from '2026-07-17 09:57:47'::timestamp) - extract(epoch from '2026-07-17 09:57:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.420949 -2.73337)', '2026-07-17 09:57:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420921 -2.733381)'), GeomFromEWKT('SRID=4674;POINT (-40.420949 -2.73337)'))) / (select extract(epoch from '2026-07-17 09:57:53'::timestamp) - extract(epoch from '2026-07-17 09:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420921 -2.733381)'), GeomFromEWKT('SRID=4674;POINT (-40.420949 -2.73337)'))) / (select extract(epoch from '2026-07-17 09:57:53'::timestamp) - extract(epoch from '2026-07-17 09:57: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'), 47831, 'SRID=4674;POINT (-40.420989 -2.733373)', '2026-07-17 09:58:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420949 -2.73337)'), GeomFromEWKT('SRID=4674;POINT (-40.420989 -2.733373)'))) / (select extract(epoch from '2026-07-17 09:58:00'::timestamp) - extract(epoch from '2026-07-17 09:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420949 -2.73337)'), GeomFromEWKT('SRID=4674;POINT (-40.420989 -2.733373)'))) / (select extract(epoch from '2026-07-17 09:58:00'::timestamp) - extract(epoch from '2026-07-17 09:57: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'), 47831, 'SRID=4674;POINT (-40.421046 -2.733393)', '2026-07-17 09:58:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420989 -2.733373)'), GeomFromEWKT('SRID=4674;POINT (-40.421046 -2.733393)'))) / (select extract(epoch from '2026-07-17 09:58:07'::timestamp) - extract(epoch from '2026-07-17 09:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420989 -2.733373)'), GeomFromEWKT('SRID=4674;POINT (-40.421046 -2.733393)'))) / (select extract(epoch from '2026-07-17 09:58:07'::timestamp) - extract(epoch from '2026-07-17 09:58: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'), 47831, 'SRID=4674;POINT (-40.421145 -2.73342)', '2026-07-17 09:58:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421046 -2.733393)'), GeomFromEWKT('SRID=4674;POINT (-40.421145 -2.73342)'))) / (select extract(epoch from '2026-07-17 09:58:15'::timestamp) - extract(epoch from '2026-07-17 09:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421046 -2.733393)'), GeomFromEWKT('SRID=4674;POINT (-40.421145 -2.73342)'))) / (select extract(epoch from '2026-07-17 09:58:15'::timestamp) - extract(epoch from '2026-07-17 09:58: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'), 47831, 'SRID=4674;POINT (-40.42121 -2.733395)', '2026-07-17 09:58:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421145 -2.73342)'), GeomFromEWKT('SRID=4674;POINT (-40.42121 -2.733395)'))) / (select extract(epoch from '2026-07-17 09:58:23'::timestamp) - extract(epoch from '2026-07-17 09:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421145 -2.73342)'), GeomFromEWKT('SRID=4674;POINT (-40.42121 -2.733395)'))) / (select extract(epoch from '2026-07-17 09:58:23'::timestamp) - extract(epoch from '2026-07-17 09:58:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421272 -2.733336)', '2026-07-17 09:58:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42121 -2.733395)'), GeomFromEWKT('SRID=4674;POINT (-40.421272 -2.733336)'))) / (select extract(epoch from '2026-07-17 09:58:34'::timestamp) - extract(epoch from '2026-07-17 09:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42121 -2.733395)'), GeomFromEWKT('SRID=4674;POINT (-40.421272 -2.733336)'))) / (select extract(epoch from '2026-07-17 09:58:34'::timestamp) - extract(epoch from '2026-07-17 09:58:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421288 -2.733317)', '2026-07-17 09:58:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421272 -2.733336)'), GeomFromEWKT('SRID=4674;POINT (-40.421288 -2.733317)'))) / (select extract(epoch from '2026-07-17 09:58:37'::timestamp) - extract(epoch from '2026-07-17 09:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421272 -2.733336)'), GeomFromEWKT('SRID=4674;POINT (-40.421288 -2.733317)'))) / (select extract(epoch from '2026-07-17 09:58:37'::timestamp) - extract(epoch from '2026-07-17 09:58: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'), 47831, 'SRID=4674;POINT (-40.421331 -2.7333)', '2026-07-17 09:58:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421288 -2.733317)'), GeomFromEWKT('SRID=4674;POINT (-40.421331 -2.7333)'))) / (select extract(epoch from '2026-07-17 09:58:42'::timestamp) - extract(epoch from '2026-07-17 09:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421288 -2.733317)'), GeomFromEWKT('SRID=4674;POINT (-40.421331 -2.7333)'))) / (select extract(epoch from '2026-07-17 09:58:42'::timestamp) - extract(epoch from '2026-07-17 09:58: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'), 47831, 'SRID=4674;POINT (-40.42137 -2.733277)', '2026-07-17 09:58:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421331 -2.7333)'), GeomFromEWKT('SRID=4674;POINT (-40.42137 -2.733277)'))) / (select extract(epoch from '2026-07-17 09:58:51'::timestamp) - extract(epoch from '2026-07-17 09:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421331 -2.7333)'), GeomFromEWKT('SRID=4674;POINT (-40.42137 -2.733277)'))) / (select extract(epoch from '2026-07-17 09:58:51'::timestamp) - extract(epoch from '2026-07-17 09:58: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'), 47831, 'SRID=4674;POINT (-40.421412 -2.733245)', '2026-07-17 09:59:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42137 -2.733277)'), GeomFromEWKT('SRID=4674;POINT (-40.421412 -2.733245)'))) / (select extract(epoch from '2026-07-17 09:59:00'::timestamp) - extract(epoch from '2026-07-17 09:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42137 -2.733277)'), GeomFromEWKT('SRID=4674;POINT (-40.421412 -2.733245)'))) / (select extract(epoch from '2026-07-17 09:59:00'::timestamp) - extract(epoch from '2026-07-17 09:58:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421442 -2.733204)', '2026-07-17 09:59:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421412 -2.733245)'), GeomFromEWKT('SRID=4674;POINT (-40.421442 -2.733204)'))) / (select extract(epoch from '2026-07-17 09:59:08'::timestamp) - extract(epoch from '2026-07-17 09:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421412 -2.733245)'), GeomFromEWKT('SRID=4674;POINT (-40.421442 -2.733204)'))) / (select extract(epoch from '2026-07-17 09:59:08'::timestamp) - extract(epoch from '2026-07-17 09:59: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'), 47831, 'SRID=4674;POINT (-40.42143 -2.733113)', '2026-07-17 09:59:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421442 -2.733204)'), GeomFromEWKT('SRID=4674;POINT (-40.42143 -2.733113)'))) / (select extract(epoch from '2026-07-17 09:59:17'::timestamp) - extract(epoch from '2026-07-17 09:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421442 -2.733204)'), GeomFromEWKT('SRID=4674;POINT (-40.42143 -2.733113)'))) / (select extract(epoch from '2026-07-17 09:59:17'::timestamp) - extract(epoch from '2026-07-17 09:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421374 -2.73307)', '2026-07-17 09:59:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42143 -2.733113)'), GeomFromEWKT('SRID=4674;POINT (-40.421374 -2.73307)'))) / (select extract(epoch from '2026-07-17 09:59:25'::timestamp) - extract(epoch from '2026-07-17 09:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42143 -2.733113)'), GeomFromEWKT('SRID=4674;POINT (-40.421374 -2.73307)'))) / (select extract(epoch from '2026-07-17 09:59:25'::timestamp) - extract(epoch from '2026-07-17 09:59: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'), 47831, 'SRID=4674;POINT (-40.421302 -2.733064)', '2026-07-17 09:59:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421374 -2.73307)'), GeomFromEWKT('SRID=4674;POINT (-40.421302 -2.733064)'))) / (select extract(epoch from '2026-07-17 09:59:32'::timestamp) - extract(epoch from '2026-07-17 09:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421374 -2.73307)'), GeomFromEWKT('SRID=4674;POINT (-40.421302 -2.733064)'))) / (select extract(epoch from '2026-07-17 09:59:32'::timestamp) - extract(epoch from '2026-07-17 09:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421295 -2.733058)', '2026-07-17 09:59:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421302 -2.733064)'), GeomFromEWKT('SRID=4674;POINT (-40.421295 -2.733058)'))) / (select extract(epoch from '2026-07-17 09:59:43'::timestamp) - extract(epoch from '2026-07-17 09:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421302 -2.733064)'), GeomFromEWKT('SRID=4674;POINT (-40.421295 -2.733058)'))) / (select extract(epoch from '2026-07-17 09:59:43'::timestamp) - extract(epoch from '2026-07-17 09:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421338 -2.733041)', '2026-07-17 09:59:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421295 -2.733058)'), GeomFromEWKT('SRID=4674;POINT (-40.421338 -2.733041)'))) / (select extract(epoch from '2026-07-17 09:59:58'::timestamp) - extract(epoch from '2026-07-17 09:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421295 -2.733058)'), GeomFromEWKT('SRID=4674;POINT (-40.421338 -2.733041)'))) / (select extract(epoch from '2026-07-17 09:59:58'::timestamp) - extract(epoch from '2026-07-17 09:59: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'), 47831, 'SRID=4674;POINT (-40.421378 -2.733081)', '2026-07-17 10:00:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421338 -2.733041)'), GeomFromEWKT('SRID=4674;POINT (-40.421378 -2.733081)'))) / (select extract(epoch from '2026-07-17 10:00:04'::timestamp) - extract(epoch from '2026-07-17 09:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421338 -2.733041)'), GeomFromEWKT('SRID=4674;POINT (-40.421378 -2.733081)'))) / (select extract(epoch from '2026-07-17 10:00:04'::timestamp) - extract(epoch from '2026-07-17 09:59: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'), 47831, 'SRID=4674;POINT (-40.42139 -2.73316)', '2026-07-17 10:00:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421378 -2.733081)'), GeomFromEWKT('SRID=4674;POINT (-40.42139 -2.73316)'))) / (select extract(epoch from '2026-07-17 10:00:12'::timestamp) - extract(epoch from '2026-07-17 10:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421378 -2.733081)'), GeomFromEWKT('SRID=4674;POINT (-40.42139 -2.73316)'))) / (select extract(epoch from '2026-07-17 10:00:12'::timestamp) - extract(epoch from '2026-07-17 10:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421387 -2.733179)', '2026-07-17 10:00:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42139 -2.73316)'), GeomFromEWKT('SRID=4674;POINT (-40.421387 -2.733179)'))) / (select extract(epoch from '2026-07-17 10:00:15'::timestamp) - extract(epoch from '2026-07-17 10:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42139 -2.73316)'), GeomFromEWKT('SRID=4674;POINT (-40.421387 -2.733179)'))) / (select extract(epoch from '2026-07-17 10:00:15'::timestamp) - extract(epoch from '2026-07-17 10:00: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'), 47831, 'SRID=4674;POINT (-40.421399 -2.73321)', '2026-07-17 10:00:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421387 -2.733179)'), GeomFromEWKT('SRID=4674;POINT (-40.421399 -2.73321)'))) / (select extract(epoch from '2026-07-17 10:00:19'::timestamp) - extract(epoch from '2026-07-17 10:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421387 -2.733179)'), GeomFromEWKT('SRID=4674;POINT (-40.421399 -2.73321)'))) / (select extract(epoch from '2026-07-17 10:00:19'::timestamp) - extract(epoch from '2026-07-17 10:00: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'), 47831, 'SRID=4674;POINT (-40.421409 -2.733259)', '2026-07-17 10:00:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421399 -2.73321)'), GeomFromEWKT('SRID=4674;POINT (-40.421409 -2.733259)'))) / (select extract(epoch from '2026-07-17 10:00:27'::timestamp) - extract(epoch from '2026-07-17 10:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421399 -2.73321)'), GeomFromEWKT('SRID=4674;POINT (-40.421409 -2.733259)'))) / (select extract(epoch from '2026-07-17 10:00:27'::timestamp) - extract(epoch from '2026-07-17 10:00:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421424 -2.733271)', '2026-07-17 10:00:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421409 -2.733259)'), GeomFromEWKT('SRID=4674;POINT (-40.421424 -2.733271)'))) / (select extract(epoch from '2026-07-17 10:00:39'::timestamp) - extract(epoch from '2026-07-17 10:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421409 -2.733259)'), GeomFromEWKT('SRID=4674;POINT (-40.421424 -2.733271)'))) / (select extract(epoch from '2026-07-17 10:00:39'::timestamp) - extract(epoch from '2026-07-17 10:00:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.421443 -2.733273)', '2026-07-17 10:00:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421424 -2.733271)'), GeomFromEWKT('SRID=4674;POINT (-40.421443 -2.733273)'))) / (select extract(epoch from '2026-07-17 10:00:50'::timestamp) - extract(epoch from '2026-07-17 10:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421424 -2.733271)'), GeomFromEWKT('SRID=4674;POINT (-40.421443 -2.733273)'))) / (select extract(epoch from '2026-07-17 10:00:50'::timestamp) - extract(epoch from '2026-07-17 10:00:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
