Question

Esri Shapefile Writer: Only dbf-file for geometry-less Tables?

  • 5 October 2021
  • 1 reply
  • 9 views

Badge +3

I dynamically write tables (Soruce: PostGIS) with, as well as without geometry attributes into ESRI Shapes . The Writer for Esri Shapefile format generates entire shapefiles (shp, shx, prj, cpg, and dbf) even for tables without geometry attributes. However, these may not be  read correctly by ArcCatalog. For geometry-less tables, it would be better to have a dbf-file only! Is there any option for the Writer to avoid writing such entire shapefiles for geometry-less tables?


1 reply

Userlevel 5
Badge +25

Not as far as I know, but you can use a GeometryFilter to filter out non-geometry features and send those to a DBF writer.

Reply