add option to use PixelGeoCoding2 with in-memory-data
@flar please review