[mapserver-users] Simple mapserver HTML template file?

Fawcett, David (MPCA) david.fawcett at state.mn.us
Thu Jun 9 11:55:04 EDT 2011


If you aren't querying, you shouldn't need a template.  All that you should need is a map/layer that can be served as a WMS.  OpenLayers and the HTML page that you create to contain the OpenLayers map handle the layout.  

You could start with a really simple example like this and point it at your WMS.  http://dev.openlayers.org/releases/OpenLayers-2.10/examples/lite.html

David.

-----Original Message-----
From: Gerry Creager [mailto:gerry.creager at tamu.edu] 
Sent: Thursday, June 09, 2011 10:50 AM
To: Fawcett, David (MPCA)
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Simple mapserver HTML template file?

I'm looking at that now. I need to understand the TEMPLATE element in 
the LAYER section, though. I created the basic mapfile using Qgis, and 
it's got a dummy value there.

gc

Fawcett, David (MPCA) wrote:
> Gerry, 
> 
> I would really look at OpenLayers on the client side and MapServer WMS on the server side.
> 
> You could probably tweak one of the basic examples and have it up and running in about 15 minutes.
> 
> David.
> 
> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Gerry Creager
> Sent: Thursday, June 09, 2011 9:38 AM
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] Simple mapserver HTML template file?
> 
> I've been away from Mapserver for awhile and I'm having trouble wrapping 
> my head, quickly, around a template file for a simple application that 
> requires panning and zooming but no queries.
> 
> Can anyone help a guy out on short notice? I can likely flesh a an 
> example out but I'm really having trouble getting started.
> 
> 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.862.3983
Office: 1700 Research Parkway Ste 160, TAMU, College Station, TX 77843




More information about the mapserver-users mailing list