Thanks, Frank. I am not familiar with the gdal development at all. But I think replacing the driver binary with this new one wit your change should fix the behavior locally for me?<br><br>Kaarigar<br>============<br><br><div class="gmail_quote">
On Thu, May 10, 2012 at 9:32 AM, Frank Warmerdam <span dir="ltr"><<a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
OK, I have reworked the xyz driver a bit. The change is at:<br>
<br>
<a href="http://trac.osgeo.org/gdal/changeset/24402" target="_blank">http://trac.osgeo.org/gdal/changeset/24402</a><br>
<br>
It should be possible to retrofit the driver into older version. Code at:<br>
<br>
<a href="http://svn.osgeo.org/gdal/trunk/gdal/frmts/xyz/xyzdataset.cpp" target="_blank">http://svn.osgeo.org/gdal/trunk/gdal/frmts/xyz/xyzdataset.cpp</a><br>
<br>
Best regards,<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, May 10, 2012 at 9:06 AM, Frank Warmerdam <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>> wrote:<br>
> Ah, I see I misunderstood what Even's change was doing. I'll work on this.<br>
><br>
><br>
> On Thu, May 10, 2012 at 8:56 AM, Frank Warmerdam <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>> wrote:<br>
>> Folks,<br>
>><br>
>> I have discovered Even already implemented my idea for XYZ and AAIGRID<br>
>> 19 months ago. Based on that I don't know why you are seeing a large<br>
>> wait on closing.<br>
>><br>
>> <a href="http://trac.osgeo.org/gdal/changeset/20770/trunk/gdal/frmts/xyz" target="_blank">http://trac.osgeo.org/gdal/changeset/20770/trunk/gdal/frmts/xyz</a><br>
>><br>
>> hmm, I see a reference to 1.9dev - perhaps that was an old 1.9 pre-release<br>
>> version that predated the above change? Perhaps you just need to update.<br>
>><br>
>> Best regards,<br>
>> Frank<br>
>><br>
>> On Thu, May 10, 2012 at 8:49 AM, Frank Warmerdam <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>> wrote:<br>
>>> It should be possible to specially implement the CreateCopy for XYZ<br>
>>> format to avoid this. I'll investigate this.<br>
>>><br>
>>> Best regards,<br>
>>><br>
>>><br>
>>> On Thu, May 10, 2012 at 8:30 AM, kaarigar <<a href="mailto:kaarigar@gmail.com">kaarigar@gmail.com</a>> wrote:<br>
>>>><br>
>>>> Etienne Tourigny-3 wrote<br>
>>>>><br>
>>>>> Something that is not apparent is that gdal_translate (via driver's<br>
>>>>> GDALCreateCopy()) usually opens the new dataset after creation, and<br>
>>>>> the XYZ file loading is slow:<br>
>>>>><br>
>>>> That explains it - the XYZ file created is ~4gb in size - it would take it a<br>
>>>> very very long time to figure out the details from it. What I don't<br>
>>>> understand is why gdal_translate would want to open the created xyz file? Is<br>
>>>> there a special build of this utility that doesn't do this?<br>
>>>><br>
>>>> --<br>
>>>> View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/gdal-translate-waits-at-the-end-of-operation-tp4964258p4965947.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/gdal-translate-waits-at-the-end-of-operation-tp4964258p4965947.html</a><br>
>>>> Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
>>>> _______________________________________________<br>
>>>> gdal-dev mailing list<br>
>>>> <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
>>>> <a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> ---------------------------------------+--------------------------------------<br>
>>> I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>
>>> light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
>>> and watch the world go round - Rush | Geospatial Software Developer<br>
>><br>
>><br>
>><br>
>> --<br>
>> ---------------------------------------+--------------------------------------<br>
>> I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>
>> light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
>> and watch the world go round - Rush | Geospatial Software Developer<br>
><br>
><br>
><br>
> --<br>
> ---------------------------------------+--------------------------------------<br>
> I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>
> light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
> and watch the world go round - Rush | Geospatial Software Developer<br>
<br>
<br>
<br>
--<br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush | Geospatial Software Developer<br>
</div></div></blockquote></div><br>