[mapserver-dev] Precision about geotransform

Mohamed Saâd HESSANE saad.hessane at gmail.com
Wed Apr 27 04:00:33 EDT 2011


The data I use are juste raster (SRP driver). I test all the raster
fonctionality before test the vectorial data.

2011/4/26 Lime, Steve D (DNR) <steve.lime at state.mn.us>

> Is the data you’re using raster only? Wonder if vector drawing exhibits the
> same issue.
>
>
>
> Steve
>
>
>
> *From:* Mohamed Saâd HESSANE [mailto:saad.hessane at gmail.com]
> *Sent:* Tuesday, April 26, 2011 4:07 AM
> *To:* Frank Warmerdam; Lime, Steve D (DNR)
> *Cc:* thomas bonfort; mapserver-dev at lists.osgeo.org
>
> *Subject:* Re: [mapserver-dev] Precision about geotransform
>
>
>
> Hy List,
>
> There's no other explication?
>
> Thank's
>
>
>
> 2011/4/22 Mohamed Saâd HESSANE <saad.hessane at gmail.com>
>
> Hy list,
>
> @Lime : I use python mapscript :
>
>
>
> #!/usr/bin/python
>
> # -*- coding: iso-8859-1 -*-
>
>
>
> import mapscript
>
> import time, csv
>
>
>
> if __name__ == '__main__' :
>
>     mapFile = 'mapfile/mapFile.map'
>
>     maps = mapscript.mapObj(mapFile)
>
>
>
>     csvFile = csv.writer(open('rotation.csv', 'a'), delimiter='\t')
>
>
>
>     for i in range(360) :
>
>         maps.setRotation(i)
>
>         avg = 0
>
>         for j in range(5) : # 5 test and get the average
>
>             start = time.clock()
>
>             maps.draw()
>
>             end = time.clock()
>
>
>
>             avg += end-start
>
>
>
>         avg /= 5
>
>         print i, avg
>
>         csvFile.writerow([str(i), '%.2f' % avg])
>
>
>
> The script write a csv file that you can import in OOo Calc or MS Excel.
> And then make a radar graphic.
>
> I use a 5 GB datasource of SRP rasters, tileindexed, and having overview.
> The size is 600x600, and the zoom level is 1.
>
>
>
> @Frank : I m doing a lot of tests about rotation, zooming, resizing... to
> benchemark mapserver, and set a limit to my futur application. That is why
> it's important to me to know why it's take less/more time in specific
> angles.
>
>
>
>
>
> 2011/4/21 Frank Warmerdam <warmerdam at pobox.com>
>
> On 11-04-21 10:32 AM, Mohamed Saâd HESSANE wrote:
>
> Hy list,
> I have a question. I'm doing a benchmarking test of a rotated map, and i
> get
> the result in the attached file.
> My question is why it take more time to draw a map rotated at 45° than a
> map
> rotated at 90° or 183° ???
> Thank you !
>
>
>
> Mohamed,
>
> It is not obvious to me why you are seeing the odd
> performance-base-on-angle
> results you are encountering.  I implemented the rotation support, and the
> raster resampler used for warping rasters.
>
> Best regards,
> --
>
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20110427/357f46bb/attachment.html


More information about the mapserver-dev mailing list