Area size limit calculation

Hey,

I have a polygon from isochrones service with an area of 21.55 sq. kilometers.
I am trying to get POIs of some types within it using my instance of openpoiservice, but I am unable to get a response, cause it always ends with
Your polygon geometry is too large (52336277.99076735 square meters), check the server restrictions.
I know the server restrictions are set at 50 square kilometers, but the polygon is actually smaller than that. I have tried to explicitly set the buffer parameter to 0, but it does not change a thing. So it seems like there is some problem with area calculation.

My request (without filters):

{"request":"pois","geometry":{"geojson":{"coordinates":[[[14.414804,50.086361],[14.41764,50.081082],[14.420897,50.077336],[14.421014,50.077251],[14.424196,50.075464],[14.426596,50.073823],[14.430203,50.071801],[14.434149,50.068682],[14.434273,50.068606],[14.435605,50.06826],[14.437339,50.068164],[14.44204,50.067413],[14.443441,50.066564],[14.443657,50.066505],[14.448267,50.065283],[14.449752,50.064232],[14.45214,50.063267],[14.452225,50.063233],[14.452603,50.063098],[14.456733,50.062399],[14.459712,50.062961],[14.463801,50.063312],[14.46601,50.064225],[14.467722,50.067073],[14.471495,50.06684],[14.471691,50.066888],[14.476513,50.068773],[14.480065,50.071427],[14.4809,50.072021],[14.485943,50.07485],[14.486647,50.075214],[14.488116,50.076982],[14.488143,50.077096],[14.49128,50.082068],[14.491885,50.082183],[14.495626,50.086543],[14.497308,50.090021],[14.497967,50.091988],[14.497911,50.095377],[14.497876,50.095484],[14.497702,50.09563],[14.495443,50.097437],[14.492815,50.101729],[14.492227,50.102069],[14.490664,50.102807],[14.489771,50.103213],[14.489389,50.103343],[14.487647,50.103603],[14.487031,50.103593],[14.485894,50.103588],[14.481848,50.103926],[14.480031,50.105489],[14.479936,50.105535],[14.476915,50.106728],[14.474091,50.10763],[14.471178,50.10853],[14.465858,50.109151],[14.462404,50.109289],[14.45918,50.107687],[14.453417,50.107021],[14.450828,50.108057],[14.449678,50.108527],[14.449658,50.108527],[14.445106,50.106877],[14.441509,50.107012],[14.436396,50.105378],[14.434686,50.104098],[14.432608,50.102403],[14.432468,50.10229],[14.430845,50.10074],[14.426714,50.097424],[14.425818,50.097231],[14.425508,50.097041],[14.422362,50.095051],[14.418526,50.09205],[14.414967,50.089349],[14.414908,50.089288],[14.4149,50.089273],[14.414804,50.086361]]],"type":"Polygon"}}}

Any ideas on how to solve this issue without raising the restrictions?

Yeah, the area calculation happens in Web Mercator (EPSG:3857) and at 50° N that can easily be > 50 sqkm. I’m working on the stable release right now and that’s one the things that’ll change, will use Mollweide for area and great-circle for distances.