Please don't apologize for those mistakes. Those mistakes make this more informative than anything else because we learn what common errors we can make and avoid them preemptively. Your work is phenomenal.
@geospatialschool10 ай бұрын
Thank you!
@babuvanam94484 жыл бұрын
Thank you very much, your tutorials helped me a lot,how can I create frame in print layout using python
@tofusandwich50164 жыл бұрын
That's really useful, thank you. Do you know how to apply a theme by name to the layout?
@teo113004 жыл бұрын
Now I'd like to see this scripted outside of a QGIS session, in a standalone python script. Using a popular IDE like PyCharm.
@jonathanlalrinawma79192 жыл бұрын
I get a error when i put a code layer = layers[0] like this File "", line 4, in IndexError: list index out of range can you please help me
@brennafrank3132 Жыл бұрын
same
@diwaker86164 жыл бұрын
Hello Friend, Could you pleae help how i can add the google map [live -street view] in QGIS? Idea is to analyze the situation while jumping on to an old location with the current live situation. I looked into your videos but couldn't find it any of the videos. May be a plug in would be helpful, if any.
@babuvanam94484 жыл бұрын
I was able to label my shape file using python but I have to label using expression Label expression is like below wordwrap("name",-3) || ' ' || "value" name and value are attributes how to do this using python?? Thanks in advance 😊
@pavel_pereverzev5 жыл бұрын
Great tutorial! I need to create a table item in layout that contains coordinates. Is it possible to do in pyqgis?
@geospatialschool5 жыл бұрын
Thanks! I haven't looked into tables yet, and haven't seen any tutorials on it. I think it would be possible to do, but might take a little work to figure out. I'll have a video next week that shows how to add legends and scalebars. You may be able to follow the same general idea to add a table.
@pavel_pereverzev5 жыл бұрын
@@geospatialschool okay, will be waiting for it! I thought about making a simple text label that contains text with tabulations and ' ' sequences to write every pair of coordinates in a new line, but that would be too ugly to watch it without borders.
@geospatialschool5 жыл бұрын
Here's a link to the python documentation for the table item: qgis.org/pyqgis/3.0/core/Layout/QgsLayoutItemTextTable.html I haven't worked with it yet, but it seems like it will get you what you want. This is something I could try to do in a future video.
@pavel_pereverzev5 жыл бұрын
@@geospatialschool yeah, I saw that and moreover tried to use more simple thing that load attribute table to layout. But pyqgis throws an error that tells that table layout class doesn't support by layout's method of adding features. Also create a new question here, still waiting for someone who knows;) gis.stackexchange.com/questions/314721/how-to-add-attribute-table-into-layout-pyqgis-3-x
@geospatialschool5 жыл бұрын
I tried your code and got the same error. I tried some other things, and couldn't get it to work either. It could be a bug on the QGIS end, because I think it should work. I also can't construct a QgsLayoutItemAttributeTable the same way as other layout items. For the other items I can call it like this: QgsLayoutItemAttributeTable(layout), but that throws an error about a C++ abstract class. I have to call it using the create() method like you have done.
@vagvaf4 жыл бұрын
Hey that's really great and helpful! How about displaying two layers in two maps within the same layout? I tried fiddling with the code (create a layer2 and map2 and then ms2.setLayers([layer2])) but it will display the first layer. any ideas?
@geospatialschool4 жыл бұрын
Did you add the second map item to the layout? Like this: layout.addLayoutItem(map2)
@vagvaf4 жыл бұрын
Hey, thanks for your quick response! Yes, I did. I understand that this is not stack exchange but in cause you wanna have a look at the code: pastebin.com/aVQXYrzZ thanks again
@willerfagundesdeoliveira32615 жыл бұрын
Nice!!!
@geospatialschool5 жыл бұрын
Thanks! I'll have a video next week that shows how to add a legend and scalebar