ncols 3459
nrows 3320
xllcorner 34.494304000329
yllcorner 12.108194352195
cellsize 0.0083333333333333
NODATA_value -9999
--
You received this message because you are subscribed to the Google Groups "Maxent" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maxent+unsubscribe@googlegroups.com.
To post to this group, send email to max...@googlegroups.com.
Visit this group at https://groups.google.com/group/maxent.
For more options, visit https://groups.google.com/d/optout.
To build on what Alaaeldin said, you'll need to resample one raster to match the cell size of the other (which should align them), then crop one to the other to make sure they have the same extent. You can do this with the resample() and crop() functions in the R package "raster", or with ArcGIS or QGIS. Simply changing the header does not change the data.
Jamie
On Tuesday, 4 July 2017 05:50:15 UTC-4, alaaeldeen80 wrote:
You can't use different geographic dimensions, your layers should be aligned with one dimension.So, you have to clip all your layer using the extent in R or any GIS application
On Sun, Jun 18, 2017 at 3:25 PM, ٍElham <na.eskan...@gmail.com> wrote:
Hi
I use bioclime and landcover layers in Maxent and the error shows that they have different geographic dimension. so I open the asc in word and edit the header to make the layers the same.
ncols 3459
nrows 3320
xllcorner 34.494304000329
yllcorner 12.108194352195
cellsize 0.0083333333333333
NODATA_value -9999
now when I run the maxent the new error appear: unexpected end of file.
How can I use layers with different geographic dimension without any error?!
--
You received this message because you are subscribed to the Google Groups "Maxent" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maxent+un...@googlegroups.com.
To post to this group, send email to max...@googlegroups.com.
Visit this group at https://groups.google.com/group/maxent.
For more options, visit https://groups.google.com/d/optout.
I followed the mencioned steps
and can solved the problems with my layers. I did the aligned
option 2x2 in QGIS and after that I had to edit the header. Note
that the NoData sometimes has a differente code in the layers.
My layers after header edit:
ncols 7800
nrows 10200
xllcorner -95.000000000000
yllcorner -60.000000000000
cellsize 0.008333333333
NODATA_value 0
and
ncols 7800
nrows 10200
xllcorner -95.000000000000
yllcorner -60.000000000000
cellsize 0.008333333333
NODATA_value -1.6999999999999999388e+308
-- Liu Idárraga O. Estudiante Doctoral Facultad de Ciencias Naturales y Museo Universidad Nacional de La Plata División de Mastozoología Museo Argentino de Ciencias Naturales "Bernardino Rivadavia" Av. Angel Gallardo 470 C1405DJR Ciudad Autónoma de Buenos Aires - Argentina Phone: +5411- 4982 8370/6670 Ext. 209
Although I don't know why the reference layer should be aligned?!
To build on what Alaaeldin said, you'll need to resample one raster to match the cell size of the other (which should align them), then crop one to the other to make sure they have the same extent. You can do this with the resample() and crop() functions in the R package "raster", or with ArcGIS or QGIS. Simply changing the header does not change the data.
Jamie
On Tuesday, 4 July 2017 05:50:15 UTC-4, alaaeldeen80 wrote:
You can't use different geographic dimensions, your layers should be aligned with one dimension.So, you have to clip all your layer using the extent in R or any GIS application
On Sun, Jun 18, 2017 at 3:25 PM, ٍElham <na.eskan...@gmail.com> wrote:
Hi
I use bioclime and landcover layers in Maxent and the error shows that they have different geographic dimension. so I open the asc in word and edit the header to make the layers the same.
ncols 3459
nrows 3320
xllcorner 34.494304000329
yllcorner 12.108194352195
cellsize 0.0083333333333333
NODATA_value -9999
now when I run the maxent the new error appear: unexpected end of file.
How can I use layers with different geographic dimension without any error?!
--
You received this message because you are subscribed to the Google Groups "Maxent" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maxent+un...@googlegroups.com.
To post to this group, send email to max...@googlegroups.com.
Visit this group at https://groups.google.com/group/maxent.
For more options, visit https://groups.google.com/d/optout.