QGIS, imported PostGis Layer has no geometry

by Tristan Rhodes   Last Updated March 26, 2018 20:22 PM

I have a PostGis table I have generated by importing an existing geojson file using ogr2ogr. When I add this table as a layer in QGIS, the layer shows up as having no geometry.

The table has geometry data in the wkb_geometry column with binary data, and if I export the table using ogr2ogr I get the correct geojson object reconstructed.

What am I missing here?

Related Questions

Simplifying Shapefile without risking Spatial Accuracy?

Updated February 19, 2018 17:22 PM

How to Export Feature GeoJSON from PostGIS

Updated July 04, 2015 13:09 PM