Well, using QGis instead of arc fixed some of this, I'm now down to the "java.lang. ArrayIndexOutOfBoundsException " error which has been posted here 5 or 6 times without a solution that I can find. Any help on that error would be appreciated!
On Sunday, April 24, 2016 at 5:15:31 PM UTC-4, Alexander McKelvy wrote:So, switching the order of lat/lon (irregular since it works with the bioclim data the other way around) makes the bounding box error disappear and now I get "Warning: Sample at X, Y in myfile.csv is missing some environmental data (e.g. mydatafile) for each presence point".
On Saturday, April 23, 2016 at 9:47:44 AM UTC-4, Alexander McKelvy wrote:Hi all,I am trying to use maxent with localities and GAP landcover data (categorical). When I use bioclim data (continuous), I have no issues and can run everything I need. When I use the gap land cover data, which I have converted to ascii on both the macro and subclass levels using ESRI arcgis, I can't get it to line up with my locality points and get the error "Warning: Sample at Lon, Lat in myfile.csv is outside the bounding box of environmental data, skipping". I tried a few different things, including ensuring that my data are exported under the same projection. Is anyone else having this problem or can offer suggestions to help? I'm mostly interested in measuring variable importance at different levels among species.ThanksAlex
Alex,Without seeing your data it is hard to know for sure. But the requirements are that your environmental rasters all have to have the same extent and resolution. If I had to guess, I would say your GAP landcover layer has a different extent. The header for the ASCIII file should be exactly the same as the bioclim layers. It sounds like you checked the projection but make sure the projection of all environmental layers and occurrence points is the same. The order of the occurrence points should be x,y (long, lat). If you used lat, long then it is no surprise you are having problems.Sam
With a different set of occurancesjava.lang. ArrayIndexOutOfBoundsException : -1758671516java.lang. ArrayIndexOutOfBoundsException : -1758671516at density.Extractor.readSamples( Extractor.java:257)at density.Extractor. extractSamples(Extractor.java: 155)at density.Runner. initializeGrids(Runner.java: 193)at density.Runner.start(Runner. java:281)at density.GUI$7.construct(GUI. java:319)
at density.SwingWorker$2.run( SwingWorker.java:108)