Error handling: Guided Shapefile Import
When uploading a Shapefile generated with Autodesk with a somewhat obscure projection “Netherlands, Rijksdriehoeksmeting, Oblique Stereographic” the viewer gives the following error:
“Er is een onverwachte fout opgetreden. Meer gedetailleerde diagnostische informatie is mogelijk beschikbaar in de browserconsole. Neem contact op met de sitebeheerder als het probleem zich blijft voordoen.”
The error in the console is something like e is not set. I guess that the coordinatesystem field does not receive any value.
It would be nice if the end-user knows that the projection file is not recognized by the viewer.
The contents of the shape.prj file is this (without linebreaks):
PROJCS["Netherlands-RD",
GEOGCS["DutchRD.LL",
DATUM["RD",
SPHEROID["Bessel_1841",6377397.155,299.15281280],
TOWGS84[565.0400,49.9100,465.8400,0.409400,-0.359700,1.868500,4.07720000]],
PRIMEM["Greenwich",0],
UNIT["Degree",0.017453292519943295]],
PROJECTION["Double_Stereographic"],
PARAMETER["False_Easting",155000.000],
PARAMETER["False_Northing",463000.000],
PARAMETER["Latitude_Of_Origin",52.15616055555555],
PARAMETER["Central_Meridian",5.38763888888889],
PARAMETER["Scale_Factor",0.999907900000],
UNIT["Meter",1.00000000000000]]
To be clear, I don't mind Vertigis not understanding the projection. But I would like the error handling to be more clear to the end user. Or just leave the Coordinatesystem number blank or default.
The reason Vertigis does not understand the projection is DATUM["RD", is not a well known Datum name. If Autodesk would have used DATUM["D_Amersfoort", it would have worked.
Please sign in to leave a comment.
Comments
0 comments