Hi All!
We are looking at upgrading Geoserver 2.10.1 to Geoserver 2.14.0 in our 
production environment.
I have come across one issue where KMCENTROID_CLIP:true is no longer working 
for us.

Geoserver 2.10.1 works
http://openmaps.gov.bc.ca/geo/pub/wms?service=wms&request=GetMap&version=1.1.1&format=application/vnd.google-earth.kml+xml&layers=pub:WHSE_CADASTRE.CBM_CADASTRAL_FABRIC_PUB_SVW&styles=Crown_ownership_centroids&transparent=false&srs=EPSG:4326&format_options=AUTOFIT:true;KMATTR:true;KMPLACEMARK:true;KMSCORE:0;MODE:refresh;SUPEROVERLAY:false;KMCENTROID_CLIP:true&maxFeatures=500&bbox=-122.9090914630098,49.15771830532808,-122.8991264289462,49.16201414093069&WIDTH=1374&HEIGHT=951

Geoserver 2.14 doesn't work
http://test.openmaps.gov.bc.ca/geo/pub/wms?service=wms&request=GetMap&version=1.1.1&format=application/vnd.google-earth.kml+xml&layers=pub:WHSE_CADASTRE.CBM_CADASTRAL_FABRIC_PUB_SVW&styles=&transparent=false&srs=EPSG:4326&format_options=AUTOFIT:true;KMATTR:true;KMPLACEMARK:true;KMSCORE:0;MODE:refresh;SUPEROVERLAY:false;KMCENTROID_CLIP:true&maxFeatures=500&bbox=-122.9090914630098,49.15771830532808,-122.8991264289462,49.16201414093069&WIDTH=1374&HEIGHT=951<http://test.openmaps.gov.bc.ca/geo/pub/wms?service=wms&request=GetMap&version=1.1.1&format=application/vnd.google-earth.kml+xml&layers=pub:WHSE_CADASTRE.CBM_CADASTRAL_FABRIC_PUB_SVW&styles=Crown_ownership_centroids&transparent=false&srs=EPSG:4326&format_options=AUTOFIT:true;KMATTR:true;KMPLACEMARK:true;KMSCORE:0;MODE:refresh;SUPEROVERLAY:false;KMCENTROID_CLIP:true&maxFeatures=500&bbox=-122.9090914630098,49.15771830532808,-122.8991264289462,49.16201414093069&WIDTH=1374&HEIGHT=951>

Both are accessing the same data coming for Oracle Spatial (12c) using JDBC 
drivers.

There error is this -
<ServiceException>
      javax.xml.transform.TransformerException: 
javax.xml.transform.TransformerException: java.lang.NullPointerException
javax.xml.transform.TransformerException: java.lang.NullPointerException
java.lang.NullPointerException
Details:
org.geoserver.platform.ServiceException: 
javax.xml.transform.TransformerException: 
javax.xml.transform.TransformerException: java.lang.NullPointerException
                at org.geoserver.kml.KMLEncoder.encode(KMLEncoder.java:51)
                at 
org.geoserver.kml.KMLMapResponse.write(KMLMapResponse.java:61)
                at org.geoserver.ows.Dispatcher.response(Dispatcher.java:1032)
                at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:268)

I believe this was added to the master in 2.12. (we sponsored this work, and we 
probably have a custom jar for 2.10.1 to support it).

https://github.com/geoserver/geoserver/wiki/GSIP-160


Perhaps I am just missing something or have incorrect syntax, any help is 
greatly appreciated.
Cheers,
Michelle


_______________________________________________
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

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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

Reply via email to