ThinkGeo.com    |     Documentation    |     Premium Support

NAIP Data Downloader

Hello,

The NAIP data downloader (http://wiki.thinkgeo.com/wiki/map_suite_world_map_kit_sdk_all_samples) generates small .jp2 files that appear to usually be 20-25 mb in size. This means that even for a relatively small area, a large amount of .jp2 files will be downloaded. What is a good way to add these images to the map? I tried utilizing the jpeg2000rasterlayer, but that requires a layer for each individual .jp2 file. Trying to create over 100 of these layers and adding them to the map becomes very resource intensive very quickly. Is there another layer type or method I should be using to add these image files?

Thanks for any help.

There is another Sample (http://wiki.thinkgeo.com/wiki/map_suite_wpf_desktop_edition_all_samples#multiple_jpeg2000_raster_layer) that will load multiple jpep2000 Raster Layers without the need to maintain multiple different layers in the overlay. It’s possible that following that sample may help your performance issues.

You could also try setting the UpperBounds value on the Jpeg2000RasterLayers to prevent drawing at higher scales if you are okay only drawing the aerials when zoomed in close to the grounds.

-JD