[mapserver-users] MapServer output

Stephen Woodbridge woodbri at swoodbridge.com
Fri Nov 19 12:55:39 EST 2010


On 11/19/2010 12:38 PM, P Kishor wrote:
> I have been using MapServer for sometime now, but doing really simple
> things with it... read in mostly Pg, Shapefile and raster data, and
> output mostly images via regular CGI or WMS.
>
> One thing that GeoServer seems to do very well is provide easy output
> to a variety of formats -- GeoJSON, images, features, KML, a whole lot
> more.
>
> What are MapServer's capabilities in this regard? Ideally, my
> application would return the requested format based on the URI. So,
> given http://server/mapserv/wms/ would return WMS. If I replace "wms"
> with "kml" I would get back KML, or replace it with "geojson" and get
> back GeoJSON, etc.
>
> Is there a tutorial or documentation on this that someone can point me to?
>

FYI, there are a lot of changes coming in the rendering code as part of 
6.0. I don't have the RFC's handy, but you might want to start looking 
at that.

Also, mapserver support OGC WFS and I think there may be options to 
configure the output as XML or JSON, but I'm not sure. Anyway this would 
be another place to look. Also I would google for:

mapserver <format> ouput

or something like that and see what turns up.

Other might have more direct  help.

-Steve W


More information about the mapserver-users mailing list