Skip to main content

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.

Filter by
Sorted by
Tagged with
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?
kochizufan's user avatar
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....
Rajesh Patnaik's user avatar
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 ...
Todd Chapman's user avatar
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, ...
arturmlribeiro's user avatar
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 ...
Gery's user avatar
  • 2,135