[Qgis-user] Point Shape file to Raster conversion.
Hello, I have a point shape file. Is it possible to convert it to a raster such that the resultant file will also appear like points only. Similar to how it was looking like when it was a vector file. Regards. [image: image.png] ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Point Shape file to Raster conversion.
You can export the map canvas as a png with a world file. If you want a specific dimension or aspect ratio you can do the same with the layout manager. On Mon, 20 Sep 2021, 20:37 krishna Ayyala, wrote: > Hello, > I have a point shape file. Is it possible to convert it to a raster such > that the resultant file will also appear like points only. Similar to how > it was looking like when it was a vector file. > > Regards. > > [image: image.png] > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Point Shape file to Raster conversion.
Charles, Thanks for your reply. By exporting it as a png, I am losing the georeferenced information.i.e. when I add this png to my map, it is not falling at the appropriate location. When you get a chance, can you please guide me, How do I export it to a raster such that I do not lose the georefereced information, at the same time it should look like similar to the vector file. Regards. On Mon, Sep 20, 2021 at 1:27 PM Charles Dixon-Paver wrote: > You can export the map canvas as a png with a world file. If you want a > specific dimension or aspect ratio you can do the same with the layout > manager. > > On Mon, 20 Sep 2021, 20:37 krishna Ayyala, > wrote: > >> Hello, >> I have a point shape file. Is it possible to convert it to a raster such >> that the resultant file will also appear like points only. Similar to how >> it was looking like when it was a vector file. >> >> Regards. >> >> [image: image.png] >> ___ >> Qgis-user mailing list >> Qgis-user@lists.osgeo.org >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >> > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Point Shape file to Raster conversion.
You can use the *Project >> Import/Export >> Export Map to Image* and then make sure you select the "*Append georeference information*" option. I have set up a screenshot here: https://imgur.com/a/soAI4E5 If you still don't have any luck try making sure you are using a projected CRS. Regards On Mon, 20 Sept 2021 at 21:45, krishna Ayyala wrote: > Charles, > Thanks for your reply. By exporting it as a png, I am losing the > georeferenced information.i.e. when I add this png to my map, it is not > falling at the appropriate location. When you get a chance, can you please > guide me, How do I export it to a raster such that I do not lose the > georefereced information, at the same time it should look like similar to > the vector file. > > Regards. > > On Mon, Sep 20, 2021 at 1:27 PM Charles Dixon-Paver > wrote: > >> You can export the map canvas as a png with a world file. If you want a >> specific dimension or aspect ratio you can do the same with the layout >> manager. >> >> On Mon, 20 Sep 2021, 20:37 krishna Ayyala, >> wrote: >> >>> Hello, >>> I have a point shape file. Is it possible to convert it to a raster such >>> that the resultant file will also appear like points only. Similar to how >>> it was looking like when it was a vector file. >>> >>> Regards. >>> >>> [image: image.png] >>> ___ >>> Qgis-user mailing list >>> Qgis-user@lists.osgeo.org >>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >>> >> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Point Shape file to Raster conversion.
Charles, When you get a chance, can you please help me with one question? I have created a geotiff file as per the direction in the link below. When I add this geotiff file to google earth, I am getting all the points but a white background. Is there a way to eliminate this white background? https://imgur.com/a/soAI4E5 On Mon, Sep 20, 2021 at 1:54 PM Charles Dixon-Paver wrote: > You can use the *Project >> Import/Export >> Export Map to Image* and > then make sure you select the "*Append georeference information*" option. > I have set up a screenshot here: https://imgur.com/a/soAI4E5 > > If you still don't have any luck try making sure you are using a projected > CRS. > > Regards > > On Mon, 20 Sept 2021 at 21:45, krishna Ayyala > wrote: > >> Charles, >> Thanks for your reply. By exporting it as a png, I am losing the >> georeferenced information.i.e. when I add this png to my map, it is not >> falling at the appropriate location. When you get a chance, can you please >> guide me, How do I export it to a raster such that I do not lose the >> georefereced information, at the same time it should look like similar to >> the vector file. >> >> Regards. >> >> On Mon, Sep 20, 2021 at 1:27 PM Charles Dixon-Paver >> wrote: >> >>> You can export the map canvas as a png with a world file. If you want a >>> specific dimension or aspect ratio you can do the same with the layout >>> manager. >>> >>> On Mon, 20 Sep 2021, 20:37 krishna Ayyala, >>> wrote: >>> Hello, I have a point shape file. Is it possible to convert it to a raster such that the resultant file will also appear like points only. Similar to how it was looking like when it was a vector file. Regards. [image: image.png] ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >>> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Point Shape file to Raster conversion.
The png/tiff export will include the canvas background colors. World files have pixel coordinates though so you should be able to open the image in an image manipulation program like photoshop, paint.net or gimp/glimpse, then just select the background with the magic wand and delete it. Save the resulting image and open it with the world file available and it should work... although that depends on the software used to open it too I guess. There might be an alternative approach using no data values but I'm not sure how to approach it off hand. You can also set the qgis project background to cyan or something if you want to have a more effective chroma key effect. One thing to note is that if you are embedding the georeference info in the file like tif, the image programme will probably strip out the relevant tags so you need to use a world file for that approach. On Tue, 21 Sep 2021, 00:20 krishna Ayyala, wrote: > Charles, > When you get a chance, can you please help me with one question? I have > created a geotiff file as per the direction in the link below. When I add > this geotiff file to google earth, I am getting all the points but a white > background. Is there a way to eliminate this white background? > > https://imgur.com/a/soAI4E5 > > > > On Mon, Sep 20, 2021 at 1:54 PM Charles Dixon-Paver > wrote: > >> You can use the *Project >> Import/Export >> Export Map to Image* and >> then make sure you select the "*Append georeference information*" >> option. I have set up a screenshot here: https://imgur.com/a/soAI4E5 >> >> If you still don't have any luck try making sure you are using a >> projected CRS. >> >> Regards >> >> On Mon, 20 Sept 2021 at 21:45, krishna Ayyala >> wrote: >> >>> Charles, >>> Thanks for your reply. By exporting it as a png, I am losing the >>> georeferenced information.i.e. when I add this png to my map, it is not >>> falling at the appropriate location. When you get a chance, can you please >>> guide me, How do I export it to a raster such that I do not lose the >>> georefereced information, at the same time it should look like similar to >>> the vector file. >>> >>> Regards. >>> >>> On Mon, Sep 20, 2021 at 1:27 PM Charles Dixon-Paver >>> wrote: >>> You can export the map canvas as a png with a world file. If you want a specific dimension or aspect ratio you can do the same with the layout manager. On Mon, 20 Sep 2021, 20:37 krishna Ayyala, wrote: > Hello, > I have a point shape file. Is it possible to convert it to a raster > such that the resultant file will also appear like points only. Similar to > how it was looking like when it was a vector file. > > Regards. > > [image: image.png] > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Point Shape file to Raster conversion.
Charles, Sorry for so many questions. As I mentioned before, I am able to create georeferenced tiff file as per instructions in the link below. But, when I overlay this tiff file on top of the shapefile, the size of the points in tiff file is not same as that of the size of the points in the shapefile. I tried to export to tiff file with different resolutions, but that did not work. Is there a way to fix that? https://imgur.com/a/soAI4E5 Regards. On Mon, Sep 20, 2021 at 4:27 PM Charles Dixon-Paver wrote: > The png/tiff export will include the canvas background colors. World files > have pixel coordinates though so you should be able to open the image in an > image manipulation program like photoshop, paint.net or gimp/glimpse, > then just select the background with the magic wand and delete it. > > Save the resulting image and open it with the world file available and it > should work... although that depends on the software used to open it too I > guess. There might be an alternative approach using no data values but I'm > not sure how to approach it off hand. > > You can also set the qgis project background to cyan or something if you > want to have a more effective chroma key effect. > > One thing to note is that if you are embedding the georeference info in > the file like tif, the image programme will probably strip out the relevant > tags so you need to use a world file for that approach. > > On Tue, 21 Sep 2021, 00:20 krishna Ayyala, > wrote: > >> Charles, >> When you get a chance, can you please help me with one question? I have >> created a geotiff file as per the direction in the link below. When I add >> this geotiff file to google earth, I am getting all the points but a white >> background. Is there a way to eliminate this white background? >> >> https://imgur.com/a/soAI4E5 >> >> >> >> On Mon, Sep 20, 2021 at 1:54 PM Charles Dixon-Paver >> wrote: >> >>> You can use the *Project >> Import/Export >> Export Map to Image* and >>> then make sure you select the "*Append georeference information*" >>> option. I have set up a screenshot here: https://imgur.com/a/soAI4E5 >>> >>> If you still don't have any luck try making sure you are using a >>> projected CRS. >>> >>> Regards >>> >>> On Mon, 20 Sept 2021 at 21:45, krishna Ayyala >>> wrote: >>> Charles, Thanks for your reply. By exporting it as a png, I am losing the georeferenced information.i.e. when I add this png to my map, it is not falling at the appropriate location. When you get a chance, can you please guide me, How do I export it to a raster such that I do not lose the georefereced information, at the same time it should look like similar to the vector file. Regards. On Mon, Sep 20, 2021 at 1:27 PM Charles Dixon-Paver < char...@kartoza.com> wrote: > You can export the map canvas as a png with a world file. If you want > a specific dimension or aspect ratio you can do the same with the layout > manager. > > On Mon, 20 Sep 2021, 20:37 krishna Ayyala, > wrote: > >> Hello, >> I have a point shape file. Is it possible to convert it to a raster >> such that the resultant file will also appear like points only. Similar >> to >> how it was looking like when it was a vector file. >> >> Regards. >> >> [image: image.png] >> ___ >> Qgis-user mailing list >> Qgis-user@lists.osgeo.org >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >> > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Point Shape file to Raster conversion.
On 9/20/2021 7:16 PM, krishna Ayyala wrote: Charles, Sorry for so many questions. As I mentioned before, I am able to create georeferenced tiff file as per instructions in the link below. But, when I overlay this tiff file on top of the shapefile, the size of the points in tiff file is not same as that of the size of the points in the shapefile. I tried to export to tiff file with different resolutions, but that did not work. Is there a way to fix that? https://imgur.com/a/soAI4E5 The shapefile contains coordinates; the points you see on the map are how those points have been "symbolized". The default settings in QGIS makes those symbols the same size regardless of the scale of the map - as you zoom in or out the points remain the same apparent size on your screen. When you exported the map to a tiff, the points became fixed in size. If you overlay the tiff on the original at the same zoom level that you exported at, the symbols will be the same size. As you zoom in or out, the symbols on the tiff will appear larger or smaller on your screen, while the symbols for the shapefile points will remain constant in apparent size. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user