Hot answers tagged

12

For clarity (Windows 10) Download the OSGeo4W (64 bit) https://qgis.org/en/site/forusers/download.html Install as Advanced Install Change the default GDAL to 3.1.0.137 Then in QGIS you should get the option for Exporting to Geo-PDF Hopefully soon (when GDAL/GRASS is updated) this becomes the default in the QGIS install.


8

Zipping all the parts is the usual way of transferring shapefiles, yes, and its the best we've come up with. This is one problem with the shapefile format which is overcome by the GeoPackage format - if your software can save or export your data to a "GeoPackage", and the person you are sending it to has software that can read GeoPackages, then you could ...


6

In QGIS versions 3 and above, the easiest way to export an attribute table is to: Right-click the attribute layer in the layers menu Select Export and Save features as... At the top of the program window, select Comma Separated Value [CSV] in the format drop-down menu Type a file name for the file to be saved Click the three-dot button next to the file ...


6

You can use DB Manager for this purpose but first you need to create postgis connection to that database using QGIS. To create PostGIS connection Open QGIS and right click on PostGIS icon in QGIS browser as shown in image below. Provide the DB connection details in the form shown below and click ok. After you create connection open DB Manager In ...


6

Up and Coming QGIS 3.10 has a potential solution: "Geospatial PDFs can now be created either by exporting the main QGIS map canvas, or by creating and exporting a custom print layout. For instance, when you select the “Save Map as PDF” option from the main QGIS window, you’ll see a new group of Geospatial PDF related options: At its most basic, ...


6

the official release qgis 3.10 is compiled against gdal 2.41, therefore this option is not available. if you need this feature at the moment there is a workaround use the OSGeo4W networkinstaller and activate the gdaldev option please see this tweed https://twitter.com/mapperz/status/1188607950824206336?s=20


5

you can do a query (select by expression in the attribute table) and then save the elements selected by the query (query based on attributes) or make a manual selection in the map windows and save/export the layer using selected features only ...


5

I don't reproduce this behaviour with QGIS 3.4.8 ... Nevertheless the separator (in the .csv export) appear when the "show thousand separator" checkbox is checked in Options / General ...


4

The QGIS and GRASS team is busy preparing a new build with GDAL/OGR 3.x support. It will be available soon (some days max). Please be patient until then.


3

If the values are included in your layer: you can call them in the printcomposer by going to tab 'Atlas generation'. In the section 'Output' you can define the outputname. In your example it would be: "Projectcode" ||'_' || "Title" || '_' || day(now())|| '-' || month(now()) || '-' || year(now()) Which gives the result Projectcode_Title_15-01-2019 You ...


3

As you have found in the documentation there are exportToJPEG methods on both Layout and MapFrame classes but not on the Map class. It is not possible to use ArcPy to create a map, map frame or layout in an ArcGIS Pro project, nor is it possible to clone them (like you can for Layout Elements like Text and Graphic Elements). Consequently, if you want to ...


3

In QGIS 3.4 (maybe 3.x in general), exporting atlas seems much more straight forward than before (at least from looking the available answers). from qgis.core import QgsApplication, QgsProject, QgsLayoutExporter import os def export_atlas(qgs_project_path, layout_name, outputs_folder): # Open existing project project = QgsProject.instance() ...


3

