I would like to use my orthophoto in my project. I'm using ArcGIS SDK Java and the component:

ArcGISMap map = new ArcGISMap(Basemap.createStreetsVector());

My orthophoto size is 4 GB (.7z)

  • .7z is a 7Zip archiving format. What is inside the archive?
    – Vince
    Apr 2, 2020 at 12:46
  • @Vince inside the archive : a lot of file with extension .JP2 Apr 2, 2020 at 13:37

1 Answer 1


I found the solution : use Raster class.

If you want to load some ortho images use this :

Raster raster = new Raster("path_ortho_file"); // jp2 format
// create a raster layer
RasterLayer rasterLayer = new RasterLayer(raster);
// add the raster as an operational layer

If you want to load all files (jp2) from a directory : https://stackoverflow.com/a/11301085/7568301


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.