It does not. The capability exists in geotools but we have not found a 
volunteer or funding to hook it up to a UI yet. 



On 21/10/2011, at 12:48 PM, ZHAO Gorton <[email protected]> wrote:

> Thank you, Jody,
>  
> My query is not as simpler as you mentioned. It will invoke a number of 
> PostGIS stored procedures. The QGIS does this very well. My concern is if the 
> uDig has the capacity to do the same.
>  
> Regards,
> Gorton ZHAO,
>  
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Jody Garnett
> Sent: Friday, 21 October 2011 12:49 PM
> To: User-friendly Desktop Internet GIS
> Subject: Re: [udig-devel] Can uDig create a layer based on a spatial query? 
> Cannot find spatial database tables...
>  
> 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). 
> Before printing, please consider the environment. IMPORTANT NOTICE: This 
> e-mail and any attachment to it are intended only to be read or used by the 
> named addressee. It is confidential and may contain legally privileged 
> information. No confidentiality or privilege is waived or lost by any 
> mistaken transmission to you. The RTA is not responsible for any unauthorised 
> alterations to this e-mail or attachment to it. Views expressed in this 
> message are those of the individual sender, and are not necessarily the views 
> of the RTA. If you receive this e-mail in error, please immediately delete it 
> from your system and notify the sender. You must not disclose, copy or use 
> any part of this e-mail if you are not the intended recipient.
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to