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

How to using *.qml file #14

Open
XuHg-zjcn opened this issue Feb 20, 2024 · 2 comments
Open

How to using *.qml file #14

XuHg-zjcn opened this issue Feb 20, 2024 · 2 comments

Comments

@XuHg-zjcn
Copy link

QGIS version: 3.34.3-Prizren
OS: Trisquel 11.0 Aramo

I was read this guide, but it too rough, I can't follow the steps successfully.

after running ogr2ogr -f "SQLite" -dsco SPATIALITE=YES output.db input.osm, move "output.db" into QGIS window, and click button "Add Layers", layers "points, multilinestrings, lines, multipolygons" are single color.

Clicked Toolbar Select by Expression 'waterway'='riverbank', and click button "Select Features", show message "No matching features found" in view.

Clicked Menubar Setting->Style Manager->Import / Export->Import Item(s)->click three dots browse file, it only accept XML file, not QML file.

@anitagraser
Copy link
Owner

anitagraser commented Feb 20, 2024

It has to be

"waterway"='riverbank'

As shown in the screenshot

@XuHg-zjcn
Copy link
Author

XuHg-zjcn commented Feb 20, 2024

I chosen data area different from guide, "waterway"='riverbank' not found, change to "waterway"='canal' found some lines, but I still don't know how to use qml files.
I see these files in the qgis2 folder, but I am not using QGIS2. Can these style using in QGIS3?

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

No branches or pull requests

2 participants