[udig-devel] Populating a new feature when creating new geometries
[was: Doubt on the catalog ConnectionFactory extension]
Mauro Bartolomeoli
m.bartolomeoli at esalab.it
Thu May 22 08:34:46 PDT 2008
Thanks, now the usage is clear.
Another question, unrelated to the previous one: when I create a new
geometry, how can I edit the Feature attributes before committing it? If
I commit the geometry without compiling attributes (the required ones) I
get insert errors on the DataStore (the Feature is empty except for the
Geometry). Is it possible to get a valid Feature in uDig before
committing or is it a DataStore job to create a valid empty Feature and
let the user compile the attributes after the initial commit?
Thanks,
Mauro
Jesse Eichar wrote:
> The ConnectionFactory/ServiceExtension duo make me angry and need to
> be fixed they came into originally the ServiceExtension was there but
> drag and drop needed more functionality in order to work so
> ConnectionFactory was created rather than extending ServiceExtension
> functionality. I want to merge the two into a single class but for
> now the ConnectionFactory is required for dragging and dropping URLs
> onto the map.
>
> Jesse
>
> On 22-May-08, at 11:40 AM, Mauro Bartolomeoli wrote:
>
>> I'm developing a plugin to implement a new type of layer for Udig
>> 1.1.x. This layer uses a GeoTools DataStore as a source for data,
>> connecting to a custom spatial database.
>> I started "copying" the Postgis plugin, which seems quite similar to
>> the one I need to write. The plugin is now correctly rendering data
>> from the DataStore, without the implementation of a ConnectionFactory
>> (the factory extension has been defined and the related class exists,
>> but I didn't write any meaningful code in it). Now my question is:
>> what's the purpose of the factory extension? Which features of Udig
>> needs it?
>>
>> Thanks in advance,
>> Mauro Bartolomeoli
>>
>>
>> _______________________________________________
>> 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
More information about the udig-devel
mailing list