On 11/05/2011 22:17, Chris Jackson wrote:
> Hi all
>
> Does anyone know if the csv export requires OWC/office on the server?  Just
> it works fine on one box, and not another (no download button appears) -
> both sites are W2K3 on IIS and use same php library and pmapper files one
> difference that springs to mind was the office element?

I would bet that you have an error in the PHP error log... it can have 
different reasons, missing write permissions, old PHP version w/o zip 
function, zip extension not loadable, etc., who knows... the only thing 
that is sure is that it requires no office whatsoever software

>
> Also whilst on subject the results tables I can't for the life of me
> remember where the number/value formatting options are - 5.76560000000e+004
> isn't very pleasant on the eye!

nothin really foreseen so far, no config option. A real solution would 
need to specify this for every layer and every single field, but that 
would be quite much to configure.

A very coarse solution is to remove the comments in the function 
query/query.php->printFieldValues() at the beginning and define global 
rounding params for floats according to your needs, this will change the 
formatting of *all* float values in the result display, but maybe you 
can live with that.

The export just writes out what it gets from the query result, but you 
could also modify the CSV class for the export plugin to change the 
formatting there (csv export is not very sophisticated anyway, and was 
probably once added as a quick and dirty solution without much of use...)

armin

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to