<div dir="ltr">Hello everyone!<div><br></div><div>I'm researching possibilities to connect a datawarehouse (Clickhouse) to Mapserver. It was chosen for its query execution performance and its capability of supporting geographic data types (Points, Rings and (Multi-)Polygons). </div><div><br></div><div>My current questions are:</div><div>- What are the most potential capabilities of Mapserver to establish and test a connection with Clickhouse (ODBC, e.g.)? More info here: <a href="https://clickhouse.com/docs/en/interfaces/">Introduction | ClickHouse Documentation</a></div><div><br></div><div>- Clickhouse works with a slightly different SQL dialect and methods of converting geo types into each other than PostGIS. E.g. a Point in CH is basically a Tuple containing two Float values, and a Ring (polygon without holes) is an Array of Tuples (<a href="https://clickhouse.com/docs/en/sql-reference/data-types/geo/">Geo | ClickHouse Documentation</a>). What are the chances that Mapserver would adequately parse the following query and related CH Geotypes?</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace">select </font></div><div><font face="monospace">Cast(toString(arrayZip(groupArray(ptr.x), groupArray(ptr.y))), 'Ring') as geom </font></div><div><font face="monospace">from default.points_to_ring ptr;</font></div></blockquote><div><div><br></div><div>Feel free to ask any questions.</div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Thank you!</div></div></div></div>