[mapserver-users] GeoJSON output from MapServer

Dejan.Gambin at pula.hr Dejan.Gambin at pula.hr
Thu Jul 2 06:32:15 EDT 2009


Thanks Fabio,

As I said in my last post, I can't get GeoJSON output using this 
outputformat:

OUTPUTFORMAT
  NAME 'geojson'
  DRIVER 'TEMPLATE'
  MIMETYPE 'application/json; subtype=geojson'
  FORMATOPTION 'FILE=myTemplate.js'
END

:-(

regards, dejan

Fabio D'Ovidio <fabiodovidio at gmail.com> wrote on 02.07.2009 09:28:06:

> Hi,
> 
> Dejan.Gambin at pula.hr ha scritto:
> >
> > Fabio,
> >
> > Glad to here you are here too :-)
> >
> > I can certainly use both GeoServer and MapServer but this is not 
> > something I would like at the end. Since I am still investigating all 
> > this, I am not in such a hurry to get it working with my data ASAP. 
> > So, I would rather go with one of your Mapserver solutions.
> It is not so difficult...just 2, 3 minutes to load your layer in 
> GeoServer ;-)
> 
> >
> > My first question, to be sure - so MapOl reads/gets the GeoJSON data 
> > from Geoserver WFS and outputs GeoJSON data to WebClient? If I 
> > understand Steve correctly, there is no way currently to get GeoJSON 
> > output from MapServer WFS, only with CGI? So we come to your solution 
2.
> 
> If you want to use the second solution you must create the HTTP string 
> to get GeoJSON from CGI-MapServer and than you must change MapOl request 

> to receive data and read them.
> If you want send me the URL and I'll send you the new MapOl as soon as 
> possbile!
> 
> 
> -- 
> Fabio D'Ovidio
> Geospatial solutions
> 
> Inova S.r.l.
> Web : http://www.inovaos.it
> GeoBI Blog: www.geobi.org
> Tel.: 081 197 57 600
> mail: fabiodovidio at gmail.com, f.dovidio at inovaos.it
> skype: dovidio_fa
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090702/efce60e0/attachment.html


More information about the mapserver-users mailing list