[Mapserver-users] scaling rasters like ttf's (gif, jpg etc)

lists at atsence.nl lists at atsence.nl
Thu Jan 8 02:53:11 PST 2004


This is a multi-part message in MIME format.

------=_NextPart_000_0035_01C3D5DD.FE383110
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Hi all,

=20

I wonder if there is a way to scale gif's in a mapserver app. Like the a =
ttf
location marker with php mapscript.

=20

We generatie a gif that represents a graph from a point location (local
measurements.) We position the gif on the map by using (generating) an
accompanying .wld file.

However by using it this way it will not scale with the zoom factor.

Is there anohtee way to place the gif (png/jpeg that is not the problem) =
on
a map so that it will scale like the ttf markers?

=20

Best regards,

Bart=20

=20


------=_NextPart_000_0035_01C3D5DD.FE383110
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Times New Roman";}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
	{margin-top:0cm;
	margin-right:0cm;
	margin-bottom:6.0pt;
	margin-left:0cm;
	font-size:11.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p
	{margin-right:0cm;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman";}
p.Opmaakprofiel1, li.Opmaakprofiel1, div.Opmaakprofiel1
	{margin:0cm;
	margin-bottom:.0001pt;
	line-height:12.0pt;
	font-size:11.0pt;
	font-family:"Times New Roman";}
p.opmaakprofiel10, li.opmaakprofiel10, div.opmaakprofiel10
	{margin:0cm;
	margin-bottom:.0001pt;
	line-height:12.0pt;
	font-size:11.0pt;
	font-family:"Times New Roman";}
span.emailstijl19
	{font-family:Arial;
	color:windowtext;}
span.EmailStijl22
	{font-family:Arial;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-GB link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DNL =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi all,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DNL =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DNL =
style=3D'font-size:10.0pt;
font-family:Arial'>I wonder if there is a way to scale gif’s in a =
mapserver
app. Like the a ttf location marker with php =
mapscript.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DNL =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DNL =
style=3D'font-size:10.0pt;
font-family:Arial'>We generatie a gif that represents a graph from a =
point location
(local measurements.) We position the gif on the map by using =
(generating) an accompanying
.wld file.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DNL =
style=3D'font-size:10.0pt;
font-family:Arial'>However by using it this way it will not scale with =
the zoom
factor.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DNL =
style=3D'font-size:10.0pt;
font-family:Arial'>Is there anohtee way to place the gif (png/jpeg that =
is not
the problem) on a map so that it will scale like the ttf =
markers?</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DNL =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Best
regards,</span></font></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Bart
</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span =
lang=3DNL
style=3D'font-size:11.0pt'> </span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0035_01C3D5DD.FE383110--





More information about the MapServer-users mailing list