Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes to WFS (external service) file upload endpoint, require street network layer project ID in catchment area request #42

Merged
merged 3 commits into from
Sep 3, 2024

Conversation

nihar1024
Copy link
Contributor

No description provided.

Comment on lines 282 to 291
street_network_edge_layer_project_id: int = Field(
...,
title="Street Network Edge Layer Project ID",
description="The layer project ID of the street network edge layer.",
)
street_network_node_layer_project_id: int = Field(
settings.STREET_NETWORK_NODE_DEFAULT_LAYER_PROJECT_ID,
title="Street Network Node Layer Project ID",
description="The layer project ID of the street network node layer.",
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can make the street_network_edge_layer_project_id and street_network_node_layer_project_id optional here and hardcode it in the api for now. As the network id can be a bit confusing for api usage without the ui.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, will make this change. But it'll need a dynamic street_network_edge_layer_project_id whenever a network scenario is applied.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this I can pass in the client.

@majkshkurti majkshkurti merged commit 9ea3ee0 into goat-community:main Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants