<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Times New Roman, Times, serif">Hi Jose, I can produce a
working gsb file, but somehow the coordinate range is wrong. It
must have something to do with the way the base grids are produced
with gdal-grid. Could you give me an example of working long/lat
distance grids (surfer is OK), and the way you made them?<br>
<br>
Jan<br>
<br>
</font>
<div class="moz-cite-prefix">On 01/18/2013 11:51 AM, Jose Gonçalves
wrote:<br>
</div>
<blockquote
cite="mid:CALHLaOTnorvUvAoHm5pxyMskjRGXRNJugW-=rZSJBs62P2VXWg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Hello<br>
<br>
I have a program to create GSB files from two long/lat difference
grids in Surfer format.<br>
<a moz-do-not-send="true"
href="http://www.fc.up.pt/pessoas/jagoncal/coordenadas/write_gsb.exe">http://www.fc.up.pt/pessoas/jagoncal/coordenadas/write_gsb.exe</a><br>
<br>
You can check with it. The longitude difference in the input grid
are in the standard way (east positive).<br>
<br>
<br>
Regards<br>
<br>
José A. Gonçalves<br>
<br>
<br>
<br>
<br>
<div class="gmail_quote">2013/1/17 Jan Hartmann <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:j.l.h.hartmann@uva.nl"
target="_blank">j.l.h.hartmann@uva.nl</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <font face="Times New
Roman, Times, serif">(Sorry for crossposting, don't know
if it is a gdal or proj problem )<br>
<br>
This has been discussed on this list some time ago. I have
been able to create a working nadgrid file with gdal, but
it doesn't return the right coordinates. I did it as
follows:<br>
<br>
- create a 4 band, float32 geotif, each pixel with the
displacements in lat, lon (arcseconds), errorx and errory
(both zero)<br>
- gdal-translate it to ntv2-format.<br>
<br>
The displacements in the geotiff are correct, and proj
returns shifted coordinates when using the ntv2-file, but
not on the right location. I'm really out of my wits.
Could it have something to do with ntv2 using negative
lon-values east of Greenwich? Any help would be
appreciated.<span class="HOEnZb"><font color="#888888"><br>
<br>
Jan </font></span></font><br>
</div>
<br>
_______________________________________________<br>
Proj mailing list<br>
<a moz-do-not-send="true"
href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a><br>
<a moz-do-not-send="true"
href="http://lists.maptools.org/mailman/listinfo/proj"
target="_blank">http://lists.maptools.org/mailman/listinfo/proj</a><br>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Proj mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/proj">http://lists.maptools.org/mailman/listinfo/proj</a></pre>
</blockquote>
<br>
</body>
</html>