[general]
name=NENA Addressing and RCL Tools
qgisMinimumVersion=3.34
qgisMaximumVersion=4.99
description=NG9-1-1 (NENA) addressing for counties and 911 authorities: master street names, road centerline address ranges, click-to-place addresses, and data checks.
about=Day-to-day 911 addressing in QGIS, following the NENA NG9-1-1 layout for road centerlines and site/structure address points.
    - Keep one master list of street names. Roads and addresses link to it by StreetID, renames update every linked feature, and duplicates are blocked by a county-wide or per-community rule.
    - Range road centerlines (hundred-block, distance, proportional, or from address points). Ranges are divided automatically when you split, merge, or add a road at an intersection.
    - Place an address by clicking the road and then the building: the house number, side, ZIP, ESN, and community are filled in. Place apartment and townhome units under one number.
    - Draw a new road for a street name and it is named and ranged for you.
    - Drop-down lists for street types, communities, ZIP codes, ESNs, and other fields, so values are entered the same way every time.
    - Check for range gaps, overlaps, wrong odd/even sides, missing values, and MSAG mismatches before you submit.
    Works with GeoPackage, file geodatabase, shapefile, PostgreSQL/PostGIS, SQL Server, and other QGIS data sources. Every edit is undoable. Pure PyQGIS, no extra installs. Runs on QGIS 3.34 or newer, including QGIS 4.
