[Benchmarking] First pair of load scripts and some considerations

Andrea Aime aaime at opengeo.org
Thu Sep 3 04:26:26 EDT 2009


Shanmugam Ganeshkumar ha scritto:
> Andrea,
> 
> I dont have any experince with python, well when I execute the script in 
> windows OS, this is what I get. installed, python 3.1.1.
> 
> C:\Python31>wms_request.py -count 2000 -region -180 -90 180 90 -minres 
> 0.0042 -maxres 0.5 > bluemarble.csv
>   File "C:\Python31\wms_request.py", line 37
>     print 'Usage: wms_request.py [-count n] [-region minx miny maxx maxy]'

Worked fine for me on Linux. You may want to try two things:
- installing Python 2.6, that's what's available commonly on Linux 
distributions and what the script was written against (I think)
- maybe windows needs double quotes around the parameter names

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.


More information about the Benchmarking mailing list