Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposal
I'm working with road closures data @sharedstreets and want to expand on the suggestion in #21 to use GeoJSON for WZDx. GeoJSON is based on JSON (making it very human-readable) and around it is a healthy open source ecosystem. GeoJSON is a geospatial data standard that data consumers are familiar with. GeoJSON can be easily translated into formats like CIFS (#25) as well.
The main idea here is that anything related to the work zone location can be a concern of the GeoJSON Feature's
geometry
field (a well-defined standard for geospatial data), and anything else (aka the WorkZoneActivity/the Common Core Data Dictionary) can be a concern of the GeoJSON Feature'sproperties
field.Example GeoJSON WZDx shape
For WZDx:
metadata
object that contains the fields in File Header Informationfeatures
array will have ageometry
type ofLineString
representing the location of the work zonefeatures
array will have aproperties
value that will be containWorkZoneActivity
object—this will be an object with all the properties defined in the Common Core Data DictionaryIn this pull request:
This pull requests modifies the spec to:
add a section on what GeoJSON is
add a section on how the
WorkZoneActivity
object relates to GeoJSON (eachFeature
has aproperties
object that will be aWorkZoneActivity
object)remove latitude/longitude from the
BeginLocation
andEndLocation
DataFramesedit
full-spec/full-spec.md
add sample WZDx typescript classes w/ GeoJSON support
update
data-tables/*.md
update
sample-files/
update
images/