Opened 11 years ago

Closed 4 years ago

#364 closed task (wontfix)

expand parameter should be aplicable to ParameterizedCRS

Reported by: Dimitar Misev Owned by: Dimitar Misev
Priority: minor Milestone: Future
Component: secore Version: 8.4
Keywords: Cc: Piero Campalani
Complexity: Medium

Description

The expand parameter in SECORE should control whether to resolve a parameterized CRS url. With value none the original CRS definition is returned.

expand=none

Change History (9)

comment:1 by Piero Campalani, 11 years ago

NOTE: It should replace the flatten parameter.

comment:2 by Dimitar Misev, 11 years ago

Milestone: 8.59.0-alpha1

comment:3 by abeccati, 10 years ago

Milestone: 9.0-beta19.0

Milestone 9.0-beta1 deleted

comment:4 by Dimitar Misev, 8 years ago

Owner: changed from Dimitar Misev to Bang Pham Huu
Status: newassigned

comment:5 by Bang Pham Huu, 8 years ago

May I ask a question, I guess that parameterizedCRS mean user can add "parameters" to URL with key=value, and Dimitar wants when access URL with ?expand=none, it will return the original definition like with /browse.jsp.

http://kahlua.eecs.jacobs-university.de:8080/def/crs/OGC/0/Index1D/browse.jsp

<ParameterizedCRS xmlns="http://www.opengis.net/CRS-NTS/1.0" xmlns:epsg="urn:x-ogp:spec:schema-xsd:EPSG:1.0:dataset" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" gml:id="param-index1d-crs">
  <gml:description>Parametrized 1D CRS with indexed coordinates.</gml:description>
  <gml:identifier codeSpace="http://www.ietf.org/rfc/rfc3986">http://www.opengis.net/def/crs/OGC/0/Index1D</gml:identifier>
  <gml:name>Parametrized Index 1D CRS</gml:name>
  <gml:remarks>Initial version (0.1)</gml:remarks>
  <parameters>
    <parameter name="axis-label">
      <value>"i"</value>
      <target>//gml:CoordinateSystemAxis/gml:axisAbbrev</target>
    </parameter>
  </parameters>
  <targetCRS xlink:href="http://www.opengis.net/def/crs/OGC/0/_Index1D_template"/>
</ParameterizedCRS>

However, I feel expand=none is "confusing" because with expand=0 that means no resolve to any xlink:href. For example a paramerterizedCRS like above when resolve with expand=0 will return only the imported CRS inside it (which is ImageCRS "index1d-crs"))

http://kahlua.eecs.jacobs-university.de:8080/def/crs/OGC/0/Index1D?expand=0

<ImageCRS id="index1d-crs"><description>CRS for 1D index-domain referenced axis.</description><identifier codeSpace="http://www.ietf.org/rfc/rfc3986">http://kahlua.eecs.jacobs-university.de:8080/def/crs/OGC/0/Index1D?expand=0</identifier><name>1D Index CRS</name><remarks>Initial version (0.1)</remarks><scope>not known</scope><cartesianCS><CartesianCS xlink:href="http://www.opengis.net/def/cs/OGC/0/CartesianIndexed1D"/></cartesianCS><imageDatum><ImageDatum xlink:href="http://www.opengis.net/def/datum/OGC/0/CellCenter"/></imageDatum></ImageCRS>

So I think, a parameter to return the original definition of CRS in XML (same as in browse.jsp) like "?getDef" is better.

comment:6 by Dimitar Misev, 8 years ago

Owner: changed from Bang Pham Huu to Dimitar Misev

Let's ignore this one, because we need to decide the parameter first and this needs to be in line with OGC.

comment:7 by Bang Pham Huu, 8 years ago

yes, it is good to know. Thanks.

comment:8 by Dimitar Misev, 7 years ago

Milestone: 9.0.xFuture

comment:9 by Dimitar Misev, 4 years ago

Resolution: wontfix
Status: assignedclosed
Note: See TracTickets for help on using tickets.