0

I have a collection of points from a WMS of GeoServer I need to show a buffer.

  1. Let's assume that these points are locations of commissaries and that the buffer is the 'area of responsibility' around the commissaries. The area of responsibility can be defined by col:distance or in my code.

  2. If the buffer have intersection send me alert, is possible?

WMS: GeoServer

Map: googlemaps

Application: PHP and JavaScript

1

First, you don't have a collection of points from your WMS you have a picture of some points. If you need the points themselves then you need to use a WFS to fetch them.

Once you have the points in your application you can use turf.js to produce buffers and check for intersections.

If you prefer to handle this on the server (may be there are a lot of points) then you should look into WPS services to handle buffering a WFS layer and saving it as a WMS layer.

  • Thx Iant, i'm beginner in GIS an d use of wms, wfs,... , but i need a solution for gmap api, your solution is for mapbox :(. – Giancarlo Bruno Honores Sep 21 '17 at 14:18
  • it's for GeoServer actually – Ian Turton Sep 21 '17 at 14:19
  • :( can u send an example? please. – Giancarlo Bruno Honores Sep 21 '17 at 19:11

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.