[mapserver-users] GetCoverage pops up to download mapserv.exe
Mark Phillips
mbp at geomtech.com
Sat Jun 11 15:57:12 PDT 2011
Virginia,
I don't feel like I understand WCS very well myself --- I'm currently
struggling with getting my own WCS service working the way I need, and am
not having a lot of success. But for what it's worth, it looks to me like
your issue has to do with projections. One of your BBOXes seems to be
specified in lon/lat (the numbers
(-66.5079075029609,-84.6440997947261,-30.3257514953085,-83.1977984037033
look like lon/lat values), and the other one looks like values in a
different projection. I suspect that the problem has something to do with
the projections specified in your mapfile, and/or the projection being
requested in the request. I'm afraid I can't offer much more specific
advise than that right now, though, because I don't understand the details
myself!
--Mark
On Sat, Jun 11, 2011 at 6:41 PM, Virginia Maffei <vmaffei at gmail.com> wrote:
> Thanks Mark!
> the message its showing is:
> <?xml version='1.0' encoding="ISO-8859-1" ?>
> <ServiceExceptionReport version="1.2.0"
> xmlns="http://www.opengis.net/ogc" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> http://www.opengis.net/ogc
> http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd">
> <ServiceException code="NoApplicableCode"
> locator="bbox">msWCSGetCoverage(): WCS server error. Requested BBOX
> (-66.5079075029609,-84.6440997947261,-30.3257514953085,-83.1977984037033) is
> outside requested coverage BBOX
> (366582.290141166,6127927.10038269,857582.290141166,6670927.10038269)
> </ServiceException>
> </ServiceExceptionReport>
>
> I posted it in another post but i thought this issue wasn't related with
> the other one.
>
> Do you have any idea about how bbox works?
>
> regards,
> Virginia
>
>
> On Sat, Jun 11, 2011 at 7:03 PM, Mark Phillips <mbp at geomtech.com> wrote:
>
>> Assuming your cgi-bin directory is properly configured to run mapserv.exe
>> as a cgi executable, rather than serving it as a static file, this is
>> probably the result of mapserver encountering a problem and delivering an
>> error message to the browser, probably in the form of an xml response, and
>> what is happening is that the browser is confused about the mime type of the
>> response. Try saving the file and viewing it with an editor; you'll
>> probably find an error message in it.
>>
>> On Sat, Jun 11, 2011 at 5:32 PM, Virginia Maffei <vmaffei at gmail.com>wrote:
>>
>>> Hi, i'm trying to do a getcoverage with WCS and it just pops up asking if
>>> i want to download mapserv.exe.
>>>
>>> The url i'm using is:
>>>
>>>
>>> http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/tutorial/htdocs/example1-1.map&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&coverage=localidades&CRS=EPSG:32721&BBOX=400000,700000,800000,600000&WIDTH=491&HEIGHT=543&FORMAT=GTiff
>>>
>>> does anyone knows whats happening and how to resolve it? I checked the
>>> FAQ but i didn't understand
>>>
>>> thanks!
>>>
>>> Virginia
>>>
>>>
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110611/127e1dc4/attachment.htm>
More information about the MapServer-users
mailing list