<div dir="ltr">Just a follow up to the previous email,<div>Although the mapfile is generated successfully and both GetMap (WMS) and GetFeature (WFS) requests are working, t<span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">wo files, a .data file and a .zip file are also generated with each request and for every request, the zoo-error log says "Unable to access the DataSource as ZIP File".</span></div><div><span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:12.8px">Is this some configuration error which is perhaps also related to the previous email?</span></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZjIwMTY3MDNAcGlsYW5pLmJpdHMtcGlsYW5pLmFjLmlu&type=zerocontent&guid=a244b822-159c-4add-aef9-4a8f35a3e28a"><font color="#ffffff" size="1">ᐧ</font></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 2, 2018 at 11:37 AM, MAYANK JASORIA <span dir="ltr"><<a href="mailto:f2016703@pilani.bits-pilani.ac.in" target="_blank">f2016703@pilani.bits-pilani.ac.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have got MapServer working fine now. Thanks for the help.<div><br></div><div>I finally ended up passing GML3 to generate the mapfile from the WPS service with MapServer. The problem is that this mapfile does not seem to support WMS GetFeatureInfo. Are there some additional configuration steps required to add that? (The generated mapfile does not contain any TEMPLATE element.)</div><div><br></div><div>Please Help. Thanks in advance</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZjIwMTY3MDNAcGlsYW5pLmJpdHMtcGlsYW5pLmFjLmlu&type=zerocontent&guid=a7743113-d212-489d-8e72-b712cb1f7ac6"><font color="#ffffff" size="1">ᐧ</font></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 29, 2018 at 9:01 PM, Gérald Fenoy <span dir="ltr"><<a href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Mayank,<br>
I suppose you may have better result using this version of the installer [1].<br>
<br>
For being able to use « Shapefile as input », you should provide a zip file containing all the files associated with it.<br>
<br>
When you say the image is resized in the image you get when accessing the returned GetMap url, it is probably due to the fact that the GetMap returned use the WGS84 projection (EPSG:4326). Nevertheless, the published mapfile (first part of the URL) can be accessed through a WMS client to display it in another supported projection system, such as Spherical Mercator (EPSG:3857) used by traditional tile providers. <br>
<br>
I hope this helps.<br>
<br>
Regards,<br>
<br>
<br>
<br>
[1] <a href="https://bintray.com/gfenoy/ZOO-Project/Windows-Binaries/1.6.0-rc2#files" rel="noreferrer" target="_blank">https://bintray.com/gfenoy/ZOO<wbr>-Project/Windows-Binaries/1.6.<wbr>0-rc2#files</a><br>
<span><br>
Gérald Fenoy<br>
<a href="http://wiki.osgeo.org/wiki/User:Djay" rel="noreferrer" target="_blank">http://wiki.osgeo.org/wiki/Use<wbr>r:Djay</a><br>
<br>
</span><div><div class="m_1110071232620092842h5">> Le 29 juin 2018 à 16:36, MAYANK JASORIA <<a href="mailto:f2016703@pilani.bits-pilani.ac.in" target="_blank">f2016703@pilani.bits-pilani.a<wbr>c.in</a>> a écrit :<br>
> <br>
> I am using ZOO Project 1.5.0 installed using ZOO-Project-Installer-x64-72.e<wbr>xe.<br>
> <br>
> For MapServer I followed the instructions to host MapServer on IIS according to this link: MapServer on IIS (MapServer version 7.0.7).<br>
> <br>
> As for the data that I want to process, I was initially under the impression that it should be some result from WMS GetMap request as GDAL does list image/png, image/geotiff etc. as a valid input accepting rasters (MapServer input formats). However, it does make sense that I needed the data from a WFS GetFeature request, unlike my previous thoughts. I also tested the geotiff8 input for multiple cases and found that after a point it started to fail miserably, giving outputs which were very far off from the actual data. Sorry for this confusion, I'm pretty new to this.<br>
> <br>
> Now when I tried WFS GetFeatures, it seems to work fine for GML 3. However, if I try to pass a shapefile, I see the same errors which I reported for other formats. I tried this on a script that I wrote instead of HelloPy though as it is easier to try the returned GetMap URL (from MapServer) here. Also, I found that the KML error was because of an error on my part.<br>
> <br>
> There is another thing though. Now the images that I am getting are getting resized instead of maintaining the actual shape which it should, to align properly on a map. I am not sure of the reason though I guess it is because the image is getting resized according to the width and height parameters in the GetMap request returned from MapServer.<br>
> <br>
> Could you please guide me on the shapefile and image resizing issue?<br>
> <br>
> Thank you very much for your help.<br>
> <br>
> On Fri 29 Jun, 2018, 5:56 PM Gérald Fenoy, <<a href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>> wrote:<br>
> Dear Mayank,<br>
> there are few things I am not sure to understand correctly in your email.<br>
> <br>
> You say that you want to process data coming from a GetMap request, I guess that you want to process the data coming from a GetFeature request. Indeed, in case you want to process any WPS service on vector data you should then use a WFS GetFeature request. You may be willing to process raster data but, in such a case, we usually use a WCS GetCoverage request rather than a WMS GetMap one.<br>
> <br>
> Also, you make mention of using HelloPy to access your data, nevertheless, HelloPy service does not except any binary data but a string only. So, I suppose that there may be some issue when trying to convert your binary data to a string. Still, it should not occur.<br>
> <br>
> You also said that when you pass a geotiff you are getting the required results, I would like to be sure that the produced files contain what you expect as a result. Can you please confirm you are getting the proper output? <br>
> <br>
> I would like to be sure of what is the version of the ZOO-Project you are using on your windows platform. What is the installer you have used? I guess the best choice available currently is MS4W.<br>
> <br>
> I hope to hear back from you.<br>
> <br>
> Best regards,<br>
> <br>
> <br>
> <br>
> > Le 27 juin 2018 à 08:18, MAYANK JASORIA <<a href="mailto:f2016703@pilani.bits-pilani.ac.in" target="_blank">f2016703@pilani.bits-pilani.a<wbr>c.in</a>> a écrit :<br>
> > <br>
> > Dear all,<br>
> > <br>
> > I am working on a service which fetches some data via a getMap WMS request to GeoServer. This is then supposed to give me a GetMap request URL from the mapfile generated by MapServer, which once made would return the WMS layer as required. The problem is that for all formats of data returned by GeoServer except image/geotiff8, I am getting ZOO Kernel failed to process your request, receiving signal 11 = SIGSEGV error. The same is happening if I pass any such data to HelloPy (according to the test method on the ZOO website).<br>
> > <br>
> > If I pass Geotiff8 however, I am getting the required results.<br>
> > <br>
> > Two files, a .data file and a .zip file are generated with each request. Also, for every request, the zoo-error log says "Unable to access the DataSource as ZIP File", along with different messages (sometimes none) for different formats of data passed.<br>
> > <br>
> > For the following formats, a .map file is generated, but the SIGSEGV error persists.:<br>
> > • image/jpeg<br>
> > • image/geotiff<br>
> > • kml<br>
> > • rss<br>
> > Zoo Project was installed using the installer and MapServer 7.0.7 are installed.<br>
> > If some more information is needed, I have posted a question here. <br>
> > <br>
> > I would be highly obliged if someone could help me.<br>
> > ᐧ<br>
> > ______________________________<wbr>_________________<br>
> > Zoo-discuss mailing list<br>
> > <a href="mailto:Zoo-discuss@lists.osgeo.org" target="_blank">Zoo-discuss@lists.osgeo.org</a><br>
> > <a href="https://lists.osgeo.org/mailman/listinfo/zoo-discuss" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/zoo-discuss</a><br>
> <br>
> <br>
> <br>
> Gérald Fenoy<br>
> <a href="http://wiki.osgeo.org/wiki/User:Djay" rel="noreferrer" target="_blank">http://wiki.osgeo.org/wiki/Use<wbr>r:Djay</a><br>
> <br>
</div></div>> ᐧ<br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>