codice / ddf

DDF Distributed Data Framework - an open source, modular integration framework.
http://ddf.codice.org
Other
132 stars 181 forks source link

[2.19.x] G-20606 Added a converter for lineString which supports posList over pos #6711

Closed millerw8 closed 1 year ago

millerw8 commented 2 years ago

What does this PR do?

Adds a converter for CSW getRecords requests to transform lineString queries to posList (in lieu of pos[]) when converted JTS to GML 3.1.1.

Who is reviewing it?

@jrnorth @kcwire

Select relevant component teams:

Ask 2 committers to review/merge the PR and tag them here.

How should this be tested?

Set up a CSW federated Source, select usePosList true, execute a lineString query to that source, and confirm the outbound xml represents the LineString geometry as a posList instead of a pos[]... e.g.

<posList>1 2 3 4 5 6</posList>

instead of

<pos>1 2</pos>
<pos>3 4</pos>
<pos>5 6</pos>

Any background context you want to provide?

There was already logic in place to do this for LinearRing and Polygons (which use LinearRings), but nothing that enforced this for LineString. Adding this makes LineString behave consistently with the other shapes.

What are the relevant tickets?

Fixes: #____

Screenshots

Checklist:

Notes on Review Process

Please see Notes on Review Process for further guidance on requirements for merging and abbreviated reviews.

Review Comment Legend:

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

kcwire commented 1 year ago

build now

millerw8 commented 1 year ago

build now

cxddfbot commented 1 year ago

Internal build has been started, your results will be available at build completion.

cxddfbot commented 1 year ago

Build SUCCESS See the job results in legacy Jenkins UI or in Blue Ocean UI.