Can't display all rpf files

306
0
01-18-2018 03:26 AM
OnurCANCI
New Contributor

I've been trying to add RPF(cadrg) files to basemap with following code

foreach(string file in files)

{

   Raster r = new Raster(file);

   RasterLayer layer = new RasterLayer(r);

   map.BaseMap.BaseLayers.Add(layer);

}

In SceneView all rpf layers are displayed correctly but in MapView I can't see all layers map can't be panned on some regions like they've been locked.

I also checked SpatialReferences of layers and map they're like following:

C:\Maps\CADRG\R5000\0003E023.toc wkText=GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
C:\Maps\CADRG\R5000\0000G043.toc wkText=GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID
["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
Map wkText=GEOGCS["GCS_WGS_1984", DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]

Is there any size or count limit on MapView for RpyLayers?

Thanks

0 Kudos
0 Replies