[MS4W-Users] How to display map in web page

frieder1313 zerox at zeroxweb.de
Sun Aug 22 04:48:38 EST 2010


displaying a map in a webpage is not quite that simple. i won't give you a
detailed explanation/tutorial how to do that, because there is a lot of
information on the internet already. 

basically you need your spatial source-files (e.g. shapefiles etc.). Than
you need to generate a map-file wich contains information about projection,
spatial files, bounding boxes, styles etc.

To display your map in a webpage you need a code, wich acesses the
mapserv.exe file with certain parameters, so that it can open your mapfile,
generate imagefiles from the spatial source files and return it.

It took me a lot of time to understand how mapserver works, but if you read
a little bit, you'll get to it.

Another way to display maps directly is by typing in the url of your
mapserv.exe file (usually it's http://your-up:your-port/cgi-bin/mapserv.exe)
and add certain parameters. The parameters tell the exe-file in wich format
the output should be, the extents etc.

But, as i said: read! There is masses of information out there ;)

Hope to have helped a little bit.

Greetz,
Freddy
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-display-map-in-web-page-tp5447073p5449338.html
Sent from the ms4w-users mailing list archive at Nabble.com.


More information about the MS4W-Users mailing list