Re: [Qgis-user] Temporary shape file
Hi, If you closed a project with temporary scratch layer, that layer would be lost. If you had a temporary layer written to the disk somehow, I would look in the ...user/appData/Local/temp directory. If the layer has been deleted by a clean shutdown, you may be able to find it with an undelete application. Some Hard drive companies have free versions. The time spend doing this could be greater than recreating the file. Nicolas Cadieux Ça va bien aller! > Le 12 mai 2020 à 20:37, Axel Gravier a écrit : > > > Hi everyone, > > I would like to konw if is there a way to recover an unsaved temporary shape ? > > Anyone ever had this problem ? > > Thanks for all. > > Alex. > ___ > 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] vector point grid to raster grid -- pixel size does not work
Chris, Thanks for helping me out. Your detailed explanation was really helpful. I could not have done without it, thanks for taking so much time. A short memo about what I did is in my answer to Nicolas Cadieux. Best, Maria > Am 13.05.2020 um 01:36 schrieb chris hermansen : > > Maria and list, > > On Tue, May 12, 2020 at 4:24 AM Priv.-Doz. Dr. Maria Shinoto > wrote: > Hi, > > I am having problems to set up the parameters for Raster > Convert > > Rasterize Vector to Raster > > My basic map is JGD2011 / Japan Plnae Rectangular CS II, and I downloaded an > xml file JPGIS/GML format, that had to be converted to shapefile in a special > application. > > So according to this https://epsg.io/30162 that projection is: > Coordinate system: Cartesian 2D CS. Axes: northing, easting (X,Y). > Orientations: north, east. UoM: m. > > > > > Now I have the points as a grid with approximately 5m distance and want to > convert them to Raster, since this is what I want to use as DEM for analyses. > > Everything works, but the pixel are extremely largen, not 5m. > > I set the units to pixel, and since it is 5m mesh (from 0.2 seconds), I was > told to use 0.56 for horizontal and vertical resolution, but I do not > know what I am doing there, and I do not find any similar application in > tutorials, handbooks and books, the options in QGIS documentation do not > really help. > > This sounds completely incorrect to me. I believe you should specifically > set the following on your Rasterize (Vector to Raster) dialogue: > > Output raster size units: Georeferenced units > > Width/Horizontal resolution: 5.0 > > Height/Vertical resolution: 5.0 > > Output extent -> use canvas extent > > > Can anybody guide me to the correct value? Or to another flaw in my thinking? > > > Since your input point data is in a cartesian (ie x-y) projection and in > metres (apparently with Tokyo as its zero point), and since you want your > output raster in metres in the same reference system, there is no need to be > thinking about how many seconds correspond to metres at your latitude, nor > pixels, nor anything like that. > > If you refer to the link above describing the Japan Plane Regular CS II > projection, you will see it is based on the Bessel 1841 spheroid. It may be > useful for you to set your project properties before doing the vector to > raster conversion. > > Select Project > Properties > CRS, then use the filter to find Tokyo / Japan > Plane Rectangular CS II EPSG:30162 Select that coordinate reference system > and click Apply. The menu should look like this: > > > > > -- > Chris Hermansen · clhermansen "at" gmail "dot" com > > C'est ma façon de parler. ___ 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] vector point grid to raster grid -- pixel size does not work
Hi, Thanks for helping. -- Thanks to you and Chris Hermansen I got a result, but it could be better. For the records, a short explanation: * Well, I checked the properties, jgd2011 is in Meters, the raster is said to be 5m. In the official Japanese viewer, which creates a beautiful raster image without white pixels, the pixels are exactly 5m*5m. Today I tried the export to .xyz since the shapefile looked ugly, and after realising that the Japanese xyz is indeed yxz, everything looked fine, and I could store it in a Geopackage. But the grid is now 5,276m * 6,146m. But it fits well on top of the basemap. The basemap is of the same special Japanese GML format, but QGIS could read it all without problem. I do not understand why QGIS does not read the point data from the GML fille, but that is an aside, I am amazed by what QGIS actually can do. From the Geopackage I could rasterize. It is as Chris Hermansen said, thanks. Unfortunately, I did not get it done from the shapefiles, they always looked weird or like nothing, even with identical settings. But the geopackages from xyz tiles are fine. For resolution, I chose georeferenced units as Chris suggested, and since the measurement tool got some different length, I put it to 5,276m by 6,146m. A 5m by 5m resolution created a weird layer with horizontally expanding white pixels. It seems that tweaking with the resolution might lead to an even better result, but for the time being, it is OK as it is. * Thanks again, Maria > Am 13.05.2020 um 00:12 schrieb Nicolas Cadieux : > > Hi, > > What is the resolution of the jgd20011 raster? Look in the layer properties. > Once you are done, use a base map, like something from the quickmap plugin > and check the results and the georeferencing. Pixels will be big if you zoom > on them. > > Nicolas Cadieux > Ça va bien aller! > >> Le 12 mai 2020 à 07:24, Priv.-Doz. Dr. Maria Shinoto >> a écrit : >> >> Hi, >> >> I am having problems to set up the parameters for Raster > Convert > >> Rasterize Vector to Raster >> >> My basic map is JGD2011 / Japan Plnae Rectangular CS II, and I downloaded an >> xml file JPGIS/GML format, that had to be converted to shapefile in a >> special application. >> >> Now I have the points as a grid with approximately 5m distance and want to >> convert them to Raster, since this is what I want to use as DEM for >> analyses. >> >> Everything works, but the pixel are extremely largen, not 5m. >> >> I set the units to pixel, and since it is 5m mesh (from 0.2 seconds), I was >> told to use 0.56 for horizontal and vertical resolution, but I do not >> know what I am doing there, and I do not find any similar application in >> tutorials, handbooks and books, the options in QGIS documentation do not >> really help. >> >> Can anybody guide me to the correct value? Or to another flaw in my >> thinking? >> >> Thanks a lot, >> Maria >> >> ___ >> 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
[Qgis-user] Temporary shape file
Hi everyone, I would like to konw if is there a way to recover an unsaved temporary shape ? Anyone ever had this problem ? Thanks for all. Alex. ___ 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] error
Hi, I am not sure what you are trying to do. This is some Info on the file that could be empty. https://docs.qgis.org/latest/en/docs/docs/user_manual/appendices/qgis_file_formats.html If you are trying to save the project, try a path that has no spaces like in “home pc”. Look in here, you might find some help. https://issues.qgis.org/issues/18477 Nicolas Cadieux Ça va bien aller! > Le 12 mai 2020 à 04:37, Amila Bajic a écrit : > > > Hi, > > I got this message. Will I lose my data? How to fix this? > > > Unable to save auxiliary storage ('Cannot open C:/Users/Home > PC/AppData/Local/Temp/QGIS3-HgQbgj/ent granice.qgd for input') > > > Thank you all, > /Amila > ___ > 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
[Qgis-user] vector point grid to raster grid -- pixel size does not work
Hi, I am having problems to set up the parameters for Raster > Convert > Rasterize Vector to Raster My basic map is JGD2011 / Japan Plnae Rectangular CS II, and I downloaded an xml file JPGIS/GML format, that had to be converted to shapefile in a special application. Now I have the points as a grid with approximately 5m distance and want to convert them to Raster, since this is what I want to use as DEM for analyses. Everything works, but the pixel are extremely largen, not 5m. I set the units to pixel, and since it is 5m mesh (from 0.2 seconds), I was told to use 0.56 for horizontal and vertical resolution, but I do not know what I am doing there, and I do not find any similar application in tutorials, handbooks and books, the options in QGIS documentation do not really help. Can anybody guide me to the correct value? Or to another flaw in my thinking? Thanks a lot, Maria ___ 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] error
Hi, I got this message. Will I lose my data? How to fix this? *Unable to save auxiliary storage ('Cannot open C:/Users/Home PC/AppData/Local/Temp/QGIS3-HgQbgj/ent granice.qgd for input')* Thank you all, /Amila ___ 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