Click here to Skip to main content
15,901,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to convert below function from Oracle to PostgreSQL.

Oracle :
JavaScript
SDO_RELATE(sf.sfd_geometry, st_geometryfromtext(:POLYGON, 8307), 'mask=anyinteract')


POstgreSQL :?

What I have tried:

Oracle :
JavaScript
SDO_RELATE(sf.sfd_geometry, st_geometryfromtext(:POLYGON, 8307), 'mask=anyinteract')


POstgreSQL :?
Posted
Updated 24-Oct-16 1:43am
v2

http://www.enterprisedb.com/products-services-training/products/postgres-plus-advanced-server
read article from above link
 
Share this answer
 
As far as I know PostgreSQL can't handle spatial data out-of-the-box. However, there's an extension called PostGIS. For more information, have a look at PostGIS — Spatial and Geographic Objects for PostgreSQL[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900