When I am doing HTTP GET requests to GeoServer it is fairly easy, but when I need to do http POST request I need to pass XML formatted parameters in the body and for filtering I need OGC filters and filter encoding standard of OGC.

So I want to learn it, so from where should I start and what are the resources for that kindly exist?

  • This feels like a valid question to me. What would be a more appropriate forum? I have found the online available documentation for OGC XML requests (specifically for Filter Encoding Spec official docs, pointed out below) to be of limited utility with few usable examples. Some vendors do a better job, but there are sometimes discrepancies between different vendor implementations. – Andrew Jun 11 '19 at 19:20

You may also find the GeoServer manual helpful.

And, if you are converting from CQL then I wrote a small utility to convert cql to OGC filters a while ago that might help.

| improve this answer | |
  • Thanks Ian Turton, Let me know if there is Geotool for .NET developer(C#) as I am Mirosoft ASP.NET MVC developer. I can do it java but it will be helpful if there is any C# library available for that... – Abdullah Jun 1 '18 at 14:59
  • I'm afraid I'm a java boy through and through so I can't help with .NET – Ian Turton Jun 1 '18 at 16:10

I would start with the relevant OGC interface standards documents, so for Filter Encoding ~ http://www.opengeospatial.org/standards/filter.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.