[OpenLayers-Users] Newbie Question: Where to begin?

Gregor Mosheh gregor at hostgis.com
Tue Oct 30 10:31:20 EDT 2007


Matthew Pettis wrote:
> I would like to try and have OpenLayers connect to this with a 
> particular mapfile.

Hey, Matt.

Step 1 would be to get your mapfile configured for WMS service -- not 
just serving up the pictures, but serving them up via WMS. If you've not 
done this already, hit up Mapserver's site where there's some very good 
documentation on setting up your mapfile to be a WMS server.

Step 2 would be to grab a OpenLayers WMS example, and start replacing 
URLs and layer names.

That should get you started, or at least to a point where you'll have 
something to ask about when it doesn't work. :)

-- 
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA



More information about the Users mailing list