[Zoo-discuss] ZOO Project with MapServer (WIndows 10)

MAYANK JASORIA f2016703 at pilani.bits-pilani.ac.in
Fri Jun 29 07:36:08 PDT 2018


I am using ZOO Project 1.5.0 installed using
ZOO-Project-Installer-x64-72.exe.
<https://dl.bintray.com/gfenoy/ZOO-Project/:ZOO-Project-Installer-x64-72.exe.>

For MapServer I followed the instructions to host MapServer on IIS
according to this link: MapServer on IIS
<https://www.google.co.in/url?sa=t&source=web&rct=j&url=http://mapserver.org/installation/iis.html&ved=2ahUKEwjR9ZOD8fjbAhWDV30KHRNYBzIQFjAAegQIABAB&usg=AOvVaw15lO5k1CjwU6iBUaqSTbzK>
(MapServer
version 7.0.7).

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 <http://mapserver.org/input/index.html>). 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.

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.

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.

Could you please guide me on the shapefile and image resizing issue?

Thank you very much for your help.

On Fri 29 Jun, 2018, 5:56 PM Gérald Fenoy, <gerald.fenoy at geolabs.fr> wrote:

> Dear Mayank,
> there are few things I am not sure to understand correctly in your email.
>
> 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.
>
> 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.
>
> 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?
>
> 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.
>
> I hope to hear back from you.
>
> Best regards,
>
>
>
> > Le 27 juin 2018 à 08:18, MAYANK JASORIA <f2016703 at pilani.bits-pilani.
> ac.in> a écrit :
> >
> > Dear all,
> >
> > 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).
> >
> > If I pass Geotiff8 however, I am getting the required results.
> >
> > 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.
> >
> > For the following formats, a .map file is generated, but the SIGSEGV
> error persists.:
> >       • image/jpeg
> >       • image/geotiff
> >       • kml
> >       • rss
> > Zoo Project was installed using the installer and MapServer 7.0.7 are
> installed.
> > If some more information is needed, I have posted a question here.
> >
> > I would be highly obliged if someone could help me.
> > ᐧ
> > _______________________________________________
> > Zoo-discuss mailing list
> > Zoo-discuss at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/zoo-discuss
>
>
>
> Gérald Fenoy
> http://wiki.osgeo.org/wiki/User:Djay
>
>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20180629/f03613dd/attachment.html>


More information about the Zoo-discuss mailing list