Support #3366

ES: About AD.Address interoperability

Added by Alejandra Sanchez almost 2 years ago. Updated almost 2 years ago.

Status:FeedbackStart date:13 Sep 2018
Priority:NormalDue date:
Assignee:Angelo Quaglia% Done:

0%

Category:Harvesting results
Target version:-
Submitting Organisation:ES Knowledge-Base relevant?:
Proactive:No Keyword #1:
Country:ES - Spain Keyword #2:
Originating UI: Keyword #3:

Description

Dear Angelo,

a layer of our WMS Address has a 75% of interoperability because the GetMap request returned a blank image

http://www.cartociudad.es/wms-inspire/direcciones-ccpp?request=GetMap&FORMAT=image/png&CRS=CRS:84&SRSKEY=CRS&STYLES=&WIDTH=1524&HEIGHT=1524&version=1.3.0&LAYERS=AD.Address&PROJECTION=CRS:84&BBOX=-7.0,35.49999999914672,-6.979521465524909,35.52047853362181&service=WMS&TRANSPARENT=TRUE

We have seen that the BBOX of that request is in the sea, I attach a file with the image where you can see.

Could you edit the BBOX parameters on GetMap and change the BBOX of this request?

Report of layer AD.Address with 75% of interoperability

http://inspire-geoportal.ec.europa.eu/resources/INSPIRE-c6f329a0-4c3d-11e7-9e8f-52540023a883_20180909-113252/services/1/PullResults/41-60/services/15/resourceLocator1/view/services/1/layers/0/

Thank you

Best Regards

Alejandra

SPAIN.jpg (44.7 KB) Alejandra Sanchez, 13 Sep 2018 11:55 am

2545

History

#1 Updated by Angelo Quaglia almost 2 years ago

  • Status changed from New to Assigned
  • Submitting Organisation set to ES
  • Country set to ES - Spain

#2 Updated by Angelo Quaglia almost 2 years ago

Dear Alejandra,

I am having a look now.

Angeo

#3 Updated by Angelo Quaglia almost 2 years ago

  • Status changed from Assigned to Feedback

Dear Alejandra.

