[Mapserver-users] shorter URLs??
Ed McNierney
ed at topozone.com
Sun Aug 24 14:56:59 PDT 2003
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
Texas Mesonet -- 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
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list