dvrpc / rtsp-api

API for the DVRPC's Regional Transit Screening Platform.
https://cloud.dvrpc.org/api/rtsp/v2/docs
0 stars 0 forks source link

remove (new) municipalities endpoint/corresponding db table? #5

Open kdwarn opened 1 year ago

kdwarn commented 1 year ago

Check with Marc - the frontend may already query our GIS services. The municipality list in the rtps database is likely out of date. Can the endpoint and the db table be removed?

This was the /gap?list endpoint in the Django version, I believe.

DVRPCfreight commented 1 year ago

+1 for moving to the feature service as a source for municipalities.

Just note that the returned list from the existing API appears to include both Municipalities and Philadelphia City Planning Areas (neighborhoods). That is not included in the GIS endpoint currently being used.

The feature service that includes both is: https://arcgis.dvrpc.org/portal/rest/services/Demographics/Census_MCDs_PhiPD_2020/FeatureServer/0

I will open an issue on the web application for this change. Once integrated, this feature class can replace the municipality list.

DVRPCfreight commented 1 year ago

Dependent on: https://github.com/dvrpc/RTPS/issues/76