1

I have two layers: one representing admin boundaries (multipolygon), and the other representing population (multipoint). I've made it possible to select a polygon to display. For the displayed polygon, I'd like to display total population, which means summing all the points that belong inside the selected polygon.

Any pointers on how to proceed?

1

You will have to use WPS, the gs:Aggregate process and feed it with a WFS request for that same feature's polygon, chaining it with the collectGeometries process.

2
  • That sounds workable. I've also been going thru cross layer query. Split as to which is more appropriate. Do u have any experience working with cross layer queries. What would you advice on their usage for this particular scenario.
    – okello
    Jul 3 '12 at 14:36
  • I managed this with a combination filters in the accompanying WFS request. Thanks a lot for the pointer.
    – okello
    Jul 23 '12 at 6:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.