title: How to rasterize (in a jupyter notebook) using GDAL/OGR , crs of vector file in EPSG: 4326
body: <p>I was trying to rasterize the vector file in python.</p>
  <p>I used this code:</p>
  <p><code> gdal.Grid(&quot;trial2.tif&quot;,&quot;merged2018-19.gpkg&quot;,zfield=&quot;h_li&quot;,algorithm=&quot;nearest&quot;)</code></p>
  <p>(the crs of vector data is in EPSG: 4326 )</p>
  <ol>
  <li>On plotting the vector file in jupyter it showed the coordinates
  X axis: 74 to 78 (longitude value)
  Y axis: 35 to 38 (latitude value)</li>
  </ol>
  <p>After rasterizing using this code
  X Axis: 0 to 250
  Y Axis: 250 to 0</p>
  <p>ie its crs value is lost (I guess)</p>
  <ol start="2">
  <li>it created a raster file but with pixel resolution (0.015625 degree, 0.01171875 degree) which is quite large enough.</li>
  </ol>
  <p>How can I regulate the pixel size here.</p>