Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Hana SPS07 and spatial data

$
0
0

Hi Duke,

 

oh the error message is really bad. We improved them a lot and they will be out soon, if they would have been out already you would see this:

 

>>

 

Invalid Coordinate Sequence: expected "(" ....

 

<<

This is because the WKT is maleformed, you must have two brackets for a polygon as you did in your dummy selection.

 

>>

GEOLOCATION.ST_Within(new ST_Polygon('POLYGON (0 0, 0 1, 1 1, 1 0, 0 0)'))

<<

 

After adding the brackets it should work such as:

 

>>

GEOLOCATION.ST_Within(new ST_Polygon('POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0))'))

<<

 

Cheers

 

Gerrit


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>