Add a lenience parameter so that feature parsing will do its best to fit the 
data into features rather than just drop features.
-------------------------------------------------------------------------------------------------------------------------------

                 Key: GEOT-1049
                 URL: http://jira.codehaus.org/browse/GEOT-1049
             Project: GeoTools
          Issue Type: Improvement
          Components: data wfs
    Affects Versions: 2.2.1
            Reporter: Jesse Eichar
         Assigned To: Jesse Eichar
             Fix For: 2.2.2


It would be nice to have an option in the WFSDatastore so that it will make a 
best guess when parsing features.  This is to handle cases where bad data may 
be present.  IE the data doesn't perfectly match its schema.  Maybe nulls are 
not allowed in the schema but are present in the data.  

I suggest changing the feature type so that it is lenient during parsing ONLY.  
Any other use would still be strict so that programmers get the correct 
feedback when they make a programmatic mistake.  

If the data is invalid the information must be logged.  I suggest at a warning 
level.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to