Opened 5 months ago

Closed 5 months ago

#2823 closed defect (fixed)

FIX - CRS compound CRS showed invalid URL and added max cache size

Reported by: Bang Pham Huu Owned by: b
Priority: major Milestone:
Component: secore Version: 10.3
Keywords: Cc:
Complexity: Medium

Description

Compound CRS in SECORE returns incorrect value for EPSG:3035

URL: https://crs.rasdaman.com/def/crs-compound?1=https://www.opengis.net/def/crs/OGC/0/AnsiDate?axis-label=%22time%22&2=https://www.opengis.net/def/crs/EPSG/0/3035
#######################################################
<?xml version="1.0" encoding="ISO-8859-1"?>
<CompoundCRS xmlns:gml='http://www.opengis.net/gml/3.2'
   xmlns:epsg='urn:x-ogp:spec:schema-xsd:EPSG:0.1:dataset'
   xmlns:xlink='http://www.w3.org/1999/xlink'
   gml:id='crs' xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://w
   <metaDataProperty>
      <epsg:CommonMetaData>
         <epsg:type>compound</epsg:type>
      </epsg:CommonMetaData>
   </metaDataProperty>
   <scope>not known</scope>
   <identifier codeSpace='OGC'>https://www.opengis.net/def/crs-compound?1=https:
   <name>Julian Date / ETRS89-extended / LAEA Europe</name>
   <componentReferenceSystem xlink:href='https://www.opengis.net/def/crs/OGC/0/A
   <componentReferenceSystem xlink:href='3035'/>
</CompoundCRS>

reason is https://www.opengis.net/def/crs/EPSG/0/3035 has

<gml:identifier codeSpace="EPSG">3035</gml:identifier>

while https://crs.rasdaman.com/def/crs/EPSG/0/3035 has

> <gml:identifier codeSpace="IOGP">https://www.opengis.net/def/crs/EPSG/0/3035</gml:identifier>

then SECORE CrsCompoundHandler parsed the former CRS to show only 3035 instead of the full URL in the latter.

Also, added new setting in secore.properties called max_cache_size to control how much data SECORE should cache.

Change History (1)

comment:1 by Bang Pham Huu, 5 months ago

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