Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add viewParams option #100

Open
thinkingmik opened this issue Feb 11, 2021 · 0 comments
Open

Add viewParams option #100

thinkingmik opened this issue Feb 11, 2021 · 0 comments

Comments

@thinkingmik
Copy link

Hi,
I need to pass viewParams variable to geoserver GetFeature call request, because I would use these parameters in a sql-view layer.

The request payload will be something like:

<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" 
      service="WFS" version="1.1.0"
      viewParams="from:1613057992957;to:1613057992957"
      outputFormat="application/json">
	<wfs:Query typeName="myworkspace:test_layer_view" srsName="EPSG:4326">
		<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
			<ogc:BBOX>
				<ogc:PropertyName>geometry</ogc:PropertyName>
				<gml:Envelope xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:4326">
					<gml:lowerCorner>10.897064208984375 45.29469404344385</gml:lowerCorner>
					<gml:upperCorner>12.215423583984375 45.63948755947343</gml:upperCorner>
				</gml:Envelope>
			</ogc:BBOX>
		</ogc:Filter>
	</wfs:Query>
</wfs:GetFeature>

I think it could be a very useful enanchment.

Thank you!

@thinkingmik thinkingmik changed the title Add viewParams Add viewParams option Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant