Scripts that support publishing work zone location data to a geojson feed specified by USDOT called WZDx.
The json feed is available here.
A tabular version is also available here.
These work zones are currently being shown on the CTXGO website (managed by TxDOT).
AMANDA is software used by the city to manage permitting. This data source is only for the TURP permits that are issued.
TURP permits can close entire roadways or a few lanes.
Excavation permits frequently require a lane closure in at least one direction. This feed only includes those excavation permits issued for the roadway or those next to the roadway.
City permits are tracked in a software platform called Coordinate. One feature of this
platform allows for work zones to be "activated" by permittees. This information is included in the work zone data
feed through the worker_presence object.
The schema_validation.py script will check a small subset of work zones in local copy of work zone datafeed's geojson against the schema.
To validate:
- Run the feed, with the
local-fileargument:python data_sources/amanda_closure_publishing.py --local-file wzdx_output.geojson - Then run the validator
python validation/schema_validation.py - You should get
✅ data sample passes schema validationor an error message if something is wrong.
It is recommended to run this script using the docker container. You can build it using:
Note, if you are on Apple Silicon you may need to add --platform linux/amd64 to get GDAL to install correctly.
docker build . -t atddocker/dts-work-zone-data-feed:local
Then, run it with an env_file created using the env_template.
docker run -it --env-file .env atddocker/dts-work-zone-data-feed:local /bin/bash
python data_sources/amanda_closure_publishing.py