Dear all,

I have a mapset connected to a Postgres back-end:

> db.connect -p
driver: pg
database: s4a
schema: mal9
group:

In this mapset there is a large points layer that I need to export. I am trying 
with v.out.ogr:

> v.out.ogr input=mal9_5x5_sec_units@MAL9 output=/bck/mal9_5x5_sec_units.gpkg 
> format=GPKG
Exporting 34324866 features...
dbmi: Protocol error
ERROR: Cannot select attributes for cat = 11133509

But the attributes for that geometry are accessible in the back-end:

> psql -d s4a
psql (12.5 (Ubuntu 12.5-0ubuntu0.20.04.1))
Type "help" for help.
# select * from mal9.mal9_5x5_sec_units where cat = 11133509;
cat | mal | label
----------+-----+-------
11133509 | 0 |
(1 row)

What could be causing this error? Is there any other way to export this layer?

Thank you.

--
Luís

Sent with [ProtonMail](https://protonmail.com) Secure Email.
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to