Select to view content in your preferred language

Converting a georeferencing ArcMap tool to ArcGIS Pro tool

521
2
12-16-2022 08:17 AM
Amadeus111
Occasional Contributor II

We have an ArcMap tool helping end-users to georeference pdf/tiff maps. The maps come with drawn and numbered grids on them, and the tool uses grid intersections to georeference the map. Also, end-users can create to aid the visibility of a given cell size, row, and column. 

I have two questions:

1. I checked the ArcGIS pro georeferencing tool and it is superior to what ArcMap offers. I find functionalities for the old tool already available in ArcGIS Pro except for creating grids. Do you think it is worth converting this old tool ArcGIS Pro tool? I would like to have your opinion on that if you use/know both georeferencing options. 

Picture of the old tool. X: Not needed

Amadeus111_0-1671207190321.png

 

2. Is there a class/method in the SDK I can use for georeferencing. Maybe something like this :

sourcePoint1 = x, y...

targetPoint1 = x, y...

controlPoints = { sourcePoint1, targetPoint1, ....sourcePointN, targetPointN}

Georeference (controlPoints, CurrentMapProjection, TargetMapProjection) 

I found some bits and pieces but nothing that I am looking for. 

 

I would appreciate any help. Thanks in advance!

 

 

0 Kudos
2 Replies
Wolf
by Esri Regular Contributor
Esri Regular Contributor

 

Regarding 2)

you can use GP Tools to perform this workflow (Georeference a raster to a referenced layer—ArcGIS Pro | Documentation)

You can first call on the 'Warp' GP Tool: How Warp works—ArcGIS Pro | Documentation and then use the 'Raster Projection' GP Tool: Project Raster (Data Management)—ArcGIS Pro | Documentation

You can call these GP tools from the SDK.  

 

Amadeus111
Occasional Contributor II

@Wolf Thanks for the suggestion, I think I will lose some performance but I will see if I can apply. 

0 Kudos