[Geoserver-users] Geoserver Oracle SQL view not updating or not visible

2017-08-17 Thread Peter Watt
Hello

I have an Oracle DB with a spatial table that I want to join with a query
to get some attributes from a non spatial table (the geo column is
SDO_Geomerty as a point [get_gtype() returns 1]). I have found 2 differetn
issue when trying to do this 2 ways

Firstly, I first tried to create a view in the DB, setting the geom columns
in the geom_metadata table. When I did this and went to import into
Geoserver, the native SRS was blank. I set the Declared SRS to 4326 and
'Force Declared', compute the bounding boxes from data (which gives the
correct results) and press save. When i go do view the data nothing appears!

Secondly, In order to rectify this I thought I might build the query in
geoserver, which seems to fix the problem.. until some data changed in the
DB and Geoserver did not update. now I am at a loss in where to go to now.

Anyone able to help at all?

Thanks!

Peter
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Readers/iterators open -> Java Heap issues

2017-08-17 Thread Ben Jerrim
Hi all, we have a 2.11 goeserver backend running on tomcat 8.5 using the
oracle db connector to serve most of our data from 11g. We see our memory
usage climb pretty quickly (a minute or two) to consume basically all of it
and are seeing the following in the logs a lot. 

/2017-08-16 01:42:10,461 WARN [geotools.jdbc] - There is code leaving
feature readers/iterators open, this is leaking statements and connections!
2017-08-16 01:42:13,691 ERROR [geoserver.ows] -java.lang.OutOfMemoryError:
Java heap space/

Currently the Catalina Options are set as: 
/-Xms2048m -Xmx5120m \
-Djava.awt.headless=true \
-XX:+UseParNewGC \
-XX:+CMSClassUnloadingEnabled \
-XX:SoftRefLRUPolicyMSPerMB=36000 \
-verbose:gc \
-XX:+PrintTenuringDistribution \
-XX:+HeapDumpOnOutOfMemoryError
/

We have 4-6 geoservers load balanced via aws elastic beanstalk each on an
m4.large. Request volumes are around 1k/minute. We seed gwc for quite a
number of layers but are still having stability issues which i think come
from the memory errors. We use control flow to manage request volumes and
lab tests always look positive, yet in the wild we still see instances
failing.

Any ideas on how i can improve the stability and start to understand what's
killing the instances?
how do i troubleshoot the jdbc issues? 






--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Readers-iterators-open-Java-Heap-issues-tp5331567.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Readers/iterators open -> Java Heap issues

2017-08-17 Thread Ben Jerrim
Played with the procedure cache setting today and found that if i disable it
(-1) things seem to improve a lot. More testing required but it looks
promising. 

Analysis of the heap dump pointed me in this direction. 


Anyone experienced this? 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Readers-iterators-open-Java-Heap-issues-tp5331567p5331589.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Sharing the GeoServer data folder on a S3 bucket

2017-08-17 Thread Ben Jerrim
Hey, we run GS in a beanstalk stack (with docker) and read the content of the
data directory from S3 when each instance starts as a volume mount. These
instances are immutable so don't follow the same pattern you're talking
about but by doing so we can manage the data directory as code in a git repo
and the deployment of instances is done by our CI/CD pipeline. This approach
also allows us to scale our compute horizontally as load increases.

For the record, i've found that m4.large instances with ~5gig of ram
assigned to the jvm provides the best bang for buck compute wise. We run 4
of these behind an ELB at peak times and 1 during lulls. Auto scaling rules
look after this for us. This is with control flow set to 8 getMap requests. 

We also seed our tile cache to S3 (zipped) and read it on to each instance
at launch. Although this slows the launch time to ~10 minutes, it improves
performance significantly after that. We played with the S3 blob store
extension but our corporate proxy meant this option was not feasible for a
few reasons. 

Happy to share more i this approach is of interest to you. 

 

 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Sharing-the-GeoServer-data-folder-on-a-S3-bucket-tp5330492p5331593.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Upgrading issue from 2.9.x to 2.11.x

2017-08-17 Thread Paul Wittle via Geoserver-users
I have put the passwords back in and that does clear the errors but it turns 
out that they were just masking the real error which is preventing the 
GeoServer from loading.

The real issues is:

ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'gml32FeatureTypeEncoder' defined in URL 
[jar:file:/C:/Apache-Tomcat%208.0-SecondInstance/webapps/ROOT/WEB-INF/lib/gs-wfs-2.11.2.jar!/applicationContext.xml]:
 Bean instantiation via constructor failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.geoserver.wfs.xml.v1_1_0.XmlSchemaEncoder$V20]: Constructor threw 
exception; nested exception is java.lang.StackOverflowError
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
...
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to 
instantiate [org.geoserver.wfs.xml.v1_1_0.XmlSchemaEncoder$V20]: Constructor 
threw exception; nested exception is java.lang.StackOverflowError
at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
... 28 more
Caused by: java.lang.StackOverflowError
at 
org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaImpl.java:2227)
at 
org.eclipse.xsd.impl.XSDSchemaImpl.resolveNamedComponent(XSDSchemaImpl.java:2286)
at 
org.eclipse.xsd.impl.XSDSchemaImpl.resolveElementDeclaration(XSDSchemaImpl.java:2333)
...
at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:796)
at 
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1494)
at org.geotools.xml.Schemas.parse(Schemas.java:329)
at org.geotools.xml.Schemas.parse(Schemas.java:294)
at org.geotools.xml.Schemas.parse(Schemas.java:256)
at org.geotools.gml3.v3_2.GML.buildSchema(GML.java:2732)
at org.geotools.xml.XSD.getSchema(XSD.java:232)
at org.geotools.gml3.v3_2.GML.(GML.java:71)
at org.geotools.gml3.v3_2.GML.(GML.java:55)
at 
org.geoserver.wfs.xml.FeatureTypeSchemaBuilder$GML32.createTypeMappingProfile(FeatureTypeSchemaBuilder.java:1000)
at 
org.geoserver.wfs.xml.FeatureTypeSchemaBuilder$GML3.(FeatureTypeSchemaBuilder.java:935)
at 
org.geoserver.wfs.xml.FeatureTypeSchemaBuilder$GML32.(FeatureTypeSchemaBuilder.java:984)
at 
org.geoserver.wfs.xml.v1_1_0.XmlSchemaEncoder$V20.(XmlSchemaEncoder.java:122)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at 
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 30 more

Anyone have any pointers about that error message?

I think I might have tried to install the Marlin renderer at one point, perhaps 
I've left a jar file somewhere?

Thanks,
Paul

From: Paul Wittle
Sent: 17 August 2017 10:31
To: 'McDonaldR' 
Cc: 'geoserver-users@lists.sourceforge.net' 

Subject: RE: Upgrading issue from 2.9.x to 2.11.x

Hi Ross,

I hadn't installed those JAR files but then I don't think the passwords were 
actually using the strong encryption anyway. I've installed them now and the 
messages are now correct on the old installs but the upgrade test is still not 
loading.

I think I'll try putting a few passwords in unencrypted and see if it manages 
to load any of them. If it does then I'll do it for all of them and then repeat 
in the administration console once it is back on (should re-encrypt them).

Thanks for the suggestion,
Paul

From: 

Re: [Geoserver-users] Upgrading issue from 2.9.x to 2.11.x

2017-08-17 Thread Paul Wittle via Geoserver-users
Hi everyone,

Please ignore my last email as I've just read 
https://osgeo-org.atlassian.net/browse/GEOS-7656 and noted that the error below 
relates to JVM settings.

I've corrected my settings and it has loaded now.

Thank you Ross for your help.

Paul

From: Paul Wittle
Sent: 17 August 2017 11:44
To: 'McDonaldR' 
Cc: 'geoserver-users@lists.sourceforge.net' 

Subject: RE: Upgrading issue from 2.9.x to 2.11.x

I have put the passwords back in and that does clear the errors but it turns 
out that they were just masking the real error which is preventing the 
GeoServer from loading.

The real issues is:

ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'gml32FeatureTypeEncoder' defined in URL 
[jar:file:/C:/Apache-Tomcat%208.0-SecondInstance/webapps/ROOT/WEB-INF/lib/gs-wfs-2.11.2.jar!/applicationContext.xml]:
 Bean instantiation via constructor failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.geoserver.wfs.xml.v1_1_0.XmlSchemaEncoder$V20]: Constructor threw 
