[Qgis-user] Issues with Print Composer and QGIS Server

Jan David Bendrien jandavid.bendrien at iwes.fraunhofer.de
Tue May 14 08:20:54 PDT 2013


Hi,

(I'm reposting this since my reply by mail did not show up)

>> 1. The QGIS Server apparently does not load images in print templates 
>> relative to the location of the .qgs-file, but relative to the location
>> of 
>> the cgi-bin-executable. So we have to put our images in a subfolder of 
>> cgi-bin. 

> Can you define an absolute path for the images 
 
No, not easily. We are creating the .qgs-file on a windows system and copy
it over to the unix server.

> 2. Is there a fix for this: When we define a grid in QGIS Desktop, nothing 
> is shown in the pdf (or, if labelling is active, sometimes, only one
> lonely 
> zero below the map). There is no grid. 

> It would be good to know, which version of QGIS Server you are using. 
Sorry. We are using QGIS Server 1.8. I've had a look in the .qgs file. Here
is the section about the grid:
 
<Grid gridStyle="0" crossLength="3" penColorRed="0" penColorBlue="0"
intervalX="1" offsetX="0" intervalY="1" offsetY="0" show="1" penWidth="0.4"
penColorGreen="0">
                <Annotation direction="0" precision="0" position="1"
frameDistance="1" show="1" font="Arial,8,-1,5,50,0,0,0,0,0"/>
</Grid>



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Issues-with-Print-Composer-and-QGIS-Server-tp5053093p5053181.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.



More information about the Qgis-user mailing list