Questions tagged [indentation]
In computer programming, an indent style is a convention governing the indentation of blocks of code to convey the program's structure.
5
questions
1
vote
0
answers
46
views
Is it possible to save GeoJSON with indent by QGIS?
If I have GeoJSON layer in QGIS and once it is saved, all indent structure is missing.
This is not friendly to work with git.
Is it possible to save GeoJSON with indent by QGIS?
1
vote
1
answer
250
views
Expected an indented block error [closed]
Followings is my code. I use it in QGIS 3.8.2.
It shows "Expected an indented block" error.
Please help me to sort the error out.
from PyQt5.QtCore import QVariant
for layer in QgsMapLayerRegistry....
2
votes
1
answer
37
views
for list not working [closed]
I'm trying to drop the .shp from my list but when I do and print, I am only seeing the last one. When I print the list from ListFeatureClasses() I am seeing all of them. Any thoughts?
Here is the ...
0
votes
1
answer
401
views
indentation problem or function problem?
I am trying to create in Field Calculator (arcmap) a function to assing a numeric value in a column (heighs) based on a text value from another column(building).
'Pre Logic' input box
def a(heighs, ...
2
votes
1
answer
275
views
Automatic indentation for MAP files in VIM
Following Notepad++ syntax highlighting support for .mapfiles?, does anyone know a way to automatic indent MAP files? I use VIM but so far I haven't found a way to do this on MAP files. I have found ...