Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3189

Re: Geo map shape layer covers the whole map

$
0
0

Just to close the loop on this ... I just used Excel to invert the order of the polygons, as changing it in HANA was too intensive for me. The spatial reference guide has a section in the appendix called:

 

CREATE SPATIAL REFERENCE SYSTEM

 

That details a property called POLYGON FORMAT

 

Internally, SAP IQ interprets polygons by looking at the orientation of the constituent rings. As one travels a ring in the order of the defined points, the inside of the polygon is on the left side of the ring. The same rules are applied in PLANAR and ROUND EARTH spatial reference systems. The interpretation used by SAP IQ is a common but not universal interpretation. Some products use the exact opposite orientation, and some products do not rely on ring orientation to interpret polygons. The POLYGONFORMAT clause can be used to select a polygon interpretation that matches the input data, as needed. The following values are supported:

  • CounterClockwise– Input follows SAP IQ's internal interpretation: the inside of the polygon is on the left side while following ring orientation.
  • Clockwise– Input follows the opposite of SAP IQ's approach: the inside of the polygon is on the right side while following ring orientation.
  • EvenOdd– (default) The orientation of rings is ignored and the inside of the polygon is instead determined by looking at the nesting of the rings, with the exterior ring being the largest ring and interior rings being smaller rings inside this ring. A ray is traced from a point within the rings and radiating outward crossing all rings. If the number the ring being crossed is an even number, it is an outer ring. If it is odd, it is an inner ring.

It seems that the EvenOdd default setting in my case is resulting in a left-hand orientation. I suspect that changing the property to Clockwise might alter the orientation, but I'm not willing to tackle creating a new spatial reference system and reloading my data.


Viewing all articles
Browse latest Browse all 3189

Trending Articles



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