ogr2ogr output format will fail if no features are returned
-----------------------------------------------------------

                 Key: GEOT-3373
                 URL: http://jira.codehaus.org/browse/GEOT-3373
             Project: GeoTools
          Issue Type: Bug
    Affects Versions: 2.7-M5
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.7-M5


This is due to two issues:
- npe on geotools (http://jira.codehaus.org/browse/GEOT-3372)
- ogr2ogr is not able to handle an empty gml feature collection

For the latter the solution is to use an empty shapefile instead, resurrecting 
the shapefile writing code for the case of empty collections

-- 
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

        

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to