<div dir="ltr"><div dir="ltr">No, didn't use that option. <br>The raster image results are correct though. The results are exactly what I would expect from a tps. The vector results don't exactly match the gcp "to"-points as you would expect.<br>Tried the different order transformations to see if the tps was somehow ignored but these gave different results.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op wo 16 aug 2023 om 11:14 schreef Andrew C Aitchison <<a href="mailto:andrew@aitchison.me.uk">andrew@aitchison.me.uk</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 16 Aug 2023, Stijn Tallir wrote:<br>
<br>
> Hi,<br>
><br>
> According to the documentation gdal and ogr use the same algorithm for the<br>
> tps-transformation but I don't seem to get the same results using the same<br>
> set of gcp's for images and vectors.<br>
><br>
> I have images that are unreferenced and vector data digitised on these<br>
> images (in pixel coordinates).<br>
><br>
> The images are then georeferenced with +100 gcp's and warped with gdalwarp<br>
> using the "tps" option.<br>
><br>
> When I use the same gcp's (with adjusted y-origin to lower left corner) to<br>
> georeference the vector data with ogr2ogr and the "tps" option I get<br>
> different results. The vector-result is similar to the image-result but<br>
> never exactly the same and differences can be substantial.<br>
<br>
Is AREA_OR_POINT set ?<br>
<br>
-- <br>
Andrew C. Aitchison                      Kendal, UK<br>
                    <a href="mailto:andrew@aitchison.me.uk" target="_blank">andrew@aitchison.me.uk</a><br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div></div>