Lot Numbers and Addresses f.) Existing and proposed monumentation g.) Curve data h.) Warrant Required? PA One Call serial number and list of contacts f.) Planning Module submitted / required (tapping fee $2527/EDU). CITY OF BETHLEHEM last rev. 1/10/14 LAND DEVELOPMENT & SUBDIVISION CHECKLIST 7/26/06 SITE ADDRESS.
PA OneCall has an e-mail-based notification system that will alert you of 'Call Before you Dig' requests in your area (note: CivicMapper is not affiliated with or contracted by PA OneCall).
As an approved subscriber (i.e., you have to request approval from PA OneCall to get these notices), you can receive the occasional e-mail from them that looks like this:
Launch Conversation: Pennsylvania One Call System. E.) PA One Call serial number and list of contacts f.) Soil Data h.) Number of proposed parking spaces and dwelling units (min. 2' except in area 15% use 5' within prop. & 25' beyond) OTHER: a.) Developer's agreement b.) Sewer extension agreement c.) Easements yes no NA f.) Building restriction lines with dimensions h.) Current Adjoiners including addresses d.).
This set of scripts will can take a PA One Call e-mails and publish them to a standard geodata web service endpoint so the tickets can be viewed on a web map. Currently:
- it only parses and publishes the request Serial Number, Mapped Type, and Mapped Lat/Lon information from the ticket; other information could easily be parsed and stored as well
- it checks what has been published already, and so won't re-publish/duplicate old tickets (if the inbox gets messy)
- only Esri AGOL Feature Services are supported as endpoints right now; however it would be trivial to store and publish the data in other formats, (e.g., a
csv
orgeojson
in a GitHub repository, a table in CARTO, etc.)
For now, this is just an experiment and technology demo; CivicMapper is not affiliated with or contracted by PA OneCall.
Software
This is built with Python 3.6 and uses the Python Requests library. We use pipenv
for a python package and virtual environment management.
The config.py
file is used to specify e-mails, data endpoints, and authentication information so that the script can get what it needs to get and publish what it's intended to publish.
Apsfcu
When run, the script:
- logs into your IMAP-based e-mail inbox and searches for messages from the configured address (default:
Delivery@pa1call.net
) - loads any e-mails matching the sender and subject from PA One call into memory
- uses a series of regex statements on each e-mail to parse out desired info
- checks the existing publication endpoint, to see if any of the notices from the inbox have already been published
- publishes new notices to the publication endpoint.
Pa One Call Serial Number Search
Pa One Call Online
It's designed to be run as a scheduled task periodically (e.g., a cron
job or a Windows scheduled task).
댓글