Solve projection differences between ArcMap and ArcPad automatically via VBS?

2655
2
Jump to solution
05-16-2013 04:24 AM
ValentinWittich
New Contributor III

Hi all,

since ArcMap 10.1 I have an issue with projection differences when I create a ArcPad 10 Project with the ArcPad Data Manager. In my example its about the German Projection DHDN_3_Degree_Gauss_Zone_3. The only difference is that in ArcMap the name of the projection is Transverse_Mercator and ArcPad need it with the projection name Gauss_Kruger.

I can change that easy manually after I created a project, but its annoying, especially when you forget about it and open the project on the field device and it doesn't show the shape.

My idea is to rewrite the PRJ file automatically before its shape get loaded. Or is there a better way to avoid these project conflict?

Regards
Valentin

0 Kudos
1 Solution

Accepted Solutions
ValentinWittich
New Contributor III
Just found a typo... Gauss without R please!

fart.exe -r -- *.prj "Transverse_Mercator" "Gauss_Kruger"

View solution in original post

0 Kudos
2 Replies
ValentinWittich
New Contributor III
My idea is to rewrite the PRJ file automatically before its shape get loaded. Or is there a better way to avoid these project conflict?


Because it got my nerves to correct the projection manually, I finally found a way to do it automatically. There for I put a little batch file together which excuse the following command:

fart.exe -r -- *.prj "Transverse_Mercator" "Grauss_Kruger"


The code use the text command line utility "FART".

Best regards
Valentin
0 Kudos
ValentinWittich
New Contributor III
Just found a typo... Gauss without R please!

fart.exe -r -- *.prj "Transverse_Mercator" "Gauss_Kruger"
0 Kudos