0
votes
0answers
124 views

How to set drawing style for QgsRasterLayer in QGIS 2?

I am using PyQGIS. In QGIS1, I can use: rlayer.setDrawingStyle ( QgsRasterLayer.PalettedColor ) but In QGIS2, I got some errors. I follow pyqgis developer cookbook, put some demo scripts in ...
6
votes
1answer
301 views

How to draw shapes with highest possible decimal accuracy

I am trying to read input of lat and long to draw the shape based on condition.The input is standard array of lat and long with 15 decimal accuracy. I am realizing - I am loosing some decimal accuracy ...