[orientdb] Re: How Do I use stored geometries in the Spatial functions?

2016-12-05 Thread thulaseeswara reddy gajjala
HI Luca,

How can I compare dynamically like this,

select St_disjoint(  st_geomfromtext(select st_astext(name)from PolYgonwsg) 
, st_geomfromtext(select st_astext(name)from smallpolygon) );

hear I am applying  St_disjoint() on two different tables which have same 
polygon data its not getting.
is I am doing wrong? or is there any way to compare two different row's or 
two different tables data dynamic values not a static data like


Select ST_Contains(ST_geomFromText('POLYGON((77.16796875 
26.068502530912397,75.7177734375 21.076171072527064,81.650390625 
19.012137871930328,82.9248046875 25.196864372861896,77.16796875 
26.068502530912397))'), ST_GeomFromText('POINT(77.420654296875 
23.23929558106523)'))

On Saturday, February 20, 2016 at 10:01:05 AM UTC+5:30, Luca Son wrote:

> I'm posting the answer given on StackOverflow about this question:
>
>
> http://stackoverflow.com/questions/35498121/how-do-i-use-stored-geometries-in-the-spatial-functions
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[orientdb] ST_disjoint comare dynamically

2016-12-05 Thread thulaseeswara reddy gajjala
hi  any one can help on this query.

select St_disjoint( select st_geomfromtext( st_astext(name) )from 
PolYgonwsg where @rid='#628:0')),  select st_geomfromtext( 
st_astext(name))from PolYgonwsg where  @rid='#629:0'))

thanks

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[orientdb] How to store polygon data through browser

2016-12-01 Thread thulaseeswara reddy gajjala
hi any one can help me below query

how to store a polygon data in orientdb through browser I have tried this:
{"@type":"d","@version":0,"@class":"OPolygon","coordinates":[[[72.79230192816932,18.94774395435967],[72.79227877224073,18.94774197280634],[72.79228473707543,18.94767850389454],[72.79230789299416,18.94768048544693],[72.79230192816932,18.94774395435967]]]}
 

while performing lucene functions its giving some exceptions .
thanks

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[orientdb] what is difference b/w link and egde

2017-03-15 Thread thulaseeswara reddy gajjala
hi 
when we use edges and when we used links in real time scenarios.  Is there 
any difference from both 
thanks

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.