[Mapserver-users] BEGINNER question : show image with X (coordinates)

Pedro Salazar pedro-b-salazar at ptinovacao.pt
Mon Feb 24 10:15:53 PST 2003


--=-DExw9ciHdOIezyORkWu/
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

First beginner question,=20

In the demo.map sample, there are several references to many GIF files
which throws a few errors.

"(...)This can occur if you have a new version (>1.6(?)) of the GD
library installed which doesn't support GIF images(...)"

I have redhat 8.0 which comes with early release of GD (1.8.4-9). So,
what is the alternative workaround but that permits me to test and view
the demo? If I comment the reference on demo.map, I won't see anything
at all!! (black!!)

#REFERENCE
  #IMAGE graphics/reference.gif
  ...

To workaround this issue, if I convert the GIF to JPEG, will I have the
same functionality of the demo? What are your tip here?

thanks,
Pedro Salazar

The=20

On Mon, 2003-02-24 at 17:02, Vinko Vrsalovic wrote:
> On Mon, Feb 24, 2003 at 12:18:53PM +0000, Pedro Salazar wrote:
> =20
> > task:
> > -I want to define a URL where giving a ID or X,Y coordinates, I can
> > retrieve an image of a map and X (mark) point in that place. It's=20
> > feasible on mapserver?
> =20
> Yes.
> =20
> > If yes, can anyone give me directions or hints to complete that task?
>=20
> You should use MapScript for that one. Choose your favorite language (i
> recommend PHP or Perl) and read the docs available at mapserver's site, a=
nd
> download the GMap demo, then, with some more experience, you can ask more
> precise questions :-)
>=20
> --=20
> Vinko Vrsalovic <el[|- at -|]vinko.cl>
> http://www.cprsig.cl
--=20
<id name=3D"pedro salazar">=20
<email>pedro-b-salazar at ptinovacao.pt</email>
<pgp-key-id>0E129E31D803BC61</pgp-key-id>
</id>

--=-DExw9ciHdOIezyORkWu/
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----

iD8DBQA+WmFZDhKeMdgDvGERAt4YAKCSLDzoDgjhfh7fSxHzLFrP1URr9gCbB3Zn
CXFSR3J0pg6Zp1i4xWQw/ks=
=tXgH
-----END PGP SIGNATURE-----

--=-DExw9ciHdOIezyORkWu/--




More information about the MapServer-users mailing list