How to load a .SID file

4387
2
07-18-2011 07:58 AM
by Anonymous User
Not applicable
Original User: david.baun@kingcounty.gov
Original Date: 2011-07-18T08:58:12-0600

My Environment

  • Visual Studio 2008

  • VB.NET

  • ArcEngine 9.3.1


Please see the attached images to understand what I'm talking about. Thanks.

I have an MXD (map document file) already loaded in a map control (see attached image), and I'm trying to load some aerial images (.sid files, see attached image) into the map control.

Apparently a SID file is actually a group of 3 files (an .SDW, an .SID, an XML) [shown in attached image], so do i have to load just the SID, or ???

Anyway, how do I load a .SID file, and do I need to load more than the .SID file?

Thanks a lot.
0 Kudos
2 Replies
by Anonymous User
Not applicable
Original User: EinBerliner

Greetings,

If you simply plan on loading the data as a layer, you can use the IRasterLayer object and load from file. All you need to do is point to the .sid file and ArcGIS will read the associated files.
There are several code samples online.

Robert
0 Kudos
ESRICustomer
New Contributor III
Greetings,

If you simply plan on loading the data as a layer, you can use the IRasterLayer object and load from file. All you need to do is point to the .sid file and ArcGIS will read the associated files.
There are several code samples online.

Robert


Thanks a lot Robert.  I'll give this a try and update this post with my results.
0 Kudos