PHPMapScript : pixels to geo problem using dynamic symbols
Geoff Rowland
geoffrey.rowland at NOAA.GOV
Mon Mar 7 10:32:26 PST 2005
Thanks, it works by using that equation (i changed the size to 600x700)
Eric Bridger wrote:
>On Mon, 2005-03-07 at 11:41, Geoff Rowland wrote:
>
>
>>ah, i guess that could be it. how to you match the image size to the
>>extent?
>>
>>
>
>Pick a width or a height such that:
>
>width / height = (maxx - minxx) / (maxy - minx)
>
>Another issue might be that your UNITS look like decimal degrees (DD)
>but you had METERS.
>
>
>
>> SIZE 800 600
>> STATUS ON
>>
>> EXTENT -17.533 -46.970 55.541 37.340
>> UNITS METERS
>> SHAPEPATH "data"
>>
>>
>>
--
Geoffrey Rowland
Technical Officer
Climate Information Project
NOAA Research
Office of Global Programs
http://www.cip.ogp.noaa.gov
Contractor,
RGII Technologies, Inc., a Computer Horizons Company
http://www.rg2.com
Phone: 301-427-2089x186
Fax : 301-427-2082
geoffrey.rowland at noaa.gov
More information about the MapServer-users
mailing list