Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic