[mapserver-users] problem getting geojson data using mapscript

Ahmet Temiz ahmettemiz88 at gmail.com
Thu Sep 24 10:08:34 PDT 2015


hello

I want to get geojson data using mapscript(java) /WFS.

I did:

OWSRequest req = new OWSRequest();

                    req.setParameter( "SERVICE", "WFS" );
                    req.setParameter( "VERSION", "2.0.0" );
                    req.setParameter( "REQUEST", "GetFeature" );
                    req.setParameter( "OUTPUTFORMAT","geojson" );

                    mapscript.msIO_installStdoutToBuffer();

                    int owsResult = mapWFS.OWSDispatch( req );

now What did I have to do to get geojson object ?

I will appreciate for any help

regards

-- 
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Bilgi İşlem  Dairesi Başkanlığı-CBS Grubu


________________________

Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150924/df6d62d6/attachment.html>


More information about the mapserver-users mailing list