Colour Overrides in Bitonal Images

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Colour Overrides in Bitonal Images

Crispin_at_Linknode
This post was updated on .
I can't get the colour override to work for bitonal images.
Converting a site from AIMS to MGOS and this is the final difference to
resolve.
Has anyone tried/used this feature recently.  Sample data:
  ns9359.tif
<http://osgeo-org.1560.x6.nabble.com/file/t200954/ns9359.tif>

   ns9359.tfw
<http://osgeo-org.1560.x6.nabble.com/file/t200954/ns9359.tfw


      <ColorStyle>
        <ColorRule>
          <LegendLabel />
          <Color>
            <ExplicitColor>ffff00</ExplicitColor>
          </Color>
        </ColorRule>
        <ColorRule>
          <LegendLabel />
          <Color>
            <ExplicitColor>ff0000</ExplicitColor>
          </Color>
        </ColorRule>
      </ColorStyle>




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
Reply | Threaded
Open this post in threaded view
|

Re: Colour Overrides in Bitonal Images

Jackie Ng
For anyone else reading this, the GDAL FDO provider does not report bitonal
image support in its raster data model capabilities, which I gather means
that MapGuide does not do anything with the specified color settings.

Refs:

https://trac.osgeo.org/fdo/browser/trunk/Providers/GDAL/Src/Provider/README#L35
https://trac.osgeo.org/fdo/browser/trunk/Providers/GDAL/Src/Provider/FdoRfpRasterCapabilities.cpp#L65

- Jackie



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
_______________________________________________
mapguide-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapguide-users