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

Dateline #310

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
bfbe212
Add testMissingS2DateLine https://github.com/Open-EO/openeo-geotrelli…
EmileSonneveld May 28, 2024
2882a53
Case that better shows error.
EmileSonneveld Jun 4, 2024
5eec0bf
Avoid north pole impricision when reprojecting between LatLng and UTM…
EmileSonneveld Jun 10, 2024
059eb58
Avoid RATE_LIMIT_EXCEEDED.
EmileSonneveld Jun 11, 2024
93c2b75
Fix to make tests run on Jenkins. https://github.com/Open-EO/openeo-g…
EmileSonneveld Jun 28, 2024
14cfc60
formatting
EmileSonneveld Jun 28, 2024
223b579
Assert sensible extends in UTM zones. https://github.com/Open-EO/open…
EmileSonneveld Jul 23, 2024
7b580ec
Better choose common CRS. Add test for UTM->LatLng and LatLng->UTM. A…
EmileSonneveld Jul 24, 2024
f5990c0
Clean up healthCheckExtent().
EmileSonneveld Jul 24, 2024
7b6760d
fix
EmileSonneveld Jul 25, 2024
0536397
Merge branch 'develop' into dateline
EmileSonneveld Jul 25, 2024
500fccf
comment
EmileSonneveld Jul 25, 2024
d8691bc
Add log to see if different UTM test case is already covered.
EmileSonneveld Aug 9, 2024
c99b6d2
Merge branch 'develop' into dateline
EmileSonneveld Aug 9, 2024
e98879c
Merge branch 'develop' into dateline
EmileSonneveld Aug 9, 2024
4896876
Revert "Add log to see if different UTM test case is already covered."
EmileSonneveld Aug 9, 2024
5ef4a96
Merge branch 'develop' into dateline
EmileSonneveld Sep 16, 2024
0309ef2
Test EPSG:3035 and EPSG:4326 too. https://github.com/Open-EO/openeo-g…
EmileSonneveld Sep 17, 2024
9c9fc1a
Merge branch 'develop' into dateline
EmileSonneveld Oct 28, 2024
ad69dd7
fix after merge
EmileSonneveld Oct 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1243,11 +1243,11 @@ class FileLayerProvider private(openSearch: OpenSearchClient, openSearchCollecti
* - if feature is in utm, target extent may be invalid in feature crs
* this is why we take intersection
*/
val targetExtentInLatLon = targetExtent.reproject(feature.crs.get)
val featureExtentInLatLon = feature.rasterExtent.get.reproject(feature.crs.get,LatLng)
val featureExtentInTargetCRS = feature.rasterExtent.get.reproject(feature.crs.get, targetExtent.crs)

val intersection = featureExtentInLatLon.intersection(targetExtentInLatLon).map(_.buffer(1.0)).getOrElse(featureExtentInLatLon)
val tmp = expandToCellSize(intersection.reproject(LatLng, targetExtent.crs), theResolution)
val intersection = featureExtentInTargetCRS.intersection(targetExtent.extent).map(_.buffer(1.0))
.getOrElse(featureExtentInTargetCRS)
val tmp = expandToCellSize(intersection, theResolution)

val alignedToTargetExtent = re.createAlignedRasterExtent(tmp)
Some(alignedToTargetExtent.toGridType[Long])
Expand Down
Loading