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

Consider path when building up ilicache, fixes opengisch/QgisModelBaker#861 #85

Merged
merged 3 commits into from
Feb 28, 2024

Conversation

webrian
Copy link
Contributor

@webrian webrian commented Feb 5, 2024

@signedav this fixes opengisch/QgisModelBaker#861 for me, but please verify. Probably the additional slash could be dropped.

@signedav
Copy link
Member

signedav commented Feb 7, 2024

I'll have a look.

@webrian
Copy link
Contributor Author

webrian commented Feb 7, 2024

Great, thanks! You can check with the model so_afu_schutzbauten_20231212. This is a model in our repository with toppings in our Usability Hub.

Copy link
Member

@signedav signedav left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

I added a suggestion to make it more dynamic for other cases.

Btw. We do not only use the netloc variable for the path but always for other purposes (like as a key in the stored repository dict). I went through the code and it seems that adding the path does not affect the other cases, but to be sure I will test again after the final change.

modelbaker/iliwrapper/ilicache.py Outdated Show resolved Hide resolved
@signedav
Copy link
Member

Cool. Thanks @webrian

@signedav signedav merged commit 9a71c47 into opengisch:main Feb 28, 2024
4 checks passed
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.

Models in Repository https://geo.so.ch/models not listed
2 participants