<div dir="ltr">Hello, I'm looking at the constants for CF_PT_* projection families in <div><br></div><div>frmts/netcdf/netcdf_cf_constants.h</div><div><br></div><div>I have a grid_mapping variable with attributes: </div><div><br></div><div>   # float swiss_lv95_coordinates ;<br>       #          swiss_lv95_coordinates:_FillValue = -1.f ;<br>       #          swiss_lv95_coordinates:grid_mapping_name = "Oblique Mercator (LV95 - CH1903+)" ;<br>       #          swiss_lv95_coordinates:longitude_of_projection_center = 7.43958333 ;<br>       #          swiss_lv95_coordinates:latitude_of_projection_center = 46.9524056 ;<br>       #          swiss_lv95_coordinates:false_easting = 2600000. ;<br>       #          swiss_lv95_coordinates:false_northing = 1200000. ;<br>       #          swiss_lv95_coordinates:inverse_flattening = 299.1528128 ;<br>       #          swiss_lv95_coordinates:semi_major_axis = 6377397.155 ;<br>      <br clear="all"><div>and by my understanding this would require something like</div><div><br></div><div>#define    CF_PT_LV95     "Oblique Mercator (LV95 - CH1903+)"</div><div><br></div><div>and then attendant logic in the driver for that case, this is "EPSG:2056". </div><div><br></div><div>It seems like this is a very long project of collating specific values used for a crs name ... where the more general case would use those parameters to build an Oblique Mercator - but this is Swiss oblique mercator  with a simpler set of initialization params. </div><div><br></div><div>Is it a case of needing a very specific else if to match this case, or is there some more to this? </div><div><br></div><div>Is it worth contributing cases as PRs?</div><div><br></div><div>(I'm inclined to advise "use -a_srs 'EPSG:2056'". )</div><div><br></div><div>Cheers, Mike</div><div><br></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Michael Sumner<br>Software and Database Engineer<br>Australian Antarctic Division<br>Hobart, Australia<br>e-mail: <a href="mailto:mdsumner@gmail.com" target="_blank">mdsumner@gmail.com</a></div></div></div>