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

Commented Unassigned: Create Int64 raster not recognized [25545]

$
0
0
Hi all

I was trying to convert a vectorToRaster where the vector value is int64 (the type I keep in converting it to raster).

In Data.BinaryRasterProvider.cs I had to add the following in the create method

```
if (dataType == typeof(Int64))
{
BgdRaster<Int64> r = new BgdRaster<Int64>(name, ySize, xSize);
return r;
}

```

I guess something should be also added to the Open method since it does not deal with Int64. I don't know the number to assign to the type Int64

Thanks
Oscar
Comments: ** Comment from web user: mogikanin **

I'm not sure, but is it Int64 natively supported by .bgd format? Because even there is no Int64 at RasterDataType.cs, so DotSpatial can't read\write these files too.


Viewing all articles
Browse latest Browse all 1128

Trending Articles



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