[mapserver-users] MapServer output

P Kishor punk.kish at gmail.com
Fri Nov 19 13:03:46 EST 2010


On Fri, Nov 19, 2010 at 11:57 AM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> 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?
>
> Puneet,
>
> This fall, in trunk, I have extended MapServer's WFS GetFeature request
> to support returning formats supported by OGR.  It requires some setup
> in the mapfile to enable it.  To the extent that helps you might want
> to review:
>
>  http://mapserver.org/trunk/output/ogr_output.html

Thanks! I didn't even think OGR. This is great news. Now, OGR is
mostly for reading data, and not usually, as I understand, for writing
data. I am assuming that when the above is implemented, MS will
support writing out to all the formats that OGR support writing out
to, no?

Is there a list of formats that OGR can write out to? The formats I
see at http://www.gdal.org/ogr/ogr_formats.html seem to be for reading
only, no?

>
> Note that this is only in trunk.
>

Is this scheduled for version 6 of MS?

> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>
>



-- 
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================


More information about the mapserver-users mailing list