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

Add not-null option for osm export #2021

Closed
wants to merge 5 commits into from
Closed

Add not-null option for osm export #2021

wants to merge 5 commits into from

Conversation

kiselev-dv
Copy link
Contributor

For examle you want to get layer with buildings from osm.

  1. You use OSM Export, check building attribute, addr, and some more attributes
  2. After export is done, all polygons appears in layer

I've added Not null check-box column which allows to filter features during export, which have checked attributes

void exportSpatiaLiteNodes( const QString& tableName, const QStringList& tagKeys );
void exportSpatiaLiteWays( bool closed, const QString& tableName, const QStringList& tagKeys );
void exportSpatiaLiteNodes( const QString& tableName, const QStringList& tagKeys, const QStringList& notNullTagKeys );
void exportSpatiaLiteWays( bool closed, const QString& tableName, const QStringList& tagKeys, const QStringList& notNullTagKeys );
Copy link
Member

Choose a reason for hiding this comment

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

Please make these new arguments optional (i.e. with default values being QStringList())

@wonder-sk
Copy link
Member

Also please make sure to run ./scripts/prepare-commit.sh to get the spacing and indentation of correct.

@kiselev-dv
Copy link
Contributor Author

I've created a new one #2026

@kiselev-dv kiselev-dv closed this May 4, 2015
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.

None yet

2 participants