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: Oscarafone77 **
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: Oscarafone77 **
I found in vb.net the typecode tool
it returns an integer identifier for the specified type.
e.g.
```
dim code as integer
code=TypeCode.Int64
```
returns 11 to the variable "code". The problem is that it returns 13 to the type "Single"...so there's no connection with the dotspatial numbering for types.
I found the BGD format only within Mapwindow and Dotspatial, but I read somewhere that it should be some ESRI format (binary grid ...)
Oscar