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

Implementing possibility for reprojection Coordinates #797

Closed
Tracked by #795
dominikriemer opened this issue Nov 26, 2022 · 0 comments · Fixed by #1044
Closed
Tracked by #795

Implementing possibility for reprojection Coordinates #797

dominikriemer opened this issue Nov 26, 2022 · 0 comments · Fixed by #1044
Assignees
Labels
backend Everything that is related to the StreamPipes backend migrated from jira Indicates that a issue has been migrated from JIRA (only automatically assigned - Do not modify!) pipeline elements Relates to pipeline elements
Milestone

Comments

@dominikriemer
Copy link
Member

Apache SIS Reprojection implemented
Following Pipeline and csv data was used for testing:
Remember to set semantic geo.lat and geo lng in file adapter

!Auswahl_019.png!
[^test_example.csv]

  • Result
    accuracy compared to qgis is totally acceptable within 0.01 tolerance
    [^validate_proj.csv]

----

  • Goal:
    Essential Task in Geo is to reproject between different Coordinate Reference Systems (CRS)
    e.g for special calculations which needs meter as CRS Unit instead of degree (as it it in WGS84)

  • Libs and Sources:
    Lib for reprojection would be
    https://sis.apache.org/

fallback:
https://github.com/locationtech/proj4j

Necessary extra package is the EPSG Library Source, which needs a special license agreement (not apache license).
User Downloads the Postgres SQL Scripts here: https://epsg.org/auth/Account/Login
During registration User agrees to license, so it can be used in StreamPipes.

  • Following Workflow (to be discussed)
    The User unzipped the Scripts and but them into a specific folder.
    Then StreamPipes can start the docker-compose file and here the questions occurs.
    how to implement the service and where
    What happens if files are missing
    Where to register the connectionSource and how to validate?

What happens if setup fails. Are geo processors active or special Exceptions during Pipeline Creation?

!workflow_v2.png!

Draft for EPSG Database Setup:
!settings_epsg.png!

  • Material
    Docker-compose file for SP Service
    [^.env]
    [^docker-compose.yml]

Imported from Jira STREAMPIPES-584. Original Jira may contain additional context.
Reported by: micklich.
Subtask of issue #795

@dominikriemer dominikriemer added backend Everything that is related to the StreamPipes backend migrated from jira Indicates that a issue has been migrated from JIRA (only automatically assigned - Do not modify!) pipeline elements Relates to pipeline elements sub-task labels Nov 26, 2022
@bossenti bossenti removed the sub-task label Nov 27, 2022
@bossenti bossenti added this to the 1.0.0 milestone Nov 27, 2022
@bossenti bossenti linked a pull request Jan 6, 2023 that will close this issue
@bossenti bossenti modified the milestones: 1.0.0, 0.91.0 Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Everything that is related to the StreamPipes backend migrated from jira Indicates that a issue has been migrated from JIRA (only automatically assigned - Do not modify!) pipeline elements Relates to pipeline elements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants