Created
June 18, 2015 11:20
-
-
Save jumpinjackie/29365600dba02cd502c0 to your computer and use it in GitHub Desktop.
Fix SQLite data stores with no FDO spatial context
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Put in a default spatial context entry | |
insert into spatial_ref_sys(srid, sr_name) | |
values (1, 'Default') | |
-- Make all geometry columns point to it | |
update geometry_columns | |
set srid = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment