Opened 5 years ago

Closed 3 years ago

#152 closed enhancement (fixed)

XQuery interface

Reported by: dmisev Owned by: arezaeim
Priority: major Milestone: 9.0.x
Component: secore Version: 8.3
Keywords: Cc: pbaumann
Complexity: Very Hard

Description (last modified by dmisev)

Should be /def/crs-query, not /def/index.jsp. This means that the page that allows to query the database directly should be moved to /def/crs-query

Also, this endpoint should accept an XQuery in a POST request with a query parameter, in a similar way as petascope accepts WCPS queries.

Change History (6)

comment:1 Changed 5 years ago by dmisev

  • Description modified (diff)

comment:2 Changed 5 years ago by arezaeim

  • Owner changed from mrusu to arezaeim
  • Status changed from new to assigned

comment:3 Changed 5 years ago by pbaumann

  • Milestone set to 9.0

comment:4 Changed 4 years ago by dmisev

  • Complexity set to Very Hard

Alireza is this possible to implement or not? It's 12 months old now, please update on the status.

comment:5 Changed 4 years ago by arezaeim

The interface is moved to /def/query and user can submit post query using a query parameter, for instance:

http://localhost:8080/def/query?xquery=declare namespace gml = ""; let $d := doc('gml') return $dgml:identifier[contains(text(), '/crs/EPSG/0/4326')]

comment:6 Changed 3 years ago by dmisev

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.