New answers tagged

1

Reusing including SRID in WKBWriter in Shapely doesn't work from shapely import wkb, wkt g = wkt.loads('POINT(-2.5378432182396935 55.20394960316738)') wkb.dumps(g, hex=True, srid=4326) # returns # 0101000020E610000010B8C5BE804D04C06BD145051B9A4B40 You mentioned For example I need to convert 'Latitude': 55.20394960316738, 'Longitude': -2....


1

The tool Drape (set Z value from raster) is build for that. Open the processing toolbox then go to vector geometry then drape. You have to select a raster as input layer. If you have no raster data for your first 3d model then you should build one, the tool rasterize or rasterize mesh dataset could help.


0

Figured it out! The code was reading the column names easting and northing, which is why it was throwing me the error. Instead I had to skip over the first line by using line_count += 1 else: if self.device_type == 'BNG':


6

Within QGIS, you can open your qgs files and save them as qgz # Here simple list of files but you can use: # - `os.walk` from `os` module https://pymotw.com/3/os/, # - `pathlib` module https://pymotw.com/3/pathlib/ # (need to transform the output path to a string) # - `glob` https://pymotw.com/3/glob/ paths_qgs = ['/path/to/one.qgs', '/path/to/another.qgs'] ...


1

Since .qgz files are simply zipped QGIS-project files, you may zip your files using the extension .qgz instead of .zip and will still be able to open them using QGIS 3. I only tested this for a project prior saved in QGIS 3, so you probably will have to do some testing. This still in manual work, but probably faster than opening each project and saving it ...


3

You will get best results if you install Grass GIS together with QGIS and use the processing tool v.to.lines.


1

A demo Use the following content (provided using data from your link) and save it in a CSV file named demo.csv (in fact, I use semicolon separator) code;naming;old_nrhe;grid_ref;x;y 10571;Linear cropmark, NE of Greylake Bridge, Greylake;192187 (ST 33 SE 12);ST 396 339;339614;133960 Then, in QGIS, go to "Layer" menu > "Add Layer" > &...


4

Clearly do not know exactly how to proceed in QGIS but with GDAL command line utility gdal_translate, just need to do gdal_translate -of PNG -scale -co "WORLDFILE=YES" input.tif output.png It will write an output.png with an associated output.wld (contains world file content) Edit: after answering, seen similar answer for jpeg e.g How to convert ...


-2

Okay as I found there is not an easy route, I used "Mygeodata" convert tool which cost $9. I also reprocessed the original data in webodm. I haven't tried using the 7-zip method mentioned. Its a shame, as the kzm file in google earth is very easy to work with, and only 160mb. The geotiff produced is 700mb which makes qgis very slow to render.


Top 50 recent answers are included