google maps api 3 - OpenLayers ::: Counting the houses in a polygon? -


i need able count houses/addresses exist inside polygon. i've thought through , seems possible find if single address exists inside polygon (by finding if geolocation intersects it?)

is possible pull list of addresses in area , check if intersect? or might there other method?

if try on browser client, array of openlayers.lonlat objects or openlayers.geometry.point objects. iterate on array , ask if each object within polygon calling containspoint function of openlayers.geometry.polygon. count or collect points fall within polygon.

geospatial operations describing on server using open source geotools. tend use openlayers exclusively map visualization.

i may have not answered question entirely because sense trying list of addresses/points in first place area on map, , don't think you've provided enough information answer part of question.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -