Skip to main content

Hello Sentinel-hub team,


I am trying to get tiff format sentinel-2 images using the process API and I am not sure how to define the CRS:3035, is there an option to do that in the following piece of code.


bbox = BBox(bbox=[6.80668698, 51.61359378,  6.8452312 , 51.6375781], crs=....)

request = SentinelHubRequest(
evalscript=evalscript_cloud_mosaick,
input_data=[
SentinelHubRequest.input_data(
data_collection=DataCollection.SENTINEL2_L2A,
time_interval=('2020-10-14', '2020-11-14'),

),
],
responses=[
SentinelHubRequest.output_response('default',MimeType.TIFF),
],
bbox=bbox,
size=[512, 343.697],
config=config
)

response = request.get_data()```

Is this what you’re after?


from sentinelhub import CRS
crs_3035 = CRS(3035)

Yes, can I define this in the bbox?


you can indeed, this should work:


BBox(bbox=[6.80668698, 51.61359378,  6.8452312 , 51.6375781], crs=CRS(3035))

Thanks Ziga, I just tried it. It works, thanks for the quick response!


Excellent! Always happy to help


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.


Reply