1
Vote

File Projection Problem

description

I have really tried to work this out, but to no avail. I have a U.S. states outline shapefile (taken from BASINS in MW4) that has a .PRJ file. BASINS creates another shapefile with the same name (in another folder) that has a different projection (Albers). When I load the two layers in MW4, I get a warning to reproject the second file, and then the two files correspond exactly.
 
When I follow the same procedure in MW6 (and my own application written using DS) I get a warning that the projections are different and the second one needs to be reprojected. When it does that, the coordinates are way off.
 
Similarly, in my application I load only the Albers projected file (do not reproject) and as my cursor moves over the map I translate from the projected x,y values to Lat/Long; these computed values are also way off.
 
Can you please take a look at these files for me?
 
Thanks
 
P.S. This problem occurs with MANY files during reprojection, not just this one.

file attachments

comments

lloydchriswilson wrote Sep 11, 2012 at 7:42 PM

Please ignore first attachment; had to split into multiple parts

lloydchriswilson wrote Sep 11, 2012 at 7:43 PM

OK, now I see the file names are the same; let me try again with new names...

lloydchriswilson wrote Sep 11, 2012 at 7:43 PM

...and now the second part...

lloydchriswilson wrote Sep 12, 2012 at 1:41 PM

It appears that the problem may be associated with the Albers Equal Area projection, perhaps in accordance with http://dotspatial.codeplex.com/workitem/22934. When I take my subset (2 state) shape file and reproject to something else, then try to load using MW6, everything lines up fine.

Is there any chance that the projection problem with AEA can get fixed by someone knowledgeable about this part of the code?