version=3.9.8
author=Charles
email=pwizzle77@gmail.com
changelog=3.9.8 - No longer marked experimental: a settled feature set and test suite.
    3.9.7 - Check and import keep the window open and name the step that is running. Validate still waits until you click Validate selected or Validate layer. Address import, zone check, and centerline check each show that step on the progress bar.
    3.9.6 - Check flags a centerline end that stops just short of another road, a crossing that was never split, and two pieces of the same road that meet and still share side attributes (set Overpass to Y to allow a grade-separated crossing). Retire selected roads and addresses sets status RET and Expire instead of deleting them, and Show only current features hides expired rows. Export NG9-1-1 submission writes current centerlines, address points, and zone layers to a File Geodatabase (a GeoPackage if this QGIS cannot write one), without the plugin's link fields. Address Check compares a house number with the side the building sits on, compares stored longitude/latitude with the point, and accepts a landmark or milepost that has no house number. Address import fills longitude and latitude from the point when they are empty. An alias street name is checked as the live street.
    3.9.5 - The Validate toolbar button opens the Check window instead of running the validation (and the window opening) first; click Validate selected/layer there, same as Zones and Addresses already work.
    3.9.4 - Address Check no longer flags different units of the same building sharing one point as a duplicate location, and gains a check that an address's stored side (Addr_Side) agrees with which side of the centerline it actually sits on. RCL_CROSSES_BOUNDARY moved from Address Check to Centerline Check, where it belongs. Both Centerline and Addresses checks show a progress bar (the Addresses tab previously froze the window on large layers). Centerline Check's Results tab is now labelled Centerlines.
    3.9.3 - Redistribute selected asks which ranging method to use (defaulting to your configured method) instead of always using proportional. Check window gets an Addresses tab: range, side, order, duplicates, boundaries, street type/ZIP format and address-vs-centerline attribute mismatches, alongside Results and Zones.
    3.9.2 - Address Check gains three NENA-aligned checks: street pre/post type must be spelled out (not abbreviated), directionals use the same check as centerlines, Post_Code/Post_Code4 must be 5/4 digits, and address points stacked at the exact same location are flagged.
    3.9.1 - Code clean-up for the plugin repository's security scan: silently-ignored exceptions are now logged (same fallback behaviour); no change in how the plugin works.
    3.9.0 - Open existing database recognizes compatible NENA tables in a GeoPackage, File Geodatabase, or saved database connection. Checks fields and geometry, reconnects available layers, and reuses loaded layers without creating tables, seeding lookups, or recalculating data. Project-only addressing settings still require the original QGIS project.
    3.8.2 - Addressing on OneWay TF roads measures from the line's end. The existing From-number base, numbering methods, parity, rounding, collision rules, physical sides, and access-point placement are retained. Neighbor ordering and address order checks use the same TF origin.
    3.8.1 - Deleting an address clears its temporary road-access circle, dashed line, and label from the map. Other selected addresses keep their overlays. Address calculations are unchanged.
    3.8.0 - New road centerline fields: PSAP_L/PSAP_R (filled like ZIP and ESN, from the PSAP zone layer when there is no PSAP rule), Hierarchy for routing (drop-down; empty takes it from RoadClass), NENA legacy street name parts (LSt_PreDir, LSt_Name, LSt_Typ, LSt_PosDir) with a calculated LSt_FullName, a calculated FullName, TravelTime in minutes from length and SpeedLimit, and Surface with a lookup list and default (Paved). Address points get a calculated FullAddr. FullName and FullAddr update on save and straight away when a master street name changes. Recalculate fields fills them on existing data; Update schema adds the columns.
    3.7.2 - Road settings (Re-range pieces after split, Combine ranges after merge, and the rest of Settings, Editing) no longer seem to reset: a project opens on the centerline that has the settings instead of the first line layer QGIS lists, clicking another line layer without NENA settings no longer switches the plugin to it, and the Settings window shows which centerline its settings belong to.
    3.7.1 - Update schema (Schema and import): lists the fields and tables the plugin uses that your existing tables lack (roads, street names, addresses, driveways, access points, lookup lists, version tables, exceptions, zones) and adds only the ticked ones, keeping all your data; new tables go into the roads' GeoPackage or File Geodatabase. Creating empty zone tables no longer replaces a zone layer already chosen under Settings, Zones.
    3.7.0 - Zones: PSAP, provisioning, law, fire, EMS, ESN, city, community, and county boundary layers, kept wherever you like (their own database is fine) and listed under Settings, Zones. Each zone layer has Split roads at this boundary (on by default) and its own checks. Check, Zones tab: gaps, overlaps, outside the provisioning boundary, required fields, duplicate NGUIDs, ServiceURN, ESN zones in more than one fire/law/EMS zone, roads crossing a zone line without a split, and addresses in a different zone from their access point or road side. Accept as exception stores the result in a Check exceptions table with a reason, who, when, and an optional end date; an edit after the exception shows the result again. Zone tables can be created and imported (optional).
    3.6.19 - Access points for imported addresses: Import has Create access points for the imported addresses (on by default), and the Addresses window has Create access points… for addresses that have none. Each access point goes 10 feet off the road, the same as Place address. Its spot comes from the address's driveway, Access_X / Access_Y, or the nearest road, and it is linked by AccessPointID with RCL_NGUID, StreetID, and RoadSide. Addresses at the same spot share one access point, and an AccessPointID with no matching point gets that point created.
    3.6.18 - History tool: select a road or address (or street name, driveway, access point) and click History to see every saved version, newest first, with what each save changed (before and after, read from the stored JSON), the whole feature in that version beside the feature now, and the version's shape on the map. Roll back to this version writes that version's values, and optionally its shape, back onto the feature; with Track changes on the roll back is recorded as a new version.
    3.6.17 - One Settings window: every setting on a page in a list on the left (Layers, Fields, Sides, Defaults, Street rules, Address rules, Ranging, Checks, Editing); the tool windows keep the buttons and a Settings… button that opens their page. Version and lookup tables sit in collapsed Versions and Lookup tables groups below the layers you edit instead of being hidden (hiding is opt-in). The master street list opens at once on a county's names.
    3.6.16 - Tested end to end in QGIS 4 on a county's data (8,400 roads, 37,000 addresses) in a File Geodatabase and SQL Server. Lookup and version tables no longer disappear after Create schema; the panel and window pickers keep their centerline layer; address checks and house-number planning are many times faster; SQL Server no longer reports every address as off the map; Longitude/Latitude of 0 import as empty.
    3.6.15 - Default values in the lookup tables: tick one Default per list (address status, address type, road status, road class, placement, agency) and new features get it when the field is empty, including from QGIS's Add Feature tool. Place address shows Status and Type, starting on the defaults. Fill empty fields for existing features; Check reports empty required address fields. Master Streets button next to NENA.
    3.6.14 - City limits fill IncMuni on each side of the road (Unincorporated outside); optional unincorporated community layer fills UnincCom outside the city only. Each side is checked out to a set distance so limits drawn on the right-of-way line land on the correct side.
    3.6.13 - New address points and driveways always get a Site_NGUID / DW_NGUID: with no agency identifier set, they take the agency and format the existing NGUIDs use (address points, driveways, the road, centerlines, or DiscrpAgID); a message says when there is none. Fill empty NGUIDs also fills (and de-duplicates) Site_NGUID and DW_NGUID.
    3.6.12 - Split roads always get their own RCL_NGUID: when no agency identifier is set, it comes from the original road's NGUID (or the layer's existing NGUIDs, same format); a piece never keeps the original's id, and a message says when there is no agency to use. Fill empty NGUIDs also replaces duplicated ones and works without an agency identifier when the layer has NGUIDs.
    3.6.11 - Version and lookup tables are hidden from the Layers panel when created (still loaded and updated). New NENA menu option: Hide version and lookup tables.
    3.6.10 - Centerline picker leaves out version tables, driveways, and the address, access-point, and street-name layers, and opens on the project's centerline. Split re-ranging no longer comes out a little too high: with distance addressing the split falls where the house numbers are, and the Addresses window's address points anchor the split when none are set on Ranges, Method.
    3.6.9 - New roads are Active (road status ACT) with road class Local by default (Settings, Defaults; fill only empty fields; can be changed or cleared).
    3.6.8 - New and moved roads fill their own sides: adding a road (including Draw road), splitting one, or changing its shape writes its left and right ZIP, MSAG community, ESN, and other side values from the polygons under Settings, Sides. On by default (Settings, Editing).
    3.6.7 - README: new How to configure section covering every setting for streets, sides, ranges, and addressing, with a checklist. New defaults: ranging by distance (Interval, 5.28 ft per number); new addresses use the centerline's own Parity_L / Parity_R first. Layers and projects set up earlier keep their saved choices.
    3.6.6 - The toolbar is a plain QGIS toolbar again (no forced full-width row above other toolbars), so ribbon interfaces such as Workspace Ribbon show it as its own tab.
    3.6.5 - Code clean-up for the plugin repository's security and quality scan; no change in how the plugin works.
    3.6.4 - First release on plugins.qgis.org (experimental). Renamed to NENA Addressing and RCL Tools. Plugin folder renamed to nena_addressing_and_rcl_tools (uninstall an older nena_rcl_tools copy). Draw road for a master street name: the new centerline is named and ranged by distance. Lookup drop-downs are real drop-downs (not text boxes). Fixed the QGIS 4 schema-creation error, a false access-point delete warning when saving, and repeated deleted-layer warnings.
    3.6.3 - Place address saves an access point 10 feet straight off the road click, on the building's side, linked to the address and the centerline. The driveway checkbox is removed. Draw driveway remains the tool for the path.
    3.6.2 - House numbers follow the click from the start of the line. A SQL Server float coordinate was saved as a whole degree, so every existing address looked like it sat at the start of the street and the new number was pushed up to the last house.
    3.6.1 - One-way tool marks selected centerlines B, FT, or TF for routing; one-way roads show red travel arrows in the NENA style.
    3.6.0 - House numbers are calculated on the clicked segment (from its From number and first point, or interpolated between its From/To). Odd/even always follows the settings; a disagreeing segment parity is reported. Reverse and re-range uses the parity settings.
    3.5.2 - Fixed house numbers pushed up by an address on a separate piece of the same street. Fixed a crash when closing QGIS 4 or removing a watched layer. Dialogs use a normal light background.
    3.5.1 - Fixed left/right in Place units: the first unit click now picks the side and its house number. Building and unit clicks no longer snap onto road lines.
    3.5.0 - Style NENA layers: roads with direction arrows, green start and red end markers, names and From/To labels; house markers with numbers for address points. Reverse tool flips selected roads and swaps left/right values and ranges so every house keeps its number.
    3.4.0 - Drop-down lists for county, municipality, communities, ZIP and postal community, ESN, MSAG community, road class, placement, directionals, parity, one-way, country, and state, on both sides of a centerline. Lookup tables window shows every list, creates missing tables, and loads values from your data. Windows use a normal background, remember their size, and can dock. Toolbar has a NENA window menu and labels. Settings save automatically.
    3.3.1 - Place units keeps the house number from the road click and advances the unit number. The toolbar and menu are split into centerlines and addressing. Tool windows use a normal background.
    3.3.0 - Access points are stored in their own table and cannot be deleted while an address still uses them. Place units assigns a unit type and the next unit number. Road types, unit types, statuses, and address types are lookup tables. Each tool opens in its own dockable window.
    3.2.10 - The readme is a user guide. It explains what each tool does and how the settings work, in plain language.
    3.2.9 - Place address, Draw driveway, and Place units are separate tools. A driveway is not created unless you ask for one. Place units numbers several rooftops from one access point. The street-name form uses an editable NENA/USPS street-type list.
    3.2.8 - The panel is organized into Streets, Addresses, Ranges, Check, and Settings. Daily actions stay on the work tabs. Schema, field mapping, sides, defaults, and rules are on Settings. Save at the top stores the panel settings.
    3.2.7 - On a database layer, WhoEntered and LastUpdatedBy use the login from the QGIS connection. WhoEntered is filled only when it is empty. LastUpdatedBy is written on each new or changed feature. Change tracking stores that same login in ChangedBy.
    3.2.6 - Split a centerline where the side changes, split existing roads at intersections, and close address-range gaps. Compare centerlines to an MSAG table. Default values for state, county, one-way, parity, and other fields that rarely change fill only empty fields.
    3.2.5 - ZIP, MSAG, and ESN polygons are chosen on the Fields tab and calculate the left and right side of the centerline. An address copies the side of the road it sits on.
    3.2.4 - Change tracking records a numbered version of each saved insert, update, and delete, including the old and new values. An update stores the feature as it was saved. New version tables are named with _Versions.
    3.2.3 - Building the master street list no longer creates a row with a blank street name. Choose a ZIP, MSAG, and ESN polygon layer and field; each side of a road is stamped from the polygon beside that side, and a new address copies those values from the side it is on.
    3.2.2 - After a road is split, selecting the pieces and re-ranging divides the original address range across them. New address points get a FullName field filled with the full road name. The panel uses the application colors so the text stays readable, and the toolbar stays on its own row at the top with the tools at the right.
    3.2.1 - The panel opens as a tab beside the catalog, with horizontal and vertical scroll bars so every control can be reached. The toolbar sits on its own full-width row at the top, with the tools at the right.
    3.2.0 - Optional archive tables for road centerlines, street names, address points, and driveways, and an option to record each saved insert, update, and delete into those tables.
    3.1.0 - Create a fresh NENA schema in a GeoPackage, File Geodatabase, or database connection (PostgreSQL, SQL Server, Oracle, SAP HANA, SpatiaLite), and import existing roads, street names, addresses, and driveways into it.
    3.0.0 - Addressing (Phases 2-3): address & driveway map tool (click road, then rooftop) with defined-distance numbering by default, interpolation or frontage optional, per-community overrides, order and collision handling; boundary attribution rules (MSAG/ZIP/ESN/...); selection overlay; partial-rename re-addressing dialog; address checks; shared driveways; undo last address; PostgreSQL integrity SQL; CSV reports; built-in NENA SSAP schema with optional state template.
    2.0.0 - Renamed to NENA Addressing Tools. Master street names (Phase 1): table in a GeoPackage or any database connection, build from centerlines with variant cleanup, cascade rename with retired aliases, configurable uniqueness (county-wide full name by default), assign/sync, StreetID drop-downs, live sync, name checks.
    1.2.0 - Auto-split existing centerlines where a newly digitized road creates an intersection (T or crossing) and re-range the sections so numbering continues; option on by default.
    1.1.0 - Split & Re-range map tool (one undo step); split re-ranging anchored to address points near the split; NENA field templates (GeoPackage/shapefile/GeoJSON/JSON/CSV or project layer); find & select overlapping ranges.
    1.0.0 - First release: field mapping, auto-ranging (hundred-block, interval, proportional, address points), split/merge re-ranging, validation, NGUID tools.
tags=nena,ng911,qgis4,street names,msag,address points,site structure address points,driveways,9-1-1,e911,addressing,road centerline,address ranges,geocoding,routing,validation
homepage=https://github.com/pwizzle77-cmd/qgis-nena-addressing-tools
repository=https://github.com/pwizzle77-cmd/qgis-nena-addressing-tools
tracker=https://github.com/pwizzle77-cmd/qgis-nena-addressing-tools/issues
category=Vector
icon=icons/icon.svg
experimental=False
deprecated=False
hasProcessingProvider=no

supportsQt6=True
