Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geographical Specificity #25

Open
gavinr opened this issue Dec 12, 2018 · 2 comments
Open

Geographical Specificity #25

gavinr opened this issue Dec 12, 2018 · 2 comments

Comments

@gavinr
Copy link
Collaborator

gavinr commented Dec 12, 2018

Right now our data is at the municipality level. It would be nice to have the ability to search more specifically. For example some cities may allow chickens only in single-family residences.

@AvidDabbler
Copy link
Contributor

AvidDabbler commented Mar 2, 2019

need to figure out how to add in land use types in order to make the Saint Louis area more intelligent. Parcels that are coded as single family should be the only ones allowed to have chickens.

NEXT STEP:
Contact City of Saint Louis data layer steward and find the proper layer and land use code.

@mrao2 do you have any contacts at the city?

Possible API:
http://www.arcgis.com/home/webmap/viewer.html?webmap=01c5cd3d2a0240399b37545b13797ae9&extent=-90.2219,38.641,-90.1942,38.6538

@gavinr
Copy link
Collaborator Author

gavinr commented Mar 5, 2019

That service only has the parcels owned by the LRA. I think we probably want the full parcel service, correct? https://stlgis.stlouis-mo.gov/arcgis/rest/services/public/STL_PUBLICMAP/MapServer/1

To query the full parcel service, send a GET request like this:

https://stlgis.stlouis-mo.gov/arcgis/rest/services/public/STL_PUBLICMAP/MapServer/1/query?where=1=1&geometry=-90.231130,38.657047&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelIntersects&relationParam=&outFields=*&returnGeometry=true&geometryPrecision=&outSR=4326&returnIdsOnly=false&returnCountOnly=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&returnZ=false&returnM=false&gdbVersion=&returnDistinctValues=false&f=pjson

... just replace the point (-90.231130,38.657047 above) with the Longitude,Latitude that you want to use. Then see the "features" attribute to see the parcels it intersects with. (if the "features" array is empty, that means it does not intersect with any features)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants