Uses a simple point in polygon function to geocode a point against a geojson object containing polygons and multipolygons The same coordinate reference system is assumed.
Returns if point is within a closed array of vertices
point point object = [x, y] vertices array of points which must be a linear ring (first vertex same as last)
returns true if point is inside polygon otherwise false
Returns value of code_property from properties of feature for which point lies within its geometry.
geojson - geojson object x - x coordinate of point y - y coordinate of point code_property - name of property to return
return value: value of code_property from feature whose geometry contains point.