• Post Reply Bookmark Topic Watch Topic
  • New Topic

Oracle spatial to Postgis

 
Martin Pscolka
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
could you please some of us help me?
I have a functional SQL query which works in Oracle Spatial, but does not work in PostGis.
What works in Oracle spatial:

This returns me picture number 1.

I had to change SDO_Interesection to ST_Intersection in Postgis.
But the script below does not works as should be. It shows me metropolitan road even in another region. Do you know why intersection doen not work in the Postgis or how to write to work it?
And another question is, it shows me roads in points and i would like to have the roads in lines, is it possible?

Picture number 2

Thank you all for help
picture-1.png
[Thumbnail for picture-1.png]
picture-2.png
[Thumbnail for picture-2.png]
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!