This is what I use to do this. the print statement is completely unnecessary though, especially since this is run as a script tool in ArcGIS Pro. import arcpy aprx = arcpy.mp.ArcGISProject("CURRENT") figFolder = arcpy.GetParameterAsText(0) for lyt in aprx.listLayouts(): print(" {0} ({1} x {2} {3})".format(lyt.name, lyt.pageHeight, lyt.pageWidth, lyt....


3

This example is directly from the documentation @JRR provided. You can use writeOGR() from the rgdal package to write the convex hull polygons representing tree canopies to shapefile. library(lidR) library(rgdal) las = readLAS("/path/to/your/points.las") plot(las) # Classify ground points las = lasground(las, csf()) plot(las, color = "Classification") # ...


3

Welcome, Kevin. I don't have enough "reputation" to ask some clarifying questions as a comment first, but I'll hazard an answer. Your issue is that your raster's grid is not actually square. When you Export Map as image, it accounts for it appropriately. But when you save the raster as a GeoTIFF, raw data, you see the horizontal and vertical resolutions are ...


3

Your query is for the wrong key. According to Key:parking:lane you need to query for keys parking:lane:both, parking:lane:left and parking:lane:right. You only need to look for ways and can skip nodes and relations. This is the resulting Overpass query: [out:json][timeout:25]; // gather results ( // query part for: “parking:lane:*” way["parking:lane:...


3

I agree with @Vince, it would be futile to attempt to convert the code backwards to such an old version of ArcMap. The modern arcpy module never existed then it use to be a gp object which you can find out about at Geoprocessor programming model. It would be a major rewrite to make it compatible. Also the language python has evolved so what you have used in ...


3

Not a QGIS solution, but very quick using ogr2ogr with the commandline: ogr2ogr -f "ESRI Shapefile" output_folder input.gpkg


3

Use the Sample raster values or Add Raster Values to Points tool to extract raster values: Make sure each line has a unique attribute, eg "Line_ID". Convert the lines into points Use the Extract vertices tool if the vertices are frequent enough, or Use the Points along geometry tool if you want more frequent/evenly spaced sampling points Use the Sample ...


2

After you edit exporter.py you should use the "plugin reloader" plugin to reload qgis2web. The changes should be applied after you reload.


2

You need to specify a region in your export call. Otherwise, you get whatever region the map happens to be displaying when you run the script.


2

JPG or PNG are not supported for image export. You can export images from Earth Engine in GeoTIFF or TFRecord format. As per the GEE Exporting Data documentation.


2

To export symbols not only geometry do not use Export layer but Project > Export > Export project to DXF:


2

You need an additional union statement, so that the final result contains the result from both subqueries. Otherwise, your second part of the query will overwrite the results of your first part of your query in memory, and you're losing the administrative boundaries in your result. [out:json]; // fetch area “Radebeul” to search in {{geocodeArea:Radebeul}}-&...


2

If you do not specify region, the current view in the code editor will be exported. In other words, set an argument 'region' which is a geometry you would like to export. region (Geometry.LinearRing|Geometry.Polygon|String, optional): A LinearRing, Polygon, or coordinates representing region to export. These may be specified as the Geometry objects or ...


2

L.imageLayer requires LatLng bounds (see https://leafletjs.com/reference-1.4.0.html#imageoverlay). To convert projected coordinates to LatLng, you can use map.options.crs.projection.unproject(point), or in your case L.CRS.EPSG3857.unproject(point), where point must be L.point. So your image bounds definition should look something like: var imgbounds = [ ...


2

Looks like the issue boiled down to one of file size. Using a smaller (custom) polygon I was able to export the multi-band imagery. Seems to me like the error message GEE passed along was pretty useless, but who knows what came after "Please check your connection, firewall, or brows"...


2

What you want is r.out.gdal input=XX@PERMANENT output="...\XX.asc" format=AAIGrid


2

You have two question. The first one is why the color pallet is not showing in the exported image. Actually, you export an one-banded ('gray-scale') image and the visualization you provided in the web API of GEE is only for the visualization there. In a program you open the GeoTiff (e.g. ArcMap), you will have to set the visualization parameters again, as ...


2

One thing I'll check is the paper size you are printing to. From your images, image one seems to me a map document set to display the map on a digital 20X20cm squared-shape size paper (I can see that on the ruler grid). In the second image it seems the page is larger, being (e.g.) the labels showing up smaller than they were in your document (their font is ...


Only top voted, non community-wiki answers of a minimum length are eligible