Skip to content

Instantly share code, notes, and snippets.

@kevinmcmahon
Created January 9, 2012 21:21
Show Gist options
  • Save kevinmcmahon/1584998 to your computer and use it in GitHub Desktop.
Save kevinmcmahon/1584998 to your computer and use it in GitHub Desktop.
Updating the landmarks table to set the_geom column with POINT data.
UPDATE landmarks
SET the_geom = ST_GeomFromText('POINT(' || longitude || ' ' || latitude || ')',4326);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment