VISUALIZAR LOS ELEMENTOS DE UNA CAPA QUE CUMPLAN UNA CONDICIÓN - GVSIGMOBILE

1 message Options
Embed this post
Permalink
roeptisa

VISUALIZAR LOS ELEMENTOS DE UNA CAPA QUE CUMPLAN UNA CONDICIÓN - GVSIGMOBILE

Reply Threaded More More options
Print post
Permalink
Buenas,

Necesito visualizar los registros de una capa que cumplan una determinada condición (por ejemplo, visualizar aquellos registros de una capa cuyo campo "ESTADO" sea igual a 1)
He visto que hay una clase: intervalLegend.java, que quizás me podriá servir para desarrollar este tema, pero no me funciona, no sé si la estoy utilizando bien, he hecho estas pruebas:

        IntervalLegend intervalLegend= new IntervalLegend(symbolPtoRecogida, Color.GREEN,
                                                Color.GREEN, 0);
                                intervalLegend.setMinValue(1);
                                intervalLegend.setMaxValue(1);
                                intervalLegend.setFieldName("ESTADO");
                                fileVectorialPtoRecogida.setIntervalLegend(intervalLegend);

Estoy usando gvsigMobile.

Gracias.