Skip to main content
Source Link
barelyknown
  • 5.6k
  • 5
  • 38
  • 46

How do I fix missing PostGIS SRIDs in PostgreSQL?

I received the following error while running my Rspec test suite:

PG::InternalError: ERROR:  GetProj4StringSPI: Cannot find SRID (4326) in spatial_ref_sys

I know that I enabled the PostGIS extension. How do I fix this?