<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT size=2 face=Arial><SPAN
class=543255800-27012023><SPAN class=769482304-27012023><FONT color=#000080>Hi
All,</FONT></SPAN></SPAN></DIV>
<DIV>
<DIV><SPAN class=543255800-27012023><SPAN class=769482304-27012023><FONT
color=#000080></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=769482304-27012023><SPAN class=311384305-27012023><FONT
color=#000080>in an application I have a user click on a map and I need to
programmatically clip a raster layer </FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=769482304-27012023><SPAN class=311384305-27012023><FONT
color=#000080>to the one raster cell for those coordinates at the click
location. </FONT></SPAN></SPAN></DIV>
<DIV><FONT color=#000080><SPAN class=769482304-27012023><SPAN
class=311384305-27012023>I was looking e.g. at <A
href="https://gdal.org/programs/gdal_rasterize.html">https://gdal.org/programs/gdal_rasterize.html</A> to
run as a command <BR>line tool, but so far could not figure out if I can some
can "feed" that a vector point to the tool as an
input</SPAN></SPAN></FONT></DIV>
<DIV><FONT color=#000080><SPAN class=769482304-27012023><SPAN
class=311384305-27012023>without first writing a shape file with the point
onto disk. </SPAN></SPAN></FONT></DIV>
<DIV><FONT color=#000080><SPAN class=769482304-27012023><SPAN
class=311384305-27012023>
<DIV><SPAN class=769482304-27012023><SPAN class=311384305-27012023><FONT
color=#000080><BR>Does somebody have any pointers to a command line tool (or a
python example) I could use to achieve this
?</FONT></SPAN></SPAN><SPAN class=769482304-27012023><SPAN
class=311384305-27012023></SPAN></SPAN><FONT color=#000080><SPAN
class=769482304-27012023><SPAN
class=311384305-27012023> </SPAN></SPAN></FONT></DIV></SPAN></SPAN></FONT></DIV>
<DIV><FONT color=#000080><SPAN class=769482304-27012023><SPAN
class=311384305-27012023></SPAN></SPAN></FONT> </DIV>
<DIV><FONT color=#000080><SPAN class=769482304-27012023>Thanks<SPAN
class=311384305-27012023> <BR></SPAN></SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 'Verdana','sans-serif'">Karsten</SPAN></FONT></DIV>
<DIV><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 'Verdana','sans-serif'"></SPAN></FONT> </DIV></DIV>
<DIV align=left>
<DIV><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Verdana','sans-serif'">Karsten
Vennemann<BR></SPAN><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: 'Verdana','sans-serif'">Principal<BR><BR><SPAN
style="COLOR: #003264">Terra GIS LTD<BR>2119 Boyer Ave E
<BR>Seattle, WA 98112<BR>USA <BR><A
title="http://www.terragis.net/
blocked::http://www.terragis.net/"
href="http://www.terragis.net/"><FONT title=http://www.terragis.net/
color=#0000ff>www.terragis.net</FONT></A></SPAN></SPAN></DIV></DIV></BODY></HTML>