I try to export geographical data from a postgis database to a shapefile with pgsql2shp.
Normally this works fine, but now I receive the following error.
Preparing table for user query... Done. Initializing... ZMflagQuery: ERROR: function zmflag(geometry) does not exist LINE 1: SELECT max(zmflag("geometrie"::geometry)) FROM "__pgsql2shp7...
The query I use is:
pgsql2shp.exe -f 'foldername' -h luna -p 5432 -u user-P pw -g geometrie dbname "select * from bag.adressen a where a.wnpcode = '3386'"
I haven't had any earlier problems with pgsql2shp.
Hope someone can help.