Quantcast
Channel: DotSpatial Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1128

Closed Issue: Call to GetFeature() when the underlying data has 'null' date fields causes an exception. [25077]

$
0
0
An ArgumentOutOfRange with the message "Year, Month, and Day parameters describe an un-representable DateTime." is thrown when trying to call GetFeature on a polygon whose underlying data has a null value for a date field.

The same scenario is correctly supported by other GIS softwares such as QGIS.

The exception is thrown by "tempObject = new DateTime(year, month, day);" on line 1355 of AttributeTable.cs by using what appears to be all '0' values for the year, month, and day parameters.

Viewing all articles
Browse latest Browse all 1128

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>