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

Re: Can't set ST_GEOMETRY column to null with JDBC

$
0
0

It seems I misstated the problem slightly. I can update or insert the field with the WKT format for Point but not Polygon or MultiPolygon.

 

An example of a Polygon that I was trying is:

 

Polygon((19.034 -111.6,19.0372 -111.5676,19.0466 -111.5365,19.062 -111.5078,19.0826 -111.4826,19.1078 -111.462,19.1365 -111.4466,19.1676 -111.4372,19.2 -111.434,19.2324 -111.4372,19.2635 -111.4466,19.2922 -111.462,19.3174 -111.4826,19.338 -111.5078,19.3534 -111.5365,19.3628 -111.5676,19.6505 -112.6223,20.4355 -113.5645,20.4769 -113.615,20.5077 -113.6726,20.5266 -113.735,20.8237 -114.8692,21.6355 -115.6645,22.3072 -116.4322,23.0274 -116.7923,23.085 -116.8231,23.5593 -117.2026,23.9171 -117.3173,23.97 -117.3456,24.0164 -117.3836,24.0544 -117.43,24.0827 -117.4829,24.1001 -117.5403,24.106 -117.6,24.1001 -117.6597,24.0827 -117.7171,24.0544 -117.77,24.0164 -117.8164,23.97 -117.8544,23.9171 -117.8827,23.8597 -117.9001,23.8 -117.906,23.7403 -117.9001,23.335 -117.8266,23.2726 -117.8077,23.215 -117.7769,22.7216 -117.3822,21.9726 -117.0077,21.915 -116.9769,21.8645 -116.9355,21.1645 -116.1355,21.1231 -116.085,20.3921 -115.1389,20.369 -115.0957,19.8923 -113.9274,19.3466 -112.7635,19.3372 -112.7324,19.0372 -111.6324,19.034 -111.6))

 

Dick


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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