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

Import-Styles.md - clarify country_code key #3523

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

mtmail
Copy link
Collaborator

@mtmail mtmail commented Aug 23, 2024

I'm also not sure about the example

    local flex = require('import-full')

    function osm2pgsql.process_relation(object)
        if object.tags.boundary ~= 'administrative' or object.tags.admin_level ~= '2' then
          flex.process_relation(object)
        end
    end

When I added a debug statement to the function it was never called even though the input had relations. Should it be flex.process_relation?

@lonvia lonvia merged commit 72be143 into osm-search:master Aug 26, 2024
11 checks passed
@lonvia
Copy link
Member

lonvia commented Aug 26, 2024

Now, how do I convert this into an issue?

@lonvia
Copy link
Member

lonvia commented Aug 27, 2024

Retested the example replacing process_relation and it works as expected for me.

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