-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Issue
I am using a .shp file that describes an area in Zurich, Switzerland and I used Gismo in Rhino 7.34 to import the geometry into grasshopper. The SHP to Location battery generates location which is roughly 47.38N, 8.48E.
When I use LocationToXY (ver 0.0.3, Jan_29_2019) however, the location was translated into point (294608, 5248100).

Expected Behaviour
According to the geo location of Zurich, EPSG 32632 should be an appropriate coordination system, which will translate 47.38N, 8.48E into (460629, 5214800).
Possible location of issue
I looked into the code of LocationToXY, and found that the output EPSG was determined by latitude and longitude automatically.
def main(requiredLocation, anchorLocation, anchorOrigin):
...
# inputCRS
EPSGcode = 4326
inputCRS = gismo_gis.CRS_from_EPSGcode(EPSGcode)
# outputCRS
outputCRS = gismo_gis.UTM_CRS_from_latitude(required_locationLatitudeD, required_locationLongitudeD)I tried to modify the output CRS to:
# outputCRS
outputCRS = gismo_gis.CRS_from_EPSGcode(32632)But the output stays the same.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels