NullReferenceException loading S-57 files

Topics: Data Access, SharpMap v2.0
Jan 28, 2008 at 1:38 PM
Hej guys,

You have some really neat piece of software here. I put together a small sample displaying a shapefile and it works great.

However, I ran into some problems loading an S-57 file. I followed all instructions, installed FWTools and such, but I get a NullReferenceException on line 462 in OgrProvider.cs. I suspect that it's a problem with some dll files but I can't locate it exactly. Could you maybe help?

Another question: What's the business with the gdal_managed.dll? It's not produced by gdal, I tried it. Is some conglomerate of different gdal dlls?

I would be happy looking forward putting together some samples for you.
Feb 24, 2008 at 3:19 PM
Okay, I got it. The problem is that the loaded layer didn't contain any geometries so be sure to check for that if you're using it.