Created
October 28, 2014 15:26
-
-
Save fritzvd/b576237559a7f0b7a0ca to your computer and use it in GitHub Desktop.
sql snippet for older OGR sql function in postgis (getsrid)
This file contains hidden or 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
CREATE OR REPLACE FUNCTION ST_getsrid(geometry) | |
RETURNS int4 | |
AS '$libdir/postgis-2.1','LWGEOM_get_srid' | |
LANGUAGE 'C' IMMUTABLE STRICT; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment