Hi,

 I am trying to integrate QGIS Server with the GeoExt printing modules. 
 I
 want to implement it in a compatible way with the mapfish/geoserver 
 printing, if possible.

 I am struggling a bit with the units for the map width/height 
 dimensions. I am refering to
 the print module documentation at
 http://trac.mapfish.org/trac/mapfish/wiki/PrintModuleDoc [1]

 and the following sample structure:

 var printConfig = {
  "scales":[
  {"name":"25000"},
  {"name":"50000"},
  {"name":"100000"}
  ],
  "dpis":[
  {"name":"190"},
  {"name":"254"}
  ],
  "layouts":[
  {
  "name":"A4 portrait",
  "map":{
  "width":440,
  "height":483
  }
  }
  ],
  "printURL":"http://localhost:5000/print/print.pdf";,
  "createURL":"http://localhost:5000/print/create.json";
  }

 What units are used in the map width and height? Obviously they are not 
 mm,
 but what are they? In QGIS layouts everything is defined in mm and I 
 need
 to translate the values.

 Thanks for a hint,
 Andreas

 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland
 

 Links:
 ------
 [1] http://trac.mapfish.org/trac/mapfish/wiki/PrintModuleDoc
_______________________________________________
Dev mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/dev

Reply via email to