This project is read-only.

Problem with projection

Jun 29, 2012 at 6:33 PM
Edited Jun 29, 2012 at 6:35 PM

I have a projected shapefile created by MapWindow 4.x that loads OK in that program but which is way off when reprojected "on-the-fly". Here are the prj contents:

PROJCS["unnamed",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6269"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AUTHORITY["EPSG","4269"]],PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",29.5],PARAMETER["standard_parallel_2",45.5],PARAMETER["latitude_of_center",23],PARAMETER["longitude_of_center",-96],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1]]

I would be glad to send the entire shape file (it is small) if that would help.

I am actually needing to get this fixed in an application I have developed using the MW6 libraries, but it is easy to reproduce using the MW application too.

Jul 3, 2012 at 10:25 PM
Edited Jul 3, 2012 at 10:25 PM

Could you say whether this is related to one of these bugs?


Or perhaps, one of the open bugs?

Jul 9, 2012 at 1:41 PM

I reviewed the bug reports and my issue doesn't seem to be similar to any of them. No error message occurs. When I load the shape file and have MW auto-reproject, the shapes are way out in the middle of the Atlantic Ocean rather than in Florida, but as I said, the shapefile loads fine using MW4.

Let me know if the shape file would help.


Jul 12, 2012 at 7:48 PM

Feel free to create an issue and attach the shape file (and steps to reproduce problem and the expected result -- perhaps a screenshot from MW4) on the DotSpatial site:

Once it is fixed in DotSpatial, it will bubble up to MapWindow 6.

Jul 12, 2012 at 9:24 PM

Thanks for your reply. Oddly enough, the exact same file now appears to be projecting itself properly (no DLLs or files were changed). If I can reproduce the problem, I will certainly post the file as you suggest.