Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 9382

PostGIS is an extension for the PostgreSQL object-relational database that adds support for geographic objects.

0 votes

UpdateGeometrySRID and ST_Transform are the same thing?

The "ST_UpdateGeometrySRID" function transfers the the spatial reference system of you data into another coordinate system and then UPDATE the geometry column of the existing table, which means it wou …
Vanni Zhang's user avatar
  • 1,073
6 votes

Convert geometry to latitude-longitude using PostGIS ST_Transform

Try this below. ST_AsText returns the well-known text. ST_X and ST_Y return the actual longitude and latitude (assuming geom is in the appropriate SRS). SELECT ST_AsText(geom), ST_X(geom), ST_Y(ge …
Vanni Zhang's user avatar
  • 1,073
7 votes
1 answer
7k views

Get the width and height of a rectangular polygon in PostGIS

33.7130048820001, -117.536012078 34.3860049530001, -116.825011941 34.3860049530001, -116.825011941 33.7130048820001, -117.536012078 33.7130048820001)) Is there any way in PostGIS
Vanni Zhang's user avatar
  • 1,073