Open chris-macdermaid opened 1 year ago
I believe the horizontal projection is incorrectly coded for CSDGM. You must choose from the standard projection domain, and provide the requisite parameters, or, if you are defining a custom projection (free form projection name), then you must describe the projection parameters in "otherprj" as free form text. Also, the coordinate system encoding, units and coordinate resolution must be defined. An example text file is enclosed: (https://github.com/adiwg/mdTranslator/files/11560791/WebMapMercatorAuxSphere.txt)
This is a custom Mercator projection used in ESRI applications. The parameters for this projection can be found here: https://desktop.arcgis.com/en/arcmap/latest/map/projections/mercator.htm [WebMapMercatorAuxSphere.txt]
Running version 2.17.1 and 2.18.1 causes an uncaught exception. FGDC XML is attached as a txt file.
Running it locally shows the following error
mdtranslator translate Congressional-Districts-20230523.xml -r fgdc -w iso19115_2
mdTranslator/lib/adiwg/mdtranslator/readers/fgdc/modules/module_horizontalPlanar.rb:59:in `unpack': undefined method `empty?' for nil:NilClass (NoMethodError)