Commit 44bacafc authored by aaime's avatar aaime
Browse files

[GEOS-4638] GeoServer WMS fails to re-encode 4bit paletted png images back in png

git-svn-id: https://svn.codehaus.org/geoserver/trunk@16051 ef1d6e69-97e5-0310-af46-8a06194da32a
parents
wfs?request=GetCapabilities
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<GetCapabilities service="WFS" xmlns="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" />
wfs?request=GetFeature&typeName=gsml:GeologicUnit
<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature service="WFS" version="1.1.0" xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0"
xmlns:wfs="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<wfs:Query typeName="gsml:GeologicUnit" />
</wfs:GetFeature>
wfs?request=GetFeature&typeName=gsml:MappedFeature
<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature service="WFS" version="1.1.0" xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0"
xmlns:wfs="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<wfs:Query typeName="gsml:MappedFeature" />
</wfs:GetFeature>
<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature service="WFS" version="1.1.0" xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0"
xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<wfs:Query typeName="gsml:MappedFeature">
<ogc:Filter>
<ogc:And>
<ogc:BBOX>
<ogc:PropertyName>gsml:shape</ogc:PropertyName>
<gml:Envelope srsName="EPSG:4283">
<gml:lowerCorner>140 -75</gml:lowerCorner>
<gml:upperCorner>145 -20</gml:upperCorner>
</gml:Envelope>
</ogc:BBOX>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>gml:name</ogc:PropertyName>
<ogc:Literal>Some basalt</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:And>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
wfs?request=GetFeature&typeName=tut:RoadSegment
<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature service="WFS" version="1.1.0" xmlns:tut="http://example.org/tutorial"
xmlns:wfs="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<wfs:Query typeName="tut:RoadSegment" />
</wfs:GetFeature>
<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature service="WFS" version="1.1.0" xmlns:tut="http://example.org/tutorial"
xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<wfs:Query typeName="tut:RoadSegment">
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>gml:name</ogc:PropertyName>
<ogc:Literal>105</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
<global>
<contact/>
<jai>
<allowInterpolation>false</allowInterpolation>
<recycling>true</recycling>
<tilePriority>5</tilePriority>
<tileThreads>7</tileThreads>
<memoryCapacity>0.5</memoryCapacity>
<memoryThreshold>0.75</memoryThreshold>
<imageIOCache>false</imageIOCache>
<pngAcceleration>false</pngAcceleration>
<jpegAcceleration>false</jpegAcceleration>
<allowNativeMosaic>false</allowNativeMosaic>
</jai>
<coverageAccess>
<maxPoolSize>5</maxPoolSize>
<corePoolSize>5</corePoolSize>
<keepAliveTime>30000</keepAliveTime>
<queueType>UNBOUNDED</queueType>
<imageIOCacheThreshold>10240</imageIOCacheThreshold>
</coverageAccess>
<charset>UTF-8</charset>
<numDecimals>8</numDecimals>
<onlineResource>http://geoserver.org</onlineResource>
<verbose>false</verbose>
<verboseExceptions>true</verboseExceptions>
<updateSequence>2</updateSequence>
<featureTypeCacheSize>0</featureTypeCacheSize>
<globalServices>true</globalServices>
<xmlPostRequestLogBufferSize>1024</xmlPostRequestLogBufferSize>
</global>
\ No newline at end of file
<GeoServerGWCConfig>
<directWMSIntegrationEnabled>false</directWMSIntegrationEnabled>
<WMSCEnabled>true</WMSCEnabled>
<WMTSEnabled>true</WMTSEnabled>
<TMSEnabled>true</TMSEnabled>
<cacheLayersByDefault>true</cacheLayersByDefault>
<cacheNonDefaultStyles>true</cacheNonDefaultStyles>
<metaTilingX>4</metaTilingX>
<metaTilingY>4</metaTilingY>
<gutter>0</gutter>
<defaultCachingGridSetIds>
<string>EPSG:4326</string>
<string>EPSG:900913</string>
</defaultCachingGridSetIds>
<defaultCoverageCacheFormats>
<string>image/png</string>
<string>image/jpeg</string>
</defaultCoverageCacheFormats>
<defaultVectorCacheFormats>
<string>image/png</string>
<string>image/jpeg</string>
</defaultVectorCacheFormats>
<defaultOtherCacheFormats>
<string>image/png</string>
<string>image/jpeg</string>
</defaultOtherCacheFormats>
</GeoServerGWCConfig>
\ No newline at end of file
<logging>
<level>DEFAULT_LOGGING.properties</level>
<location>logs/geoserver.log</location>
<stdOutLogging>true</stdOutLogging>
</logging>
\ No newline at end of file
## This log4j configuration file needs to stay here, and is used as the default logging setup
## during data_dir upgrades and in case the chosen logging config isn't available.
log4j.rootLogger=WARN, geoserverlogfile, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{dd MMM HH:mm:ss} %p [%c{2}] - %m%n
log4j.appender.geoserverlogfile=org.apache.log4j.RollingFileAppender
# Keep three backup files.
log4j.appender.geoserverlogfile.MaxBackupIndex=3
# Pattern to output: date priority [category] - message
log4j.appender.geoserverlogfile.layout=org.apache.log4j.PatternLayout
log4j.appender.geoserverlogfile.layout.ConversionPattern=%d %p [%c{2}] - %m%n
log4j.category.log4j=FATAL
log4j.category.org.geotools=WARN
log4j.category.org.geotools.factory=WARN
log4j.category.org.geoserver=INFO
log4j.category.org.vfny.geoserver=INFO
log4j.category.org.vfny.geoserver.config.web.tiles.definition.MultipleDefinitionsFactory=WARN
log4j.category.org.vfny.geoserver.global=INFO
log4j.category.org.springframework=WARN
log4j.category.org.apache.struts=WARN
log4j.category.org.geowebcache=INFO
## This log4j configuration file needs to stay here, and is used as the default logging setup
## during data_dir upgrades and in case the chosen logging config isn't available.
##
## As GeoTools uses java.util.logging logging instead of log4j, GeoServer makes
## the following mappings to adjust the log4j levels specified in this file to
## the GeoTools logging system:
##
## Log4J Level java.util.logging Level
## --------------------------------------------
## ALL FINEST
## TRACE FINER
## DEBUG FINE (includes CONFIG)
## INFO INFO
## WARN/ERROR WARNING
## FATAL SEVERE
## OFF OFF
log4j.rootLogger=WARN, geoserverlogfile, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{dd MMM HH:mm:ss} %p [%c] - %m%n
log4j.category.log4j=FATAL
log4j.appender.geoserverlogfile=org.apache.log4j.RollingFileAppender
# Keep three backup files.
log4j.appender.geoserverlogfile.MaxBackupIndex=3
# Pattern to output: date priority [category] - message
log4j.appender.geoserverlogfile.layout=org.apache.log4j.PatternLayout
log4j.appender.geoserverlogfile.layout.ConversionPattern=%d %p [%c] - %m%n
log4j.category.org.geotools=WARN
log4j.category.org.geotools.factory=WARN
log4j.category.org.geoserver=TRACE
log4j.category.org.vfny.geoserver=TRACE
log4j.category.org.vfny.geoserver.config.web.tiles.definition.MultipleDefinitionsFactory=WARN
log4j.category.org.vfny.geoserver.global=TRACE
log4j.category.org.springframework=WARN
log4j.category.org.apache.struts=WARN
## This log4j configuration file needs to stay here, and is used as the default logging setup
## during data_dir upgrades and in case the chosen logging config isn't available.
##
## As GeoTools uses java.util.logging logging instead of log4j, GeoServer makes
## the following mappings to adjust the log4j levels specified in this file to
## the GeoTools logging system:
##
## Log4J Level java.util.logging Level
## --------------------------------------------
## ALL FINEST
## TRACE FINER
## DEBUG FINE (includes CONFIG)
## INFO INFO
## WARN/ERROR WARNING
## FATAL SEVERE
## OFF OFF
log4j.rootLogger=WARN, geoserverlogfile, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{dd MMM HH:mm:ss} %p [%c] - %m%n
log4j.category.log4j=FATAL
log4j.appender.geoserverlogfile=org.apache.log4j.RollingFileAppender
# Keep three backup files.
log4j.appender.geoserverlogfile.MaxBackupIndex=3
# Pattern to output: date priority [category] - message
log4j.appender.geoserverlogfile.layout=org.apache.log4j.PatternLayout
log4j.appender.geoserverlogfile.layout.ConversionPattern=%d %p [%c] - %m%n
log4j.category.org.geotools=TRACE
# Some more geotools loggers you may be interest in tweaking
log4j.category.org.geotools.factory=TRACE
log4j.category.org.geotools.renderer=DEBUG
log4j.category.org.geotools.data=TRACE
log4j.category.org.geotools.feature=TRACE
log4j.category.org.geotools.filter=TRACE
log4j.category.org.geotools.factory=TRACE
log4j.category.org.geoserver=INFO
log4j.category.org.vfny.geoserver=INFO
log4j.category.org.vfny.geoserver.config.web.tiles.definition.MultipleDefinitionsFactory=WARN
log4j.category.org.vfny.geoserver.global=WARN
log4j.category.org.springframework=WARN
log4j.category.org.apache.struts=WARN
## This log4j configuration file needs to stay here, and is used as the default logging setup
## during data_dir upgrades and in case the chosen logging config isn't available.
##
## As GeoTools uses java.util.logging logging instead of log4j, GeoServer makes
## the following mappings to adjust the log4j levels specified in this file to
## the GeoTools logging system:
##
## Log4J Level java.util.logging Level
## --------------------------------------------
## ALL FINEST
## TRACE FINER
## DEBUG FINE (includes CONFIG)
## INFO INFO
## WARN/ERROR WARNING
## FATAL SEVERE
## OFF OFF
log4j.rootLogger=WARN, geoserverlogfile, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{dd MMM HH:mm:ss} %p [%c{2}] - %m%n
log4j.appender.geoserverlogfile=org.apache.log4j.RollingFileAppender
# Keep three backup files.
log4j.appender.geoserverlogfile.MaxBackupIndex=3
# Pattern to output: date priority [category] - message
log4j.appender.geoserverlogfile.layout=org.apache.log4j.PatternLayout
log4j.appender.geoserverlogfile.layout.ConversionPattern=%d %p [%c{2}] - %m%n
log4j.category.log4j=FATAL
log4j.category.org.geotools=WARN
log4j.category.org.geotools.factory=WARN
log4j.category.org.geoserver=WARN
log4j.category.org.vfny.geoserver=WARN
log4j.category.org.vfny.geoserver.config.web.tiles.definition.MultipleDefinitionsFactory=WARN
log4j.category.org.vfny.geoserver.global=WARN
log4j.category.org.springframework=WARN
log4j.category.org.apache.struts=WARN
log4j.category.org.geowebcache=ERROR
## This log4j configuration file needs to stay here, and is used as the default logging setup
## during data_dir upgrades and in case the chosen logging config isn't available.
##
## As GeoTools uses java.util.logging logging instead of log4j, GeoServer makes
## the following mappings to adjust the log4j levels specified in this file to
## the GeoTools logging system:
##
## Log4J Level java.util.logging Level
## --------------------------------------------
## ALL FINEST
## TRACE FINER
## DEBUG FINE (includes CONFIG)
## INFO INFO
## WARN/ERROR WARNING
## FATAL SEVERE
## OFF OFF
log4j.rootLogger=WARN, geoserverlogfile, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{dd MMM HH:mm:ss} %p [%c{2}] - %m%n
log4j.category.log4j=FATAL
log4j.appender.geoserverlogfile=org.apache.log4j.RollingFileAppender
# Keep three backup files.
log4j.appender.geoserverlogfile.MaxBackupIndex=3
# Pattern to output: date priority [category] - message
log4j.appender.geoserverlogfile.layout=org.apache.log4j.PatternLayout
log4j.appender.geoserverlogfile.layout.ConversionPattern=%d %p [%c{2}] - %m%n
log4j.category.org.geotools=TRACE
log4j.category.org.geotools.factory=TRACE
log4j.category.org.geotools.renderer=DEBUG
log4j.category.org.geoserver=TRACE
log4j.category.org.vfny.geoserver=TRACE
log4j.category.org.vfny.geoserver.config.web.tiles.definition.MultipleDefinitionsFactory=WARN
log4j.category.org.vfny.geoserver.global=TRACE
log4j.category.org.springframework=INFO
log4j.category.org.apache.struts=INFO
log4j.category.org.geowebcache=DEBUG
# Default REST security configuration.
#
# By default this configuration locks down every rest call. The following is an example of a more
# lax configuration in which read only (GET) access is allowed anonymously:
#
#/**;GET=IS_AUTHENTICATED_ANONYMOUSLY
#/**;POST,DELETE,PUT=ROLE_ADMINISTRATOR
#
# The following is an example of a configuration that could be used with the restconfig plugin in
# which only configuration in a specific workspace is restricted:
#
#/rest/workspaces/topp*;GET=ROLE_ADMINISTRATOR
#/rest/workspaces/topp/**;GET=ROLE_ADMINISTRATOR
#/**;POST,DELETE,PUT=ROLE_ADMINISTRATOR
#
#
/**;GET=ROLE_ADMINISTRATOR
/**;POST,DELETE,PUT=ROLE_ADMINISTRATOR
\ No newline at end of file
# The format here is service[.method]=ROLE1,...,ROLEN
# ([method] being optional if you want to apply the rule to all calls to a specific service
# A user can access a service only if he has one of the specified roles
# If not specified in this file, a service or method will be considered unsecured
# Uncomment the following config if you want to test securing WFS service
#wfs.GetFeature=ROLE_WFS_READ
#wfs.Transaction=ROLE_WFS_WRITE
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment