I have a set of census polygons (P1... P4) containing population information, and I'm building a tool using the ArcGIS Server JavaScript API whereby the user can draw an arbitrary shape:
I need to estimate the population of the arbitrary shape, by apportioning the values from the census polygons (no weighting is required, so it's acceptable to assume an even population distribution across the polygons).
Is this possible using JavaScript in the client, or will I need to perform the calculations on the server using the GeoProcessing framework?