gvSIG CE and SEXTANTE GIS Bug Tracker on MantisBT
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000342SEXTANTEInput/output data providerspublic2012-10-29 17:002013-07-19 10:00
Assigned To 
Platformx86_64-pc-windowsOSWindows XPOS VersionXP Pro SP3
Product Version0.6 
Target VersionFixed in Version 
Summary0000342: Cutting Raster Fails in EPSG 4230
DescriptionThe problem, in spanish, is detailed in gvSIG Desktop user list. View this:

http://listserv.gva.es/pipermail/gvsig_usuarios/2012-October/023876.html [^]

gvSIG v1.11, gvSIG v1.13 and gvSIG CE tested (spanish version)

In a view with SRS EPSG 4230, it happens with the tool SEXTANTE "Cut raster layer with layer polygons ". The result of the cut is inside the polygon but this all displaced below, omitting lower part of the information and displaying information above in the original raster was outside the clipping polygon
Steps To ReproduceIf someone wants the raster and shape with the error I appear to
do the test on your computer and see if it replicates the error, I can be the
pass, or indicate how to get it, it is CNIG information being
registered user and downloading it for non-commercial use, as I
TagsNo tags attached.
Attached Filesjpg file icon Fallo recorte.JPG [^] (171,482 bytes) 2012-10-29 17:00

- Relationships

-  Notes
josecanalejo (administrator)
2012-10-29 20:01

Dear Joaquin,
thank you for your report. Can you tell us please where we can download these files to reproduce this behaviour?
ximocoves (reporter)
2012-10-30 10:39


The files ara downloades from CNIG web page, via registered user, under not comercial license.

I can send you the files private mode

Tell me where?
josecanalejo (administrator)
2012-10-30 10:55

Find here our email adresses: http://gvsigce.sourceforge.net/joomla/index.php/about-gvsig-ce-software/site-map [^]
josecanalejo (administrator)
2012-11-02 11:16

I've tested it with Joaquin off list and we think it could be a bug related with the projection because the same tool runs well with e.g. EPSG 23030. Joaquin could make this work with QGIS and the GDAL Tools. We are now trying to identify if this is a bug. Thank you again Joaquin for your time.
Nacho Varela made some comments in the spanish list (http://listserv.gva.es/pipermail/gvsig_usuarios/2012-October/023901.html [^]) so I assigned this Bug to him.
The steps to reproduce are:
- Create a View with the projection EPSG 4230
- Add a raster file (e.g.https://www.dropbox.com/s/ejyqir8wu89w3do/MTN50-0593-1938-cgn-Cuevas_de_Vinroma.ecw [^]) and a shape file with this projection
- Run the SEXTANTE Tool "crop grid with polygon layer"
- The result hasn't the same extent than the shape file
ximocoves (reporter)
2012-11-06 15:59

Hello again

I tried two more SEXTANTE's tools and get the same problem

The tools are:

-"Clip grid with bbox"
-In spanish "Ajustar a extensión con datos válidos"

The second tool doesn't use any shape of polyons in the process. Try it and yoy will see the result also appears distorted.
benducke (developer)
2012-11-23 12:40

The bug report says that this has been tested with SEXTANTE 0.6.
Have you tried the latest version of SEXTANTE (nightly build)?
I remember that there were many problems with projections in
older SEXTANTE versions, but they should have been fixed in the
latest release. If it still fails with the current SEXTANTE,
then please change the "Product Version" to "SVN".
ximocoves (reporter)
2013-07-19 08:48

Hello again.

I tried with the lastest gvSIG CE version, with SEXTANTE that says (Junta de Extremadura, 2011) ¿Version 1.0.0 devel (Build 1305)?

SEXTANTE version 1.0.9 in QGIS hasn't the tool "Cutting Raster with Shape Layer"

The results are the same. The output for this tool with the lastest gvSIG CE version is not correct.

The input raster has rectangular pixel size.
X: 3.741729852343656E-5
Y: -2.863329150516978E-5

The incorrect output has square pixel size.
X: 3.741729852343656E-5
Y: -3.741729852343656E-5

Making the cutting with QGIS, using the command "Raster->Extraction->Clipper" that uses the GDAL Libraries, the output is correct and this result has this intermediate value of rectangular pixel size (nearly square pixel size).

X: 3.512011379201349E-5
Y: -3.511729175446089E-5

Therefore, I think the bug is not corrected in the lastes SEXTANTE version in gvSIG CE.
benducke (developer)
2013-07-19 10:00

OK, here is a fun fact about SEXTANTE: It seems that it cannot handle raster data with different X and Y cell extents! How this could have slipped past all of us for so long is something that I don't understand. I will try and add support for X/Y cell extent settings ASAP. Thanks for reporting this. Please send a message to the gvSIG CE mailing list, so that we can exchange the sample data via private email.

- Issue History
Date Modified Username Field Change
2012-10-29 17:00 ximocoves New Issue
2012-10-29 17:00 ximocoves Status new => assigned
2012-10-29 17:00 ximocoves Assigned To => volaya
2012-10-29 17:00 ximocoves File Added: Fallo recorte.JPG
2012-10-29 20:01 josecanalejo Note Added: 0000181
2012-10-30 10:39 ximocoves Note Added: 0000182
2012-10-30 10:55 josecanalejo Note Added: 0000183
2012-11-02 11:16 josecanalejo Note Added: 0000184
2012-11-02 11:16 josecanalejo Assigned To volaya => nachouve
2012-11-06 15:59 ximocoves Note Added: 0000185
2012-11-21 19:01 josecanalejo Assigned To nachouve =>
2012-11-21 19:01 josecanalejo Status assigned => new
2012-11-23 12:40 benducke Note Added: 0000190
2013-07-19 08:48 ximocoves Note Added: 0000241
2013-07-19 10:00 benducke Note Added: 0000242

Copyright © 2000 - 2011 MantisBT Group
Hosted by Sourceforge.netPowered by Mantis Bugtracker