> > I am looking at the uDig and want to develop a couple of plug-ins for my > project. I have been using Quantum GIS for a while. I consider switching from > QGIS to uDig because the technologies with uDig are more closed to our > project. The QGIS has a very nice feature which can create or add a Vector > layer based on a spatial query. Does uDig have a similar feature built in or > some additional plug-ins to do this? > > > >
The raw technology is available in GeoTools; but no we have not sorted out a way to do it cleanly. However there are two interesting workarounds: 1. Add your layer 2. Open the Style Editor 3. navigate to the Filter page 4. Add in your spatial filter 5. The layer will now only show features that match the filter The second option is similar 1. Open the table view 2. Provide a filter (defining a selection by hand - you can use a either full text, attribute match or a CQL expression) 3. The features matching the selection are selected 4. Copy and paste the features into a new layer I will add those instructions to the online docs: - http://udig.refractions.net/confluence/display/EN/Create+Layer+from+Query > And also, I created a number of new spatial database tables in PostGIS which > QGIS can find all of them but uDig did not when I went from (Layer à Add à > PostGIS Diaglog box à List button). I have tried the latest version of uDig > (v1.2.3). Would you have ideas what went wrong? Sometimes applications do not register their tables with the geometry columns table; please check. Other than that you may wish to right click in the catalog and reset or refresh the service; this will give it a chance to notice additional tables. It should not be a problem for PostGIS however. The uDig 1.2.3 release is not through QA yet (and thus not announced - thank you for testing).
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
