Extensions: Python

Jump to: navigation, search
Main Page Arrow.png Extensions Arrow.png Python

R statistics Web Client
Python installation
world.featureCount() # Gives number of polygons
world.type() # Displays the map type; in this case “Feature coverage”
world.coordinateSystem().name() # Gives the name of the coordinate system file
print(world.envelope()) # Displays coordinates of the map (min X, Y; max X, Y)
table.columnCount() # Gives number of columns
table.columns() # Displays names of the columns
len(world.attributeTable().columns()) # Displays number of columns
table.recordCount() # Gives number of the records
table.record(4) # Displays the records contents