Skip to content

Reword the KML NetworkLink import warning #54

@njakobsen

Description

@njakobsen

The partial-import warning for KML/KMZ files containing <NetworkLink> elements currently reads:

BC_Hydro_Facilities_IVMP.kmz: Skipped 2 network-linked layers that reference remote data and cannot be imported: Substations and Mobile Radio Repeaters.

Reword for clarity (per user feedback), e.g.:

Warning: BC_Hydro_Facilities_IVMP.kmz contained 2 network-linked layers which cannot be imported because they reference remote data: "Substations" and "Mobile Radio Repeaters".

Changes: weave the source filename into the sentence (instead of the "<file>: " prefix), quote the individual layer names, and lead with "Warning:".

Source: discard_network_links in lib/spatial_features/importers/kml.rb (the message) and the source_identifier prefixing in lib/spatial_features/has_spatial_features/feature_import.rb (the filename). Introduced in #53.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions