Skip to content

GeoJSON Enhancements

Jim Van Fleet edited this page Jan 4, 2016 · 1 revision

Citygram can be improved to react to certain properties within the GeoJSON published by our feeds. By specifying exactly what we will do when we detect elements of this "expanded GeoJSON" feed type, we can help put decisions like these in the hands of the publishers and feed maintainers.

Creation Time, Publish Time

Let's say that a major event is scheduled for May in September of the previous year. Should a road closure feed publish in September, when it's known the road will close? Should it publish in April (ahead of the event)? Should it publish on the morning of the event? Should it be more than one of these?

Message styling, length

Because Citygram knows that it might distribute messages via SMS, certain expectations regarding its length and styling are ingrained in the "title" concept. This message is displayed on the web, in email, though, in addition to text messages. Citygram already contains provisional support for webhooks, as well, which would have no requirement to provide a single message at all.