Can anyone explain why the geometryless plugin has been moved to the
unsuporrted modules
in the current geotools trunk. Is this solely a short term decision due to
the current stability
which may later be revoked or are there plans to displace it by another
module/plugin.
If the latter is the case which will be the favorite way to provide feature
data associated
with a certain point location.

If the geometryless plugin is an ongoing development, wouldn't it make sense
to branch the
current stable 2.3.1 tag to reflect some of the usefull changes found in
2.4.x, e.g.
the strange dependcy on the availability of a schema parameter. Another
point would be to
rewrite the LocationsXYDataStoreFactory#canProcess method in both releases,
i.e. trunk and 2.3.1 branch
as specified below. On one hand this is a minor performance improvement and
more
important on the other hand less confusing trace output for param
configurations that are not at all
dedictaed to loctationsxy data stores, e.g.
LOGGER.finer("LocationsXYDataStoreFactory: can Process Cannot find params
");



    public boolean canProcess(Map params) {
        Object value;

        if (params == null || !(((String)
params.get("dbtype")).equalsIgnoreCase("locationsxy"))) {
            return (false);
        }

        for (int i = 0; i < arrayParameters.length; i++) {
            if (!(((value = params.get(arrayParameters[i].key)) != null) &&
(arrayParameters[i].type
                .isInstance(value)))) {
                if (arrayParameters[i].required) {
                    LOGGER.config("LocationsXYDataStoreFactory: canProcess() 
Cannot find
param " + arrayParameters[i].key + ":" + arrayParameters[i].type + value );
                    return (false);
            }
        }

        return (true);
    }
-- 
View this message in context: 
http://www.nabble.com/geometryless.LocationsXYDataStore---unsupported-for-geotools-%3E-2.3.1-tf3839815.html#a10871938
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to