Skip to content

Instantly share code, notes, and snippets.

View dvntucker's full-sized avatar

Devon Tucker dvntucker

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<Indexer>
<coverages>
<coverage>
<schema name="Temperature_surface">
<attributes>the_geom:Polygon,location:String,imageindex:Integer,time:java.util.Date</attributes>
</schema>
<origName>Temperature_surface</origName>
<name>Temperature_surface</name>
</coverage>
Error:scalac:
while compiling: /Users/devon/Projects/geotrellis/raster/src/main/scala/geotrellis/raster/viewshed/ViewshedMethods.scala
during phase: jvm
library version: version 2.10.6
compiler version: version 2.10.6
reconstructed args: -javabootclasspath : -optimise -feature -Yinline -Yclosure-elim -classpath /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0
@dvntucker
dvntucker / coast.grd header
Last active October 4, 2016 18:10
Issue SLD
ncols 39149
nrows 41500
xllcorner 805999.99986146
yllcorner -239999.99993536
cellsize 20
NODATA_value -9999
Started by user Boundless Admin
Building remotely on apollo-slave-01.boundlessgeo.com in workspace /var/jenkins/workspace/geotools-master
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git://github.com/geotools/geotools.git # timeout=10
Fetching upstream changes from git://github.com/geotools/geotools.git
> git --version # timeout=10
> git fetch --tags --progress git://github.com/geotools/geotools.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision b09c48c13c6b8dc4e8422bf992519b61ff691563 (origin/master)
Nov 08, 2017 12:49:59 PM org.geoserver.GeoserverInitStartupListener$1 errorOccurred
INFO: Problem occurs when computing a tile by the owner.
java.lang.ArrayIndexOutOfBoundsException: 1777928
at javax.media.jai.IHSColorSpace.fromRGBByte(IHSColorSpace.java:500)
at javax.media.jai.IHSColorSpace.fromRGB(IHSColorSpace.java:427)
at com.sun.media.jai.opimage.ColorConvertOpImage.computeRectColorSpaceJAIFromRGB(ColorConvertOpImage.java:329)
at com.sun.media.jai.opimage.ColorConvertOpImage.computeRect(ColorConvertOpImage.java:285)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:914)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
@dvntucker
dvntucker / notes.md
Created January 8, 2018 19:10
Rest Debugging Notes

Controller not hit/Response Code 415

The most common issue I've run into during the conversion was the handler method not being hit at all. This usually results in a response code 415 from Spring (media type not accepted). Debugging this ranges from simple to aggravating. Here are a few tips, from most obvious to least:

  • Is the request path correct?
  • Does your request Content-Type match the "consumes" parameter of the handler
  • Are all your path elements matched correctly?
  • Is the HttpMessageConverter you expect to be hit -- based on the requested content type -- actually being invoked?
@Test
public void testPrefixedAttribute() throws Exception {
cqlTest("dc.title = test");
}