According to the Wiki, Spies is a technology which
allows a player to see their enemies' Line of Sight.
And Cartography:
allows a player to share their allies' Line of Sight.
In this case, if I research Spies, will my ally be able to see my enemies line of sight? If yes, we could split the required gold