[Mapserver-users] Upload shapefile to create WMS service
Doug Cates
doug at moximedia.com
Sun May 25 15:51:05 PDT 2003
Hi,
I've developed a cool little tool for the internet mapping framework (IMF).
It allows a user to upload a shapefile and have it added to the map as a
layer. You can try it out using the tool button that looks like a computer
with an arrow above it on the "National Atlas of Canada - English" example
site listed at:
http://www.moximedia.com/imf_sites.html
To try it, your shapefile set must be less than 4,000,000 bytes and be in
one of the following projections. The shapefile display is automatically
projected to the same projection as the map display, and in order for this
to work you must be sure to select the proper source projection.
- Geographic NAD27, NAD83, or WGS84
- UTM zones 7N - 20N, NAD27, NAD83, or WGS84
- Canada Lambert Conformal Conic, NAD83 or WGS84
- BC Albers
Behind the scenes, this uses MapServer. When the shapefile is uploaded, a
MapServer .map file is created that contains just the one new layer, and the
layer is added to the user's map session. Because IMF is multi-service, the
MapServer layer is displayed with the layers from other services.
Comments, questions welcome.
Doug
--
Doug Cates
Moxi Media Inc.
757 - 1641 Lonsdale Avenue,
North Vancouver, BC, Canada V7M 2J5
Phone: 604-984-8109
Fax: 604-608-4764
E-Mail: doug at moximedia.com
Web: www.moximedia.com
More information about the MapServer-users
mailing list