New answers tagged printing
For the moment, no. You can only define the number of segments for the left and right part, separately (see the properties of scalebar in the composer editor).
Done map_renderer = QgsMapRenderer() map_renderer.setLayerSet(printable_layers_ids) composition = QgsComposition(map_renderer) composition.loadFromTemplate(template_document) map_renderer.setOutputSize(QSize(composition.paperWidth(), composition.paperHeight()), composition.printResolution()) ...
I've just experienced this problem too, in ArcGIS Server 10.3. As @rdeschain suspected, it's to do with the token timeout, so one option is to increase that value. I tested this by reducing it to 2 minutes and restarting the service, and sure enough, it stopped working after 2 minutes. The other thing you can do is decrease the recycle interval for the ...
To do this I would use ArcPy with Data Driven Pages. There is some sample code in the help document entitled Creating a map book with facing pages which has all the necessary coding patterns but is a bit more complicated than what you want to do. To create your PDF you just need to use arcpy.mapping to loop through your data driven pages one at a time, and ...
Top 50 recent answers are included