[ka-Map-users] Error using WMS client function
Lorenzo Becchi
lorenzo at ominiverdi.com
Sun May 27 14:13:06 EDT 2007
this call works fine even with big images (2000x1000)
http://wms.jpl.nasa.gov/wms.cgi?STYLES=&LAYERS=modis&REQUEST=GetMap&SERVICE=WMS&FORMAT=image%2Fjpeg&HEIGHT=1000&VERSION=1.1.0&SRS=EPSG:4326&WIDTH=2000&BBOX=%2D180%2C%2D90%2C180%2C90&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_xml
this server doesn't allow to have a piece of tile out of the max extent...
if you use a buffer you receive the error (190 as max x) instead:
http://wms.jpl.nasa.gov/wms.cgi?STYLES=&LAYERS=modis&REQUEST=GetMap&SERVICE=WMS&FORMAT=image%2Fjpeg&HEIGHT=1000&VERSION=1.1.0&SRS=EPSG:4326&WIDTH=2000&BBOX=%2D180%2C%2D90%2C190%2C90&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_xml
<ServiceExceptionReport version="1.1.0">
<ServiceException>
Bounding box has an invalid area
</ServiceException>
</ServiceExceptionReport>
I've updated my configuration and zooming in you can now see the layer...
http://www.ominiverdi.org/ka-map/multi_layer/htdocs/?map=wms
I can't remember what the WMS specs tells about this case.
It doesn't seems to me a good behavior
Christopher Schmidt wrote:
> On Sun, May 27, 2007 at 04:32:54PM +0200, Lorenzo Becchi wrote:
>
>> now shp2img works fine returning the right image but ka-map don't.
>> a new error is prompted (checking iside IMAGEPATH dir):
>> <ServiceExceptionReport version="1.1.0">
>> <ServiceException>
>> Bounding box has an invalid area
>> </ServiceException>
>> </ServiceExceptionReport>
>>
>
> MetaTilig is probably causing requests to go too far around the world.
> Set the metaSize to a 1x1, and it should work (or zoom in).
>
> (This is just an untested guess.)
>
> Regards,
>
More information about the ka-Map-users
mailing list