BIIIIG FIXES
This commit is contained in:
@@ -41,7 +41,7 @@ Example layout for 100 points and 50 triangles:
|
||||
Total file size: 1864 bytes
|
||||
|
||||
Coordinate System:
|
||||
Input: Ohio State Plane North (EPSG:3734) in US Survey Feet
|
||||
Input: Ohio State Plane South (EPSG:3735) in US Survey Feet
|
||||
Output: Web Mercator (EPSG:3857) in meters
|
||||
This ensures compatibility with MapLibre GL JS and web mapping standards.
|
||||
"""
|
||||
@@ -74,9 +74,9 @@ def transform_to_webmercator(x, y, z):
|
||||
"""Transform Ohio State Plane coordinates to Web Mercator (EPSG:3857)."""
|
||||
print("Transforming coordinates to Web Mercator...")
|
||||
|
||||
# Ohio State Plane North (EPSG:3734) in US Survey Feet to Web Mercator (EPSG:3857) in meters
|
||||
# Newark is in the North zone
|
||||
transformer = Transformer.from_crs("EPSG:3734", "EPSG:3857", always_xy=True)
|
||||
# Ohio State Plane South (EPSG:3735) in US Survey Feet to Web Mercator (EPSG:3857) in meters
|
||||
# The lidar data uses FIPS 3402 (Ohio South) per metadata
|
||||
transformer = Transformer.from_crs("EPSG:3735", "EPSG:3857", always_xy=True)
|
||||
|
||||
# Transform x,y (easting, northing) to Web Mercator meters
|
||||
merc_x, merc_y = transformer.transform(x, y)
|
||||
|
||||
Reference in New Issue
Block a user