Hi,
I have run the Projections sample app under the regular Map Suite samples without difficulty.
Now, I have incorporated the RenderUSA.vb source from the Render USA sample code, and have been trying to use an alternate projection such as Miller. I've incorporated the two transform classes shown, GeodeticToMiller and MillerToGeodetic.
However, when the sub LoadLayers from class USARenderers is executed I generate an unhandled OverflowException with the following shapefile from the RenderUSA demo code:
mLayers.Add(RenderLayer(New Layer(mDataDirectory + "\USA\rivers.shp", geoTransform_, True)))
where:
' Transform from Geodetic to another projection
geoTransform_ = New GeodeticToMiller()
There are other shape files later that produce the overflow, but I can isolate this one for sure - commented out, the code 'runs', and enabled, it generates the Overflow exception.
Also, I need to perform the projection/transform on the MapShapes layer, but am not sure how to do that.
Ideas on either of these?
thanks,
-jeff kyser