I am trying to build a WPS request to Geoserver with a url using KVPs. I've gotten this far by working backwards from the WPS request demo page:


It seems that I'm not putting the outputBBOX parameter in correctly. I've been having trouble finding documentation on formatting this properly in a non-xml format. Any ideas on how to structure the last parameter? I'm assuming it's minlat, minlong, maxlat, maxlong, projection, but it's obviously incorrect because I get the following error:

<ows:ExceptionReport xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/ows/1.1 https://gis.akrf.com:8443/geoserver/schemas/ows/1.1.0/owsAll.xsd">
<ows:Exception exceptionCode="NoApplicableCode">
     Failed to parse the bounding box Index 0 out of bounds for length 0
  • 1
    Because you specify your CRS as EPSG:4326, you have to provide coordinates in lon, lat order gis.stackexchange.com/q/124050/2856
    – user2856
    Oct 24 '19 at 7:20
  • rather than reverse engineering the call read the specification
    – Ian Turton
    Oct 24 '19 at 8:33
  • I found this example in the specification: BoundingBoxData values – Examples: 51.9,7.0,53.0,8.0,EPSG:4326 -- the only difference I can see is the lats/longs are not integers. I will try making the values decimals and see if that works
    – GIS87
    Oct 24 '19 at 14:37
  • I added decimals to the lat longs and tried both long,lat and lat,long order and still have the same error.
    – GIS87
    Oct 24 '19 at 14:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.