Hello,<br>sorry ...but i read also this mailing list :-)<br><br>Well,  our project wants to be indipendent from web application used to transfer GeoJson because GeoBI is compliant to the OGC standards such as WFS, WMS, SLD, etc...<br>
<br>Now, about this first implementation of GeoReport we used GeoServer because it gives the possibilitiy to use in append to the WFS HTTP request &quot;outputformat=geojson&quot; instead of GML.<br><br>Anyway MapOl makes a WFS request and reads the output by using mapfish-geojson-lib...so there are 3 ways to use MapServer to do the same:<br>
<ol><li>use a GeoJSON template for WFS output</li><li>use a GeoJSON template for mapserver CGI output<br></li><li>GeoReport must do the conversion from WFS-GML to GeoJSON</li></ol>At the moment we have choosen GeoServer but this is not exclusive respect other WFS service implementations! <br>
Anyway I think you can use at the moment both MapServer and GeoServer: you must serve with GeoServer only the LAYER on which you want to do BI analysis (so...one, two layers...not all cartographic levels)...while you can display your layers by using MapFish Client and OpenLayers as WMS, WFS or MapServer Layers!<br>
<br>PS:  what kind of geometries you want to analyze (by using GeoJSON)? POINTS, POLYGONS....MULTIGEOMETRIES?<br><br>Thank you very much!<br><br>Fabio D&#39;Ovidio<br><br><div class="gmail_quote">2009/7/1  <span dir="ltr">&lt;<a href="mailto:Dejan.Gambin@pula.hr">Dejan.Gambin@pula.hr</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><font size="2" face="sans-serif">Steve,</font>
<br>
<br><font size="2" face="sans-serif">Here are more details, I am sure you&#39;ll
have some further suggestions:</font>
<br>
<br><font size="2" face="sans-serif">There is a project called GeoReport,
part of GeoBI suite, that integrates the data coming from Business Intelligence
processes (Pentaho BI) with their cartographic representation. Since I
am pretty much involved in both areas (WebGIS, BI), this seems very interesting
to me, although I first saw it yesterday :-(</font>
<br>
<br><font size="2" face="sans-serif">Here are the main informations about
GeoReport: <a href="http://www.geobi.org/2009/01/georeport-module.html" target="_blank">http://www.geobi.org/2009/01/georeport-module.html</a></font>
<br>
<br><font size="2" face="sans-serif">As I can see, basically, there is a
MapOL module that runs BI process in order to get resultset, join it with
geometries coming from GeoServer (WFS) and returns GeoJSON data to WebGIS
client (MapFish and OpenLayers + Geostat widgets) which displays it on
the map.</font>
<br>
<br><font size="2" face="sans-serif">I have been in contact with Fabio (he
is &quot;responsible&quot; for all this). Based on what he said, I understood
(maybe wrongly) that WFS server needs to return GeoJSON, and GeoServer
can do it. Now, as I write this to you, it seems like MapOL is responsible
for creating GeoJSON data ?!</font>
<br>
<br><font size="2" face="sans-serif">Anyway, I am new to this almost as you
and if you can take a look on above link, I would appreciate it very much.
I &quot;only&quot; want to use MapServer instead of GeoServer. If I can&#39;t
do it, then I&#39;ll rather do nothing as I have no intentions to use anything
but MapServer :-)</font>
<br><div class="im">
<br><font size="2" face="sans-serif">thanks very much</font>
<br>
<br><font size="2" face="sans-serif">regards, dejan</font>
<br>
<br></div><tt><font size="2">&quot;Steve Lime&quot; &lt;<a href="mailto:Steve.Lime@dnr.state.mn.us" target="_blank">Steve.Lime@dnr.state.mn.us</a>&gt;
wrote on 01.07.2009 16:36:48:<div class="im"><br>
<br>
&gt; Depends on how you need to access it. You certainly can create a <br>
&gt; template that will output GeoJSON. However,<br>
&gt; at the moment you can only access that output though calls to the
<br>
&gt; CGI and (probably) MapScript. WMS and WFS<br>
&gt; do not recognize the template output format although there are plans<br>
&gt; to do so in the upcoming release.<br>
&gt; <br>
&gt; Let me know if I can help further...<br>
&gt; <br>
&gt; Steve<br>
&gt; <br>
&gt; &gt;&gt;&gt; On 7/1/2009 at 7:44 AM, in message<br>
&gt; &lt;<a href="mailto:OF425313EF.2215E677-ONC12575E6.004595DF-C12575E6.00460800@pula.hr" target="_blank">OF425313EF.2215E677-ONC12575E6.004595DF-C12575E6.00460800@pula.hr</a>&gt;,<br>
&gt; &lt;<a href="mailto:Dejan.Gambin@pula.hr" target="_blank">Dejan.Gambin@pula.hr</a>&gt; wrote:<br>
&gt; &gt; Hi,<br>
&gt; &gt; <br>
&gt; &gt; Is it possible to use GeoJSON template for getting GeoJSON output
from <br>
&gt; &gt; MapServer? I have tried using outputformat as described in:<br>
&gt; &gt; <br>
&gt; &gt; <a href="http://mapserver.org/development/rfc/ms-rfc-36.html" target="_blank">http://mapserver.org/development/rfc/ms-rfc-36.html</a> and<br>
&gt; &gt; <a href="http://mapserver.org/development/rfc/ms-rfc-56.html" target="_blank">http://mapserver.org/development/rfc/ms-rfc-56.html</a> <br>
&gt; &gt; <br>
&gt; &gt; Is it supported at all? I have a project where I need a GeoJSON
output. <br>
&gt; &gt; This project originally uses GeoServer whcih has a plugin for
this. Is <br>
&gt; &gt; this possible with MapServer? I am using MapServer 5.4.1<br>
&gt; &gt; <br>
&gt; &gt; thanks very much<br>
&gt; &gt; <br>
&gt; &gt; regards, dejan<br>
&gt; <br>
</div></font></tt><br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br>