Help adding Latitud and longitud to IfcSite

Im tring to add RefLatitude and RefLongitud in Bonsai to my site, but when i edit those fields it does not save, any help?

walpa

Comments

  • @SavyGust27 This is a rather curious way. The doc says: https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD2_TC1/HTML/schema/ifcproductextension/lexical/ifcsite.htm
    The key part is: "Defined as integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84"
    So let's say you have a WGS84 coordinate like this:
    40°27'12.3"N 3°41'17.9"W
    40.453418, -3.688308
    According to the documentation you should use:
    RefLatitud: [40, 27, 12, 300000]
    RefLongitud: [-3, 41, 17, 900000]

    And you will then be able to fetch those in the solar analysis tool:

    Cheers!

    NigelMassimowalpasteverugi
  • Incidentally , I think we have a bug in the conversion to decimal when the degrees are negative. Let me raise a PR for that :)
    Cheers.

  • edited 11:36AM

    super helpful @falken10vdl thanks
    by the way, that is only informative and for solar analysis, it doesn't affect georefering of the model, correct?

  • @steverugi I think so. They are kept independent. The only thing that can be imported to solar analysis from the georeferencing information is True North:
    You can fetch in Solar Analysis the value clicking in the download arrow:

    From the value entered in the Georeferncing->True north Panel

    Although independent it makes sense that the Lat/Long is calculated from the Georeferencing information (Easting/Westing + Mapping standard)
    Cheers.

    steverugi
Sign In or Register to comment.