Hi all, my function like this to detect error geometry in a shapefile
but the query is not found

 private void errorTopology() throws Exception {
        String typeName = (String) featureTypeCBox.getSelectedItem();
        SimpleFeatureSource source = dataStore.getFeatureSource(typeName);
        //this function is not found
        Filter filter = CQL.toFilter("not st_isvalid(the_geom)");
        SimpleFeatureCollection features = source.getFeatures(filter);
        FeatureCollectionTableModel model = new
FeatureCollectionTableModel(features);
        table.setModel(model);
    }
what is the true query to put at this filter

Thanks

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to