[Mapserver-users] shorter URLs??
Gerry Creager N5JXS
gerry.creager at tamu.edu
Sun Aug 24 18:40:20 PDT 2003
OK... So I'd create a CurrentWx.php with the "standard" layers and
extents, and the fully qualified URL within the php file?
It's been a rough week and weekend. I'm sorry if I'm really behind the
class curve!
Thanks!
gerry
Ed McNierney wrote:
> Gerry -
>
> If you can, often the easiest thing to do is put a "wrapper" in front of
> the MapServer CGI. So if, for example, the only thing that REALLY
> changes about a particular map is the latitude and longitude of the
> centerpoint (I'm probably oversimplifying), you could put create map.php
> and say:
>
> http://mesonet.tamu.edu/map.php?la=42.991&lo=-108.223
>
> or something like that. If you have a longer set of parameters, you
> could just pack them into a single querystring parameter with
> delimiters.
>
> - Ed
>
> Ed McNierney
> President and Chief Mapmaker
> TopoZone.com / Maps a la carte, Inc.
> 73 Princeton Street, Suite 305
> North Chelmsford, MA 01863
> Phone: (978) 251-4242 Fax: (978) 251-1396
> ed at topozone.com
>
>
> -----Original Message-----
> From: Gerry Creager N5JXS [mailto:gerry.creager at tamu.edu]
> Sent: Sunday, August 24, 2003 5:32 PM
> To: mapserver
> Subject: [Mapserver-users] shorter URLs??
>
> Is there a clean way (besides the tinyURL site) to define defaults
> within a mapserver "operation"? In other words, the URL for the Current
>
> weather at http://mesonet.tamu.edu is scaring folks. Is there a way to
> define some defaults so the URL is shorter and not so scarey? I recall
> seeing something about this, but my (admittedly less than exhaustive)
> search of the archives didn't show it up.
>
> Thanks
> Gerry
--
Gerry Creager -- gerry.creager at tamu.edu
Network Engineering -- AATLT, Texas A&M University
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX 77843
More information about the MapServer-users
mailing list