Skip to content

Navigation Menu

Sign in
Sign up

Add voltages filtering argument - #4

Open
flacombe wants to merge 1 commit into
open-energy-transition:main from
flacombe:features/voltages
Open

Add voltages filtering argument #4
flacombe wants to merge 1 commit into
open-energy-transition:main from
flacombe:features/voltages

Conversation

@flacombe

@flacombe flacombe commented Aug 12, 2026
edited
Loading

Copy link
Copy Markdown

I propose to add a voltage filtering for both single queries on Overpass and tile queries for osmnx.

It adds an argument --only-voltages which receive a coma-separated list of voltages. It matches all involved features so it can be combined with --include-cables.

The issue was some cables are part of distribution grids and produced unneeded glitches when included.
For instance, with --include-cables only:
image

And now much better with --include-cables --only-voltages 400000,225000,150000,90000,63000,45000,42000:
image

It paves the way for more macro args like --transmission or --distribution if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /