tags:

views:

30

answers:

2

hi

how to convert from ITM ref (Israel new map) to GPS ref and from GPS ref to ITM ref?

i need any C# sample code or formula for this

for example: 32.086156,34.769239 = 178364,665948

or : 29.548783,34.952316 = 194997,384546

thank's in advance

+1  A: 

I think it must be the Israeli Transverse Mercator, from the example given. There are a number of UTM to lat/long conversion tools available. Here someone has C++ code. I'd sugggest you ask the question on the GIS Stack Exchange site, and are prepared to write the C# code yourselves. Start with a test suite, and it shouldn't be hard - it's a straightforward mathematical formula after all.

chryss
There's a JS version here - http://code.google.com/p/js-itm/
Lloyd
Ah, nice one. Porting to C# should be easy.
chryss
thank's !!! can i get in C# a sample ? i dont know java or java script
Gold
+1  A: 

Yeah, if only we'd called ours IE-TM and you called yours IL-TM, there'd be less ambiguity on an international site like this.

There's a js implementation at http://code.google.com/p/js-itm/ so if the license suits your purposes, you could port that.

Jon Hanna
thank's !!! can i get in C# a sample ? i dont know java or java script
Gold