New answers tagged java
Found the issue, not related to geometry type. I was JDBC3 driver, replacing it to JDBC4 driver solved it!
You probably didn't want to just iterate over the whole file, but rather iterate over each of the (interesting) values, for each of the time steps you want. Here is some code adapted from the sample code import traceback import sys from gribapi import * INPUT='multi_1.nww3.t00z.grib2' VERBOSE=1 # verbose error reporting def example(): f = ...
This sounds like a graphics driver problem. I saw this behavior when I tried to run a worldwind app on a machine with just the standard windows 7 graphics driver. Upgrading to the latest nvidia driver (because the machine had an invidia card) solved this issue. With worldwind 2, you can just double-click the worldwindx jar and if there are troubles ...
I haven't worked very much with GRIB files, but I have worked with meteorological forecast data in other file types such as NetCDF. In my experience, there is often a time step associated with a forecast grid and thus, it will be recorded in the file as a forecast hour. The step must then be used along with the timestamp from the header to calculate the ...
I was using Tomcat, and it's connection pooling facilities. I just exposed a datasource to my application through JNDI. Here's what did work for me: When I included the maven dependency for hibernate-spatial, it has a transitive dependency for hibernate itself, postgresql's jdbc and postgis's jdbc. So what I did was to remove these dependencies ...
Cast the layout to IGraphicsContainer and call IGraphicsContainer.FindFrame, passing the map surround as its argument. The returned frame is an IElement instance.
Top 50 recent answers are included