ascii_qgis
ascii_qgis copied to clipboard
no map with single shp file in project
Though I'm able to start the gis, I do not see layers in legend or map.
As a test, I just uploaded a zipfile with a qgis project + a world.shp.
Plz test if this is working for you
@rduivenvoorde did you change the hard coded paths in the source?
And yes awesome that you can now attach sample files!
@timlinux you mean ni ascii_qgis.config ? Yes I did. And it asked me to load the file and silently loads ... nothing :-)
Yeah, let's try to move to github
yeah it's strange
just going to try now
Trying the code on a python terminal here, and while QgsProject.instance().layerTreeRoot().children() returns 3 layers in QGIS, when I do it on command line after opening it with parfait, I get an empty layer list:
from parfait import QGIS, projects projects <module 'parfait.projects' from 'parfait/projects.pyc'> projects.open_project('/home/richard/temp/nl.qgs') <parfait.projects.Project object at 0x7f8329db2050> project = projects.open_project('/home/richard/temp/nl.qgs') project <parfait.projects.Project object at 0x7f8329db2090> QgsProject.instance().layerTreeRoot() <qgis._core.QgsLayerTreeGroup object at 0x7f8329da2218> QgsProject.instance().layerTreeRoot().children() []