{"id":20002285,"url":"https://github.com/chasmack/arcgis-coord-transform","last_synced_at":"2025-03-02T00:15:53.751Z","repository":{"id":96777081,"uuid":"161545850","full_name":"chasmack/arcgis-coord-transform","owner":"chasmack","description":"Local coordinate transforms for ArcGIS Pro","archived":false,"fork":false,"pushed_at":"2020-01-20T23:20:04.000Z","size":320,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T13:14:43.352Z","etag":null,"topics":["arcgis-pro","coordinate-transformations","local-coordinates","python-toolbox","similarity-transformations"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chasmack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-12T21:13:13.000Z","updated_at":"2021-03-31T18:56:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"30a2c6ad-4df8-4d82-aed7-c5c624283823","html_url":"https://github.com/chasmack/arcgis-coord-transform","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chasmack%2Farcgis-coord-transform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chasmack%2Farcgis-coord-transform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chasmack%2Farcgis-coord-transform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chasmack%2Farcgis-coord-transform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chasmack","download_url":"https://codeload.github.com/chasmack/arcgis-coord-transform/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241439861,"owners_count":19963142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arcgis-pro","coordinate-transformations","local-coordinates","python-toolbox","similarity-transformations"],"created_at":"2024-11-13T05:20:27.036Z","updated_at":"2025-03-02T00:15:53.715Z","avatar_url":"https://github.com/chasmack.png","language":"Python","readme":"### ArcGIS Coordinate Transform\n\nProjected geographic coordinates have several advantages for the land surveyor. \nGeographic points and linework drop directly onto aerial imagery and inexpensive handheld \nGPS receivers can be used for search.\n\nHowever many small and medium size projects use local coordinates, ground distances \nand true or record bearings. Local coordinates are familiar, and mapping is often \nrecorded with a true or record basis of bearings. \n\nThe ArcGIS Pro tools in this project provide a link between the local project coordinates \nand projected geographic data in a GIS project. \n\nThe tools use the geoprocessing environment variables `workspace` and `outputCoordinateSystem`. \nThe tools also assume points are saved in a Feature Dataset called Points and use a \nFeature Class template called Points\\PointsTemplate. Initialize the points templare \nfrom the ArcGIS Pro Python window -\n\n    sys.path.insert(0, r'D:\\Projects\\Python\\ArcGIS_Coord_Transform')\n    from tools.utils import create_points_template\n    create_points_template()\n\nStart by creating project boundaries and other features using traditional CAD tools. \nCreate points and export a PNEZD points file. Import these local points into an ArcGIS \ngeodatabase with the Import PNEZD tool using no transform.\n\nNext, set up an ArcGIS Pro project using an appropriate projected coordinate system. \nCreate a feature class with one or more projected geographic points in the ArcGIS project. \nThese points represent the target positions for corresponding local points. Initially this \nmight be a rough location picked from an aerial image or geographic coordinates from a map \nor GPS shot.  A single point and rotation will be enough to get started. \n\nNow use the Calculate Transform tool to generate the four-parameter transform file used to \nimport points and linework into the ArcGIS project. Input for the Calculate Transform tool \ncan be entered manually or placed into a Transform.xml parameter file. In many cases transform \nparameters will be recalculated as more accurate geographic positions become available. \n\nFinally, use the Import CAD and Import PNEZD tools with the transform parameters to create \nfeature classes and transform coordinates to the projected coordinate system. If in the future \nthe transform in updated features can either be reimported using the new transform parameters \nor run through the Transform Features tool, once using the old transform parameters in the \nInverse direction and again using the new parameters in the Forward direction.\n\nThe parameter file has the four parameters for a similarity transform: x/y translation, \nrotation and scale. They are expressed as a0, b0, a1, b1 where -\n\n    a1 = scale * cos(rotate)\n    \n    b1 = scale * sin(rotate)\n\n    a0 = x1 - a1 * x0 + b1 * y0\n\n    b0 = y1 - b1 * x0 - a1 * y0\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchasmack%2Farcgis-coord-transform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchasmack%2Farcgis-coord-transform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchasmack%2Farcgis-coord-transform/lists"}