cityofaustin / atd-data-tech

Austin Transportation Data & Technology Services
17 stars 2 forks source link

[Bug] Council District layer in VZV does not render #11327

Closed patrickm02L closed 1 year ago

patrickm02L commented 1 year ago

On 1/26/23, Mike observed that the Austin City Council Districts layer in the Vision Zero Viewer does not render when one engages the button.

John mentioned that with recent updates to CRIS software, perhaps an endpoint is no longer valid.

Screen Shot 2023-01-26 at 7.50.25 PM.png

johnclary commented 1 year ago

It would seem that COA tore down the Council Districts dataset we were using from the open data portal. I can't find this resource on the Open Data Portal—the request errors with 404.

https://data.austintexas.gov/resource/7yq5-3tm4.geojson?$select=simplify_preserve_topology(the_geom,0.00001),council_district

We should probably instead source this layer from AGOL. This query should be fairly compatible:

https://services.arcgis.com/0L95CJ0VTaxqcmED/ArcGIS/rest/services/BOUNDARIES_single_member_districts/FeatureServer/0/query?where=1%3D1&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&resultType=none&distance=0.0&units=esriSRUnit_Meter&relationParam=&returnGeodetic=false&outFields=COUNCIL_DISTRICT&returnGeometry=true&returnCentroid=false&featureEncoding=esriDefault&multipatchOption=xyFootprint&maxAllowableOffset=&geometryPrecision=6&outSR=4326&defaultSR=&datumTransformation=&applyVCSProjection=false&returnIdsOnly=false&returnUniqueIdsOnly=false&returnCountOnly=false&returnExtentOnly=false&returnQueryGeometry=false&returnDistinctValues=false&cacheHint=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&having=&resultOffset=&resultRecordCount=&returnZ=false&returnM=false&returnExceededLimitFeatures=true&quantizationParameters=&sqlFormat=none&f=pgeojson&token=