[mapserver-users] Image output is flattened - projection issu e?
Arthur, John
John.Arthur at voicestream.com
Mon Aug 20 13:32:01 PDT 2001
Actual, I'm using a PHP script modeled after the "gmap" example, not the cgi
version. The image sizes match because PHP pulls it from the .map file. This
is verified by viewing the source.
Maybe I'll try to do the CGI version.
John Arthur
RF Technician
Office: (757) 490-7221
Cellular: (757) 692-1515
Email: john.arthur at voicestream.com
-----Original Message-----
From: TCHaddad [mailto:TCHaddad at cshore.com]
Sent: Monday, August 20, 2001 4:06 PM
To: Arthur, John
Subject: Re: [mapserver-users] Image output is flattened - projection
issue?
sounds like the problem is not in mapserver's output, but rather how you are
displaying that output in your html template.
make sure that the size parameters in you map file match the img display
sizes in you HTML.
ie: if in your mapfile you have: SIZE 600 600 (as in the demo), in your HTML
you should have:
<INPUT TYPE="image" SRC="[img]" width=600 height=600>
(as in the demo).
I think you can specify whatever sized output you want from mapserver, and
your map will look fine as long as you ensure that the size values match in
these 2 places...
Good luck,
TCH
---------- Original Message ----------------------------------
From: "Arthur, John" <John.Arthur at voicestream.com>
Date: Mon, 20 Aug 2001 11:26:46 -0700
>Mapserver is awesome,... but my display is squashed. I have tried it both
>ways, using shape file and Mapinfo files.
>For instance, I have a layer that (should)displays a circle, but displays a
>oval. Every thing is squashed, not just the circles.
>I am using NAD83 decimal format ie:
>extent -83.675413 36.540739 -75.242266 39.466012
>
>What is going on? Could someone help, please.
>
>
>
>
>John Arthur
>RF Technician
>Office: (757) 490-7221
>Cellular: (757) 692-1515
>Email: john.arthur at voicestream.com
>
More information about the MapServer-users
mailing list