Skip to main content

Since there is a limit on download I need to add a search envelope on my WFS and WMS import. I got this working in 2 ways: using the search envelope in the parameters of the reader or the XML filter expression.

"

<Filter>

  <BBOX>

   <ValueReference>Geometry</ValueReference>

   <Envelope srsName="urn:ogc:def:crs:EPSG::31370">

     <lowerCorner>159221.09606242698 220934.16757763177</lowerCorner>

     <upperCorner>160221.09606242698 221934.16757763177</upperCorner>

   </Envelope>

  </BBOX>

</Filter>

"

 

My question is how I can use calculated coordinates as an input for this reader. Since the coordinates of the bounding box will change.

(I know it has something to do with user-parameters but I can't get any number in the expression or parameter of the search envelope.)

 

Thanks

If you use the FeatureReader, it can also use the trigger geometry as the bounding box. Meaning that you can e.g. use the 2DBoxRelpacer to create the bounding box geometry on the trigger feature.

Also, you may want to look into using the Tiler with the total bounding box as the input, so that you can split the area into several smaller bounding boxes.


Thanks, the FeatureReader does it perfectly! Made my day.

 


Reply