python arcgis query function
Budget: $10 – $30 AUD
I need someone to write a python function that queries an ARCGIS feature layer to return a value.
The function will take a geojson parameter and query the feature layer at https://portal.spatial.nsw.gov.au/server/rest/services/NSW_Geocoded_Addressing_Theme/FeatureServer/1 and return the address points that are inside the geojson sahpes.
Example.
Input Parameter
{"type": "FeatureCollection", "crs": {"type": "name", "properties": {"name": "EPSG:4326"}}, "features": [{"type": "Feature", "geometry": {"type": "Polygon", "coordinates": [[[151.15757379359798, -33.92211222165958], [151.1574064453208, -33.92204007063116], [151.15724890327783, -33.92197214141727], [151.1571125794419, -33.922337414396864], [151.15740820265006, -33.9223870125882], [151.15751280248176, -33.92240456435901], [151.1576396344938, -33.92242613112626], [151.15768843434876, -33.922584596289234], [151.15782015993332, -33.922498470977025], [151.1581102158325, -33.92230727810054], [151.15789522428136, -33.922251709995955], [151.15776152689475, -33.922193614886126], [151.15770049086277, -33.9221669195787], [151.15763840604765, -33.92213995591198], [151.15758501692454, -33.922116963457974], [151.15757379359798, -33.92211222165958]]]}, "properties": {"planlabel": "DP839169"}}]}
Output:
UNWINS BRIDGE ROAD TEMPE
The function will take a geojson parameter and query the feature layer at https://portal.spatial.nsw.gov.au/server/rest/services/NSW_Geocoded_Addressing_Theme/FeatureServer/1 and return the address points that are inside the geojson sahpes.
Example.
Input Parameter
{"type": "FeatureCollection", "crs": {"type": "name", "properties": {"name": "EPSG:4326"}}, "features": [{"type": "Feature", "geometry": {"type": "Polygon", "coordinates": [[[151.15757379359798, -33.92211222165958], [151.1574064453208, -33.92204007063116], [151.15724890327783, -33.92197214141727], [151.1571125794419, -33.922337414396864], [151.15740820265006, -33.9223870125882], [151.15751280248176, -33.92240456435901], [151.1576396344938, -33.92242613112626], [151.15768843434876, -33.922584596289234], [151.15782015993332, -33.922498470977025], [151.1581102158325, -33.92230727810054], [151.15789522428136, -33.922251709995955], [151.15776152689475, -33.922193614886126], [151.15770049086277, -33.9221669195787], [151.15763840604765, -33.92213995591198], [151.15758501692454, -33.922116963457974], [151.15757379359798, -33.92211222165958]]]}, "properties": {"planlabel": "DP839169"}}]}
Output:
UNWINS BRIDGE ROAD TEMPE