<div dir="ltr"><div>Petros</div><div><br></div><div>I'm not sure if MapServer is what you are looking for as I is generally used the the creation and transfer of maps and it sounds like you are only concerned with retrieval of statistical information.  MapServer probably could be used for the application you describe but it would be easier to simply use a WPS  service of some sort (<a href="https://pywps.org/">https://pywps.org/</a>).  Alternatively you could look at using postgresql with the geo-spatial postgis extension to perform your analysis any develop your own interface using whatever language you prefer. </div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 26 Feb 2020 at 07:51, <<a href="mailto:Petros.Likidis@scb.se">Petros.Likidis@scb.se</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="SV">
<div class="gmail-m_-6423279834940927312WordSection1">
<p class="MsoNormal"><a name="m_-6423279834940927312__GoBack"></a><span lang="EN-US">Hi all,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I have to warn you that I am entirely new to GIS and all the terminology so my questions might be strange. Nevertheless, my company wish to expose a service that receives a polygon as input and outputs statistical data
 about the area defined by the polygon. For instance, it could be the number of residents in different age groups, the average income, the number of companies divided by industry, etc.
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The service will aggregated the statistical data on the fly according to input polygon. Then it will then preform some type of disclosure control of the aggregated data before it is send back to the caller. I guess that
 this service should be exposed as a WPS service or is there any other type of service that is more appropriate if it should be consumable from other GIS-applications?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">If it should be a WPS will I be able to expose it through MapServer? If MapServer can do this or am I bound to use a specific programing language or can MapServer start an arbitrary program that dose the processing?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Kind regards<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Petros<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt" lang="EN-US"><u></u> <u></u></span></p>
</div>
</div>

_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div>