Re: How to get the SRID of a geometry column
For Drupal, I like to put the Authors UID as the SRID value.
create table geom(g point) engine=myisam;
insert into geom (g) values (pointfromtext('point(1 1)', 101));
insert into geom (g) values (pointfromtext('point(1 2)', 102));
insert into geom (g) values (pointfromtext('point(2 2)', 202));
insert into geom (g) values (pointfromtext('point(10 1)', 101));
insert into geom (g) values (pointfromtext('point(10 2)', 102));
insert into geom (g) values (pointfromtext('point(20 2)', 202));
select astext(g), SRID(g) from geom;
select astext(g), SRID(g) from geom WHERE SRID(g) = 102;
Subject
Views
Written By
Posted
7387
October 14, 2009 07:47PM
Re: How to get the SRID of a geometry column
10308
January 07, 2010 01:06AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.