the geoportal picks the bounding box from those declared in the capabilities and according to the following logic.

        if (reqBboxCandidates.containsKey(CRS_CRS_84)) {
            selectedBoundingBox = reqBboxCandidates.get(CRS_CRS_84);
        } else if (reqBboxCandidates.containsKey(CRS_EPSG_4326)) {
            selectedBoundingBox = reqBboxCandidates.get(CRS_EPSG_4326);
        } else if (reqBboxCandidates.containsKey(CRS_EPSG_4258)) {
            selectedBoundingBox = reqBboxCandidates.get(CRS_EPSG_4258);
 

Since the CRS:84 entry comes first in the list, it picks that one:

<Layer queryable="1">
<Name>AD.Address</Name>
...
<BoundingBox CRS="CRS:84" minx="-19.0" miny="26.99999999923616" maxx="5.0" maxy="43.99999999905729"/>
<BoundingBox CRS="EPSG:4258" minx="27.0" miny="-19.0" maxx="44.0" maxy="5.0"/>
<BoundingBox CRS="EPSG:4326" minx="27.000000021351063" miny="-19.000000000000007" maxx="44.000000040852704" maxy="5.0"/>
<BoundingBox CRS="EPSG:4230" minx="27.0" miny="-19.0" maxx="44.001090913047165" maxy="5.0"/>
<BoundingBox CRS="EPSG:25828" minx="102948.3712066114" miny="2986435.2424698113" maxx="2508202.7078731647" maxy="5070480.910834041"/>
<BoundingBox CRS="EPSG:25829" minx="-495135.75545797264" miny="2988008.1382796224" maxx="1897204.2192799984" maxy="4968139.496861154"/>
<BoundingBox CRS="EPSG:25830" minx="-1099673.713805158" miny="2986435.2424698113" maxx="1295248.9457888722" maxy="4998012.35979611"/>
<BoundingBox CRS="EPSG:25831" minx="-1714549.1480732663" miny="2988008.1382796224" maxx="698454.2342175536" maxy="5113259.329733409"/>
<BoundingBox CRS="EPSG:32628" minx="102948.37128314428" miny="2986435.244922726" maxx="2508202.7074604286" maxy="5070480.915489917"/>
<BoundingBox CRS="EPSG:32629" minx="-495135.75526346336" miny="2988008.140733385" maxx="1897204.2190024962" maxy="4968139.50151943"/>
<BoundingBox CRS="EPSG:32630" minx="-1099673.713484239" miny="2986435.244922726" maxx="1295248.94563436" maxy="4998012.364454182"/>
<BoundingBox CRS="EPSG:32631" minx="-1714549.1476116255" miny="2988008.140733385" maxx="698454.2341793771" maxy="5113259.334386855"/>
<BoundingBox CRS="EPSG:3857" minx="-2115070.3250721986" miny="3123471.7517721104" maxx="556597.4539663679" maxy="5465442.189644802"/>
<BoundingBox CRS="EPSG:3035" minx="471468.5017937361" miny="1445891.6963879904" maxx="2768821.4534321986" maxy="3919390.1873301356"/>
 
<BoundingBox CRS="EPSG:4326" minx="27.000000021351063" miny="-19.000000000000007" maxx="44.000000040852704" maxy="5.0"/>
 
The OGC WMS 1.3.0 says:
 
EXAMPLE 1 A <BoundingBox> metadata element for a Layer representing the entire Earth in the CRS:84 Layer CRS
would be written as
<BoundingBox CRS="CRS:84" minx="-180" miny="-90" maxx="180" maxy="90">.
A BBOX parameter requesting a map of the entire Earth would be written in this CRS as
BBOX=-180,-90,180,90.
 
 
So, in our case:
<BoundingBox CRS="CRS:84" minx="-19.0" miny="26.99999999923616" maxx="5.0" maxy="43.99999999905729"/>
BBOX=-19.0,26.99999999923616,5.0,43.99999999905729.
 
 
 
I get a blank image in this case, too.
 
 
The INSPIRE Geoportal tries to proprotiionally scale that to reduce the area requested to the WMS and does this request:
 
 
and it gets a blank image.
 
Could you please suggest a BBOX the INSPIRE Geoportal could automatically compute in order not to have a blank image?
 
Best regards,
Angelo
 
 
 

#5 Updated by Angelo Quaglia almost 2 years ago

  • Subject changed from Spain: About AD.Address interoperability to ES: About AD.Address interoperability

#6 Updated by Angelo Quaglia almost 2 years ago

Dear Alejandra,

please note that the INSPIRE Geoportal has no problem with the other layer of the same service, codigo-postal.

The reason is the MaxScaleDenominatorwhich is different for the two layers:

<Layer queryable="1">

<Name>codigo-postal</Name>
<Title>Códigos postales</Title>
...
<BoundingBox CRS="CRS:84" minx="-19.0" miny="26.99999999923616" maxx="5.0" maxy="43.99999999905729"/>
...
<MaxScaleDenominator>500000</MaxScaleDenominator>
 

<Layer queryable="1">

<Name>AD.Address</Name>
<Title>Direcciones</Title>
...
<BoundingBox CRS="CRS:84" minx="-19.0" miny="26.99999999923616" maxx="5.0" maxy="43.99999999905729"/>
...
<MaxScaleDenominator>8000</MaxScaleDenominator>
 
 

Would it be possible for the service provider to increase the MaxScaleDenominator for the AD.Address layer?

Otherwise, I will need to change the algorithm used by the INSPIRE Geoportal and that will take some time.

 

Best regards,

Angelo

#7 Updated by Alejandra Sanchez almost 2 years ago

Dear Angelo,

the layer Address is a layer of point that is not possible to show at the same scale that other layer, because the user would not see this information at this scale.

One question, if the two layer is possible to see at 8000 scale, why does algorithm inspire geoportal nos ask the two layers at 8000 scale instead of considering the 500000?

Thanks you, very much

Best Regards

Alejandra


 

 

#8 Updated by Angelo Quaglia almost 2 years ago

Dear Alejandra,

yes, sure, I will update the code to support both cases. 

However, please note that there is a workaround.

Some of Spain's View Services manage to print a watermark which says "visible a partir de la escala ...".

Can you do the same for the Address layer?

 

Best regards,
Angelo

#9 Updated by Alejandra Sanchez almost 2 years ago

Dear Angelo,

Have you been able to correct this problem?
Best Regards
Alejandra

#10 Updated by Angelo Quaglia almost 2 years ago

Dear Alejandra,

not yet, but I will work on it this week.

Best regards,
Angelo

#11 Updated by Angelo Quaglia almost 2 years ago

Dear Alejandra,

the main issue is that in the case of the AD.Address  layer, there are wide geographical areas where there is nothing at all.

It is not the case for the other layer, Postal Codes.

There is simply no information in the Capabilities document that the INSPIRE Geoportal can use to choose a "good" bounding box.

So, my suggestion is that either you add a watermark to the layer or that I remove the check on the blank image.

Best regards,

Abngelo

 

#12 Updated by Angelo Quaglia almost 2 years ago

Dear Alejandra,

the check on the blank image has been removed.

I will notify you as soon as the change is published in production.

Many thanks for reporting this case.

Best regards,

Angelo

#13 Updated by Alejandra Sanchez almost 2 years ago

Dear Angelo,

perfect, thanks you

Best Regards,

Alejandra

Also available in: Atom PDF