-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deactivate the "area cut service" for shop layers "aerial images" #3100
Comments
@ltkum and then decide it is outside Switzerland. |
Hello @pauloamado (and thanks @procrastinatio ) https://shop.swisstopo.admin.ch/shop-server/resources/products/price?layer=ch.swisstopo.lubis-luftbilder_farbe&featureid=19990880013130 (way out of the swiss borders) gives us
while https://shop.swisstopo.admin.ch/shop-server/resources/products/price?layer=ch.swisstopo.lubis-luftbilder_farbe&featureid=20057111803247 (overlapping the swiss boundaries) give us
How does the shop price service works exactly ? How does it "decides" on a price ? |
@ltkum As far as I know, this how it is done
|
Exactly, but in the case of aerial images, the price is fixed to CHF 91.55 regardless the footprint surface. |
Oui, mais en l'ocurrence, c'est le shop qui décide que les images en questions ne doivent pas être traitées sur la base du résultat de la requête à l'API sur la feature |
Indeed, the Shop must retrieve the attribute "Ort" which is null when the footprint is completely outside Switzerland. I will confirm this with Michael, if this is the case we can close this ticket and change the Shop code. Thank you both. |
attribute |
@pauloamado Do we do anything before we ditch the shop? |
When selecting an image whose entire footprint is outside Switzerland, the order button is disabled in the tooltip. It concerns the following shop layers :
ch.swisstopo.lubis-luftbilder_farbe
ch.swisstopo.lubis-luftbilder_infrarot
ch.swisstopo.lubis-luftbilder_schwarzweiss
Try it : https://s.geo.admin.ch/7feefcba86
The text was updated successfully, but these errors were encountered: