cityofaustin / techstack

Project management for the City of Austin's new digital service delivery platform, Austin.gov.
11 stars 3 forks source link

Interactive maps #191

Open amenity opened 6 years ago

amenity commented 6 years ago

As a resident, I want to locate a resource that is convenient to me and meets my needs so that I can easily access services.

Full page interactive map interfaces that serve as an index of resources, locations, activities, projects, events, etc. May include filtering.

Use cases

Examples

City of Austin

Other orgs

Note: Google static maps usage is limited to: 25,000 map loads per day, which we should be conscious of as our map needs become more robust.

Aha! Link: https://desi1.aha.io/features/RT-338

luqmaan commented 6 years ago

http://austintexas.gov/department/gis-and-maps

Notes from my meeting with Ross Clark on 4/27/18:

The most common use case/request we get is "I have a spreadsheet of addresses and want them on the site."

The usual outcomes are:

- Someone puts the addresses into a Google Map that they link to.
- A GIS Analyst or Technician puts the addresses into ArcGIS. They will then embed or link to the map.

We can use Mapbox or Google Maps instead of Esri if it works better for our use case. But there are some major drawbacks, like:

- The GIS team at the city is most experienced with Esri
- The data in Esri is very well maintained by the city today

If we use something other than Esri, its important that we're able to connect it to Esri. For example, with Mapbox Esri: https://www.mapbox.com/esriconnect/.

Features that would be good to have on the austin.gov maps:

- The ability to add layers like city council district, etc. Most of the layers in the property profile map would be useful for a map on austin.gov. http://www.austintexas.gov/GIS/PropertyProfile/
- Routing. E.g. Now that I've found a library, how do I get there?
    - Esri has a routing api
    - We could link to Google Maps
- Legends
- Clustering

The city has a well researched GIS styleguide. We can change it if needed. But its important that we follow the styleguide for consistency.

To keep the data high quality:

- Store metadata about the map and all records. Store timestamps, who created a record, who changed a record, etc. 
- Have a point of contact for every map
- Show residents when a record was last updated

Some useful stuff for floods:

- txdot cities layer http://gis-txdot.opendata.arcgis.com/datasets/09cd5b6811c54857bd3856b5549e34f0_0
amenity commented 6 years ago

Awesome info — thanks @luqmaan! 🙏

amenity commented 6 years ago

Inspo:

toribr commented 6 years ago

Partial list of Austin services which could leverage an interactive map (please note not all of these are mobile, but may have several locations and days/times of service): • HIV/STD testing van • Health Equity unit • Mobile Library • WIC Cooking Classes • Car seat inspections • Free condom map • Vaccinations • Health food locations • WIC Cooking classes

johnclary commented 6 years ago

I'm not the biggest fan of Esri's front-tend map/app products. they're kludgy and tend to leave a lot desired in terms of customization and styling. The upside, of course, it that they can be configured by business users without writing code.

I do think that Esri’s ArcGIS Online platform provides an appealing interface for hosting/maintaining geospatial data, and it plugs into our existing on-premise GIS resources (e.g. our address points, street segments, jurisdictional boundaries...the authoritative stuff). and it has standards/practices managed by a governing board.

Any data we host on ArcGIS Online can be reached at a public REST endpoint. The problem, however, is that (big surprise) the data is returned in a non-standard JSON format that doesn’t play well with literally any of the other mapping SDKs. The format we need is geoJSON, which Esri only supports through it’s ArcServer product or it’s Open Data product. Both of which are not currently CTM-supported and have their own set of dependencies.

If we wanted to use ArcGIS Online as a back-end and some other framework for the front end, there are tools to transform “Esri JSON” to geoJSON (and we could write one ourselves.). E.g. https://github.com/Esri/arcgis-to-geojson-utils and https://github.com/Esri/esri-leaflet.

NYC took the approach of using CARTO for there geospatial data hosting, since CARTO readily dispenses geoJSON and plays nice with others. It costs money 😦 , and it also means training business users or CTM staff to manage data in CARTO, which may be redundant to the authoritative data in ArcGIS Online. It would be fairly easy to push data from ArcGIS Online to CARTO automatically, were that a common need (it would be for my department).

One approach we’ve taken is to use the Socrata API whenever we need geoJSON. I believe Socrata uses a PostGIS-backed database for this, and it supports fairly complex querying and is fairly performant. Another appealing option there is that Socrata has already built an integration engine to keep their data in sync with ArcGIS Online services.

Whew, that was a lot of info! And we didn’t even get to the front end….

johnclary commented 6 years ago

p.s. one of our interactive maps that dispalys geojson data from the socrata API: http://transportation.austintexas.io/signal-timing/