[mapserver-users] Processing JP2000 files

EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE james.evans.4 at us.af.mil
Thu Mar 20 20:26:37 PDT 2014


Hi Jukka,

The MS4W version says it is using Driver: JP2MrSID/MrSID JPEG2000, and the GISInternals version is using Driver: JP2OpenJPEG/JPEG-2000 driver based on OpenJPEG library.  I tried to do a gdal_translate on the same file, using the each of the drivers.  They both translated the file into a 512x512 jpg, but the JP2OpenJPEG driver listed over a 1000 of these warnings before it stopped listing warnings:   
Warning 1: Empty SOT marker detected: Psot=12.
 
So, I have 400,000 of these JP2000 images, equally 4.3TBs of data.  Should I consider a massive batch conversion to JPG or Geotiff, or is there some way to get the JP2OpenJPEG driver to play nice with these files?

Thanks,
James
________________________________________
From: Rahkonen Jukka  (Tike) [jukka.rahkonen at mmmtike.fi]
Sent: Thursday, March 20, 2014 7:44 AM
To: EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE; mapserver-users at lists.osgeo.org
Subject: VS: [mapserver-users] Processing JP2000 files

Hi,

Are your JPEG2000 images the same?  SOT marker is JPEG2000 stuff and it means "start of tilepart".  If images are the same then the message means that something has changed in GDAL part. GDAL has several JPEG200 drivers and they all behave in a bit different way. Check which driver you have in your old system and which one you have now with "gdalinfo --formats".
I warn that from the free alternatives only OpenJPEG driver is something that can be considered for real use.

-Jukka Rahkonen-



James_in_Utah wrote:
>
> There must have been something wrong with my shapefile, because I tried this
> at home and I was able to get the same data to work.  Now the problem is that
> the image I see on my client is all washed out, not a variant RGB image but
> mostly brownish with weak greens.  None of the reds or blues are making it
> through.  Plus, where the tiles overlap I can see the edges are blended from the
> overlapping tiles.  This wasn't the case with the older GDAL from MS4W.  Has
> something changed?  Is there some directive in the layer that I'm missing?
> Thanks,
> James
>
>
>
>
> --
> View this message in context: http://osgeo-
> org.1560.x6.nabble.com/Processing-JP2000-files-tp5129997p5130136.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list