Skip to content
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

#9894 Add possibility to configure srs in StreetView #9897

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

offtherailz
Copy link
Member

@offtherailz offtherailz commented Jan 18, 2024

Description

This PR adds the possibilty to configure in providerSettings the srs to use. This is useful to activate some tools available only on certain projection (e.g. EPSG:7791, see #9878 ).

This SRS have to be added to projectionDefs in order to make the system work.
in particular for EPS7791 you have to add this entry:

{
    "code": "EPSG:7791",
    "def": "+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs +type=crs",
    "extent": [
      218994.5, 3846433.22, 1415881.28, 5264909.36
    ],
    "worldExtent": [
      5.93, 34.76, 18.99, 47.1
    ]
  }

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

What is the current behavior?

#

What is the new behavior?

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

This setting may activate many tools, anyway we have to take into account some limitation:

  1. The Setting this may activate the Oblique Viewer. This additional panel allows to move the camera by clicking on the points (photos), but in this case, there is no way to catch the event of click, so the map will not be updated.
    image

  2. For projection provided, the cloud view is still not present, so we weren't able to test it. (same on the test viewer)

  3. cross section is still not working (same on the test viewer)

@offtherailz offtherailz added this to the 2024.01.00 milestone Jan 18, 2024
@offtherailz offtherailz self-assigned this Jan 18, 2024
@tdipisa tdipisa linked an issue Jan 18, 2024 that may be closed by this pull request
6 tasks
@allyoucanmap allyoucanmap merged commit 475605e into geosolutions-it:master Jan 18, 2024
6 checks passed
@allyoucanmap
Copy link
Contributor

@ElenaGallo please test this fix on dev, thanks

Igi-ID pushed a commit to Igi-ID/MapStore2 that referenced this pull request Feb 7, 2024
offtherailz added a commit that referenced this pull request Feb 7, 2024
Co-authored-by: Lorenzo Natali <lorenzo.natali@geosolutionsgroup.com>
tdipisa pushed a commit that referenced this pull request Mar 6, 2024
…#10032)

* #9894 Add possibility to configure srs (#9897)

* Disable plugin SaveAs for non-ADMIN role users in Contexts (#9952)

(cherry picked from commit 9802d5c)

---------

Co-authored-by: Lorenzo Natali <lorenzo.natali@geosolutionsgroup.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow Street Smart to have a configurable srs
2 participants