gvSIG bugs #4054

problemas al ejecutar el geoproceso añadir huecos a poliginos / problems executing add hole to polygon geoprocess

Added by Mario Fevre over 8 years ago. Updated almost 7 years ago.

Status:Won't fix% Done:

0%

Priority:NormalSpent time:-
Assignee:-
Category:Geoprocess
Target version:2.4.0-2821 (rev. org.gvsig.desktop-2.0.187)
Severity:Minor Add-on version:
gvSIG version:2.2.0 Add-on build:
gvSIG build:2313 Add-on resolve version:
Operative System:Windows Add-on resolve build:
Keywords: Proyecto:
Has patch: Hito:
Add-on name:Unknown

Description

ES

Se identificaron tres resultados inesperados al ejecutar el geoproceso añadir huecos a polígonos.

Interpretación de huecos

Al parecer no maneja la superposición de tres polígonos. Si esto no se cambia debería generar alguna advertencia al ejecutarse o al menos en la ayuda.
esto puede verse en las capas adjuntas.

Ayuda inexacta

La ayuda del geoproceso define que este geoproceso reemplaza un polígono contenido por un hueco. En realidad lo que hacer es generar el hueco en el polígono continente, manteniendo el polígono contenido. En mi opinión la función ejecutada es más útil que la función descrita.

Resultados corruptos

La capa de salida, al ejecutar el geoproceso puede presentar un funcionamiento incorrecto. En la capa adjunta, el polígono mayor no puede ser seleccionado con la herramienta selección simple.
Si bien la capa adjunta presenta tres polígonos superpuestos, el mismo fenómeno se verificó retirando uno de los polígonos.

De paso la ayuda del geoprogeso está en ingles.

EN

Three problems detected executing adds hole to polygon.

Hole detection

It seem that three polygon overlapped cant be well managed. If it does not change should get a warning during de execution, or at least include this limitation y the help.
This is shown in attached layers.

Inaccurate Help

Add hole to polygon's help defines it as `contained polygon is replaced by a hole in the containing one`. Instead generates the hole keeping the contained polygon. The actual process seems more useful than the described.

Corrupt results

Result layer may present problematic use. In attached files the biggest poligon can not be selected with single selection tool.
Attached layer has 3 overlapped polygons, but same result was got using a 2 poly overlap.

And help is inly in English (not Spanish).

base.dbf (1.65 KB) Mario Fevre, 01/26/2016 07:48 PM

base.shp (17.8 KB) Mario Fevre, 01/26/2016 07:48 PM

base.shx (444 Bytes) Mario Fevre, 01/26/2016 07:48 PM

resultado.dbf (1.65 KB) Mario Fevre, 01/26/2016 07:48 PM

resultado.shp (21.4 KB) Mario Fevre, 01/26/2016 07:48 PM

resultado.shx (444 Bytes) Mario Fevre, 01/26/2016 07:49 PM

History

#1 Updated by Mario Fevre over 8 years ago

Habían faltado los adjutnos

#2 Updated by Joaquín del Cerro Murciano about 8 years ago

  • Category set to Geoprocess

#3 Updated by Antonio Falciano about 8 years ago

Hi Mario,
the "Resolve polygon holes" is working quite fine, except some topological errors introduced in the result layer that depends by your specific input data. If you apply a buffer with 0 length on your results, you'll get all valid geometries, holes and no self-overlaps. In this case, I suggest to use the gvSIG buffer geoprocess and not the SEXTANTE one to avoid the "name descriptor issue" (#2851) because you have an ID field yet and SEXTANTE buffer tries to add another one.

#4 Updated by Álvaro Anguix almost 7 years ago

  • Target version set to 2.4.0-2821 (rev. org.gvsig.desktop-2.0.187)
  • Status changed from New to Won't fix

Also available in: Atom PDF