Hot answers tagged

7

It had happened to me on QGIS 3.18 as well, the line pattern fill for polygons was missing when exporting as SVG. Example in the Print Composer Example of exported SVG (viewed via Google Chrome) In this case, I would probably follow what is mentioned in the Infobox when exporting as SVG from the Print Composer The SVG export function in QGIS has several ...


6

Use Reproject tool to conver the layers into a single CRS. Merge reprojected layers with the Merge tool. Export merged layers as a CSV-file.


5

Create a pandas dataframe from your data and use to_csv. A workaround, but you can choose whatever delimiter you want: import arcpy import pandas as pd fc = r'C:\GIS\data\Bakgrundskartor_LMV\Vagkartan.gdb\bs_riks' #fields = ['KKOD', KATEGORI','SRIKT'] #Either list the field names manually fields = [f.name for f in arcpy.ListFields(fc) if f.type not in ('...


5

The qml file style file you get when exporting layer styles is different from the one you get in the "Style manager" when you export. The second format is the accepted one in "Create categorized renderer from style" What is missing is a script to get "Style manager" compatible file from an existing layer style. I've made a ...


4

Most likely, the image editing tools you are using are not expecting floating-point color channel (band) values, but integer. Floating-point color data is unusual outside of scientific (and sometimes game) computing, and many image editing or viewing programs do not support it. You can use Image.visualize to convert the image to RGB, in the same way that Map....


3

Your "package" already exist it is the geopackage file format. You're able to store all the components your project will require (vector/raster layers). The project itself can also be embedded in the geopackage. Even the images (raster/vector) or files (.pdf) you could have to use (for layouts or help files) can be inserted in the tables of the ...


2

This is a 5 months post, and I hope you had figured it out? If don't, here's my answer: Change your paper size in print layout to bigger size. here's my example of 4 mm of 'Pusat Kota' Point and 10 point of its text (label). The first picture is when you draw it in A5, and the second picture is in A3. By changing the paper size, it means it changes the scale ...


2

As far as I can see from your description, this won't be possible - to give an answer, even if not a solution. If you use a CMS, you only have limited acceess to the server (by purpose!). You can't (or should not) bypass these restrictions. For a solution of your problem, you should speek to your system administrator to ask what you can/are allowed to do ...


2

There is an ArcGIS Pro Idea already submitted to Add More Delimiter Options in Table Export Tools (i.e., pipe delimiter): There are several existing tools to export a table to a flat file .txt or .csv, such as copy rows, table to table, or export features rows to ASCII. The last option at least gives you the ability to choose comma, space, or semicolon ...


1

Can you describe your .DXF export process in QGIS (i.e. are you exporting a single layer using the [Export][Save Features As] dialog, or are you exporting the entire project using the [Project][Import/Export][Export Project to DXF] dialog)? If single layer export: Have you tried setting the geometry type to polygon (as opposed to automatic)? If entire ...


1

To achieve what you want, you'll need to create a new image containing the "ID" of your polygons: var feature_collection = ee.FeatureCollection(feature_geometry).set('ID', ee.List.sequence(1, 106)); var id_band = myPoly.reduceToImage({ properties: ['FID'], reducer: ee.Reducer.first() }).rename('ID'); Then, you will need to add this image ...


1

GeoTools is the obvious (to me) choice here. This answer should get you going with the vector - adding a raster is covered in the image tutorial. Adding a title and north arrow are just standard Java graphics rendering operations. There is a lot of code to draw "map decorations" in the GeoServer code base see https://github.com/geoserver/geoserver/...


1

I might have found a solution now. This seems to do it: // Get Zonal Statistics var reduced = ndvi_tenday.reduceRegions({ collection: surveyData, reducer: ee.Reducer.mean(), scale: 100, }); print(reduced); // the resulting mean is a FeatureCollection // so you can export it as a table Export.table.toDrive({ collection: reduced, description: '...


1

This is a client-side approach: var number = ((5.478 / 7.4578).toFixed(2));. This is equal to 0.73. The function .toFixed(n) will allow you to return a number of n decimal digits.


1

Emil Brundage is correct. The arcpy.CopyFeatures_management tool method exports the selected records of the input FeatureClass (or Layer or TableView) to the output FeatureClass (or Layer or TableView). It is not necessary to use any kind of Cursor to use the geoprocessing tool method, because it acts on the entire input dataset as a whole, not on ...


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