exception; nested exception is java.lang.StackOverflowError
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
...
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to 
instantiate [org.geoserver.wfs.xml.v1_1_0.XmlSchemaEncoder$V20]: Constructor 
threw exception; nested exception is java.lang.StackOverflowError
at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
... 28 more
Caused by: java.lang.StackOverflowError
at 
org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaImpl.java:2227)
at 
org.eclipse.xsd.impl.XSDSchemaImpl.resolveNamedComponent(XSDSchemaImpl.java:2286)
at 
org.eclipse.xsd.impl.XSDSchemaImpl.resolveElementDeclaration(XSDSchemaImpl.java:2333)
...
at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:796)
at 
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1494)
at org.geotools.xml.Schemas.parse(Schemas.java:329)
at org.geotools.xml.Schemas.parse(Schemas.java:294)
at org.geotools.xml.Schemas.parse(Schemas.java:256)
at org.geotools.gml3.v3_2.GML.buildSchema(GML.java:2732)
at org.geotools.xml.XSD.getSchema(XSD.java:232)
at org.geotools.gml3.v3_2.GML.(GML.java:71)
at org.geotools.gml3.v3_2.GML.(GML.java:55)
at 
org.geoserver.wfs.xml.FeatureTypeSchemaBuilder$GML32.createTypeMappingProfile(FeatureTypeSchemaBuilder.java:1000)
at 
org.geoserver.wfs.xml.FeatureTypeSchemaBuilder$GML3.(FeatureTypeSchemaBuilder.java:935)
at 
org.geoserver.wfs.xml.FeatureTypeSchemaBuilder$GML32.(FeatureTypeSchemaBuilder.java:984)
at 
org.geoserver.wfs.xml.v1_1_0.XmlSchemaEncoder$V20.(XmlSchemaEncoder.java:122)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at 
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 30 more

Anyone have any pointers about that error message?

I think I might have tried to install the Marlin renderer at one point, perhaps 
I've left a jar file somewhere?

Thanks,
Paul

From: Paul Wittle
Sent: 17 August 2017 10:31
To: 'McDonaldR' >
Cc: 'geoserver-users@lists.sourceforge.net' 
>
Subject: RE: Upgrading issue from 

[Geoserver-users] What is the functional difference between JDBCStore and JDBCConfig?

2017-08-17 Thread Steve Omondi
Dear Users,

What does JDBCStore offer as opposed to JDBCConfig? Is it recommended to
use them together and why? After my own reading here and there I still don
get there clear difference between the two?

Kind regards,
Steve Omondi


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Upgrading issue from 2.9.x to 2.11.x

2017-08-17 Thread Paul Wittle via Geoserver-users
Hi Ross,

I hadn't installed those JAR files but then I don't think the passwords were 
actually using the strong encryption anyway. I've installed them now and the 
messages are now correct on the old installs but the upgrade test is still not 
loading.

I think I'll try putting a few passwords in unencrypted and see if it manages 
to load any of them. If it does then I'll do it for all of them and then repeat 
in the administration console once it is back on (should re-encrypt them).

Thanks for the suggestion,
Paul

From: McDonaldR [mailto:mcdona...@angus.gov.uk]
Sent: 17 August 2017 08:48
To: Paul Wittle 
Cc: geoserver-users@lists.sourceforge.net
Subject: RE: Upgrading issue from 2.9.x to 2.11.x

Have you installed the Unlimited Strength Policy jars in your upgraded Java 
installation?

http://docs.geoserver.org/latest/en/user/production/java.html#installing-unlimited-strength-jurisdiction-policy-files

I recall similar messages from a recent upgrade (java 7 to 8, tomcat 7 to 8 and 
geoserver 2.8 to 2.11) and I had forgotten to add those to the new java 
installation.

Ross

From: Paul Wittle via Geoserver-users 
[mailto:geoserver-users@lists.sourceforge.net]
Sent: 16 August 2017 09:58
To: 'geoserver-users@lists.sourceforge.net'
Subject: [Geoserver-users] Upgrading issue from 2.9.x to 2.11.x

Hi,

I'm getting some errors when trying to upgrade a GeoServer from 2.9.x to 
2.11.x. I believe the key part of the stack trace is:

Caused by: org.jasypt.exceptions.EncryptionOperationNotPossibleException
at 
org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:981)

I wondered whether this means that I need to unencrypt the passwords in all the 
stores then reload and re-encrypt but perhaps I'm just missing something 
obvious elsewhere in the logs?

Any thoughts would be appreciated :)
Paul
"This e-mail is intended for the named addressee(s) only and may contain 
information about individuals or other sensitive information and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this email in error, kindly disregard the 
content of the message and notify the sender immediately. Please be aware that 
all email may be subject to recording and/or monitoring in accordance with 
relevant legislation."

This message is strictly confidential. If you have received this in error, 
please inform the sender and remove it from your system. If received in error 
you may not copy, print, forward or use it or any attachment in any way. This 
message is not capable of creating a legal contract or a binding representation 
and does not represent the views of Angus Council. Emails may be monitored for 
security and network management reasons. Messages containing inappropriate 
content may be intercepted. Angus Council does not accept any liability for any 
harm that may be caused to the recipient system or data on it by this message 
or any attachment.
"This e-mail is intended for the named addressee(s) only and may contain 
information about individuals or other sensitive information and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this email in error, kindly disregard the 
content of the message and notify the sender immediately. Please be aware that 
all email may be subject to recording and/or monitoring in accordance with 
relevant legislation."
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Upgrading issue from 2.9.x to 2.11.x

2017-08-17 Thread McDonaldR via Geoserver-users
Have you installed the Unlimited Strength Policy jars in your upgraded Java 
installation?

http://docs.geoserver.org/latest/en/user/production/java.html#installing-unlimited-strength-jurisdiction-policy-files

I recall similar messages from a recent upgrade (java 7 to 8, tomcat 7 to 8 and 
geoserver 2.8 to 2.11) and I had forgotten to add those to the new java 
installation.

Ross

From: Paul Wittle via Geoserver-users 
[mailto:geoserver-users@lists.sourceforge.net]
Sent: 16 August 2017 09:58
To: 'geoserver-users@lists.sourceforge.net'
Subject: [Geoserver-users] Upgrading issue from 2.9.x to 2.11.x

Hi,

I'm getting some errors when trying to upgrade a GeoServer from 2.9.x to 
2.11.x. I believe the key part of the stack trace is:

Caused by: org.jasypt.exceptions.EncryptionOperationNotPossibleException
at 
org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:981)

I wondered whether this means that I need to unencrypt the passwords in all the 
stores then reload and re-encrypt but perhaps I'm just missing something 
obvious elsewhere in the logs?

Any thoughts would be appreciated :)
Paul
"This e-mail is intended for the named addressee(s) only and may contain 
information about individuals or other sensitive information and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this email in error, kindly disregard the 
content of the message and notify the sender immediately. Please be aware that 
all email may be subject to recording and/or monitoring in accordance with 
relevant legislation."

This message is strictly confidential. If you have received this in error, 
please inform the sender and remove it from your system. If received in error 
you may not copy, print, forward or use it or any attachment in any way. This 
message is not capable of creating a legal contract or a binding representation 
and does not represent the views of Angus Council. Emails may be monitored for 
security and network management reasons. Messages containing inappropriate 
content may be intercepted. Angus Council does not accept any liability for any 
harm that may be caused to the recipient system or data on it by this message 
or any attachment.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] SLD question - AlphaChannel RGBA Raster

2017-08-17 Thread Peter Kovac

Hi Danilo,

have you tried using the default Raster style that's bundled with 
GeoServer? I'm using it on RGBA images and transparency works fine.


Regards,

Peter Kovac



On 16. 8. 2017 23:28, Danilo da Silveira Figueira wrote:

Hi all,

I have the following working Sld for a RGB raster:


http://www.opengis.net/sld; 
xmlns:sld="http://www.opengis.net/sld; 
xmlns:gml="http://www.opengis.net/gml; 
xmlns:ogc="http://www.opengis.net/ogc; version="1.0.0">

 
  Default Styler
  
   RGB image 3 channels
   RGB image
   
rgb_general

 
  
   
1
   
   
2
   
   
3
   
  
 

   
  
 



I have a RGBA raster, where the bands are [Red, Green, Blue, Alpha] to 
be shown.
So i need something like a "AlphaChannel", or "Opacity" values from 
the 4 band. I dont found nothing in documentation, how to do this??


Ps: I can't use ColorMap because i want all values exactly as in RGB 
format.



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Peter Kovac
IMS Programmer
MicroStep-MIS
peter.ko...@microstep-mis.com

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users