Skip to main content
10 votes
Accepted

How to set the default values for the ScaleBar in QGIS?

Save your scalebar as a template. Create a blank composer, add a scalebar with your relevant settings then from the menubar in your print composer, go to: Composer > Save as Template... The next ...
Joseph's user avatar
  • 75.9k
9 votes

Creating QGIS Print Composer map templates?

You can easily save map templates from print composer, see documentation. Create a map composer In your project go Project --> New Print Composer and set a name for map composer. You can also use ...
Oto Kaláb's user avatar
  • 6,925
7 votes
Accepted

MapServer GeoJSON output template

Instead of templates I suggest to define an OGR outputformat for GeoJSON. Here are advice taken from https://lists.osgeo.org/pipermail/mapserver-users/2013-November/075559.html You can use OGR ...
user30184's user avatar
  • 67k
5 votes
Accepted

How to create an empty GeoJSON template with several empty fields (QGIS)

You can save this on your disk and edit the field names with any text editor { "type": "FeatureCollection", "name": "jsontemplate", "features": [ { &...
user30184's user avatar
  • 67k
4 votes
Accepted

Dynamic label generated by python in composer template?

As Joseph suggested in comment for most of the things it should be sufficient to use expression (I have completely missed that option). I also had no idea it is possible to save that as part of ...
Miro's user avatar
  • 9,764
4 votes

Importing Composer Template into QGIS Print Composer

I think there a another way. select composer manager then you have instead of "composseur vide" you should have "empty composer" So you click and select "specific". Click on "..." Name you new ...
Vincent Dulout's user avatar
4 votes
Accepted

Creating blank QGIS shapefile templates?

You can create a folder to hold your templates. Create the Shapefiles, style them, set the labels. The, for each of them, save the style/label as a QML file. Right click the layer, go to properties, ...
JGH's user avatar
  • 42.3k
4 votes
Accepted

Creating new project with Map.aptx now has World Hillshade basemap?

Yes, same for me when I updated to 2.2:
Bera's user avatar
  • 74.4k
4 votes
Accepted

Export atlas PDF failed to print images item on template

This is definitely a timing issue of Qt. The PDF generation is faster than the HTML rendering. Whenever I face such problems (missing images in HTML, missing SVGs, partly rendered images, Javascript ...
christoph's user avatar
  • 5,827
3 votes
Accepted

Set Image Source of a composer item in PyQGIS

The answer is : logo_item.setPictureFile(path_to_image)
Faizalprabowo's user avatar
3 votes

Clean up QGIS project file *.qgs

There is no such tool as far as I know. Since there is no schema for project files (Seeking detailed description of qgs file structure?), it would seem rather unsafe to run automatic cleaning.
underdark's user avatar
  • 84.2k
3 votes
Accepted

How to mass-create maps with different features centered?

You can do this using Data Driven Pages (DDP). Here is a basic guide for setting up DDP in ArcMap. I have started with some random polygons and points I created Turn on the Data Driven Pages ...
Midavalo's user avatar
  • 29.8k
3 votes
Accepted

Include styles in QGIS templates

To include the styles in your project, you need to define and save your style in project file (or in .qml , .SLD file or a database) from your layer properties. Then your style will be applied ...
Hugo Roussaffa's user avatar
2 votes

Empty a layer for each QGIS project

You should save it as a template, so that each time you need it you can click project -> new from template. Just save your .qgs template file and copy it in the template directory (which can be found ...
Allison R's user avatar
  • 102
2 votes

How to reuse a layout in the QGIS print composer layout on different pages?

Have you tried just using the duplicate print composer option from the composer drop down?
PJ Lightning's user avatar
2 votes

How to save QGIS composer template with image - e.g. company logo?

I came across this and I'm not sure in which version it was introduced, but from 3.16 there is the possibility to specifically embed a file from the image selector dropdown in the layout context. Just ...
Nick_Jo's user avatar
  • 158
2 votes

ArcMap report designer dataset options

This is a good source of information Adding report page numbers or dates from Esri, to add the date to your report. Add page numbers or dates to your report to make your report easier to interpret. ...
whyzar's user avatar
  • 12.1k
2 votes

Using GeoServer GetFeatureInfo template?

GeoServer looks in a list of places for templates: Look into GEOSERVER_DATA_DIR/workspaces/<workspace>/<datastore>/<featuretype>/content.ftl to see if there is a feature type ...
Ian Turton's user avatar
  • 82k
2 votes
Accepted

GetFeatureInfo on GeoServer - what parameters/variables are available

On HTML response, checking "org.geoserver.template.FeatureWrapper" class on Geoserver looks like bbox is not available (You could check it too to see all available variables parsed). But still you can ...
fernandomino's user avatar
2 votes

How to build a template for mapserver?

Mapserver is only pushing cartographic web services (WMS, WFS, etc.). These become you data source that you show on a map. The web map can be built using a wrapper like NextGIS Web (as suggested by ...
TurboGraphxBeige's user avatar
2 votes

How to build a template for mapserver?

There is no user interface for MapServer. You need to create your own or use some wrapper like NextGIS Web. See: http://docs.nextgis.com/docs_ngweb/source/mapstyles.html You can try this ...
Dmitry Baryshnikov's user avatar
2 votes

Creating feature templates in QGIS?

Not exactly what you asked for, but there is an option in the settings to reuse the last entered attribute value in the QGis form, maybe this helps. You can find it under Settings-> Options->...
nepluisse's user avatar
  • 628
2 votes

Creating feature templates in QGIS?

I have created "feature templates" by using the following methods which are similar to the suggestions above. First you will need to duplicate the layer for as many templates you need (right click ...
GreyHippo's user avatar
  • 2,190
2 votes
Accepted

PYQGIS 3: Change layout scalebar item to a round scale (e.g. 1:5000)

In this case, you have to change the map, no the scale, you can use this: map = layout.itemById("principal map") map.setScale(12500) if you don't have a itemByID, the other option is this: layout =...
Jhon Galindo's user avatar
2 votes

Make lots of maps at once using QGIS print composer

Use the atlas composer and the lock layers data defined override option Create a csv (or other file) listing all the maps you want to create, this will be a column labelled layerMap1, layerMap2 ...
Anthony's user avatar
  • 31
2 votes
Accepted

MapServer HTML Template doesn't display map/image

MS4W comes ready out-of-the-box with directories properly configured for the generated map images by MapServer (this is why I created MS4W, to prevent issues such as yours). For example, if you check ...
mapserving's user avatar
2 votes

Is there any way to import templates in ArcMap?

The mapx, pagx, and lyrx formats are not backward compatible with ArcGIS Desktop, they are new file formats, so their technology is too recent to be read by the ArcMap product. Even the files saved ...
Yogesh Chavan's user avatar
2 votes
Accepted

Giving style template to coded domain in ArcMap

I think you need to pre-populate the layers symbology so in the table of contents you see the colours against your chosen vegetation type but as no polygon has had it's veg_dom set they will default ...
Hornbydd's user avatar
  • 43.8k
2 votes
Accepted

Sharing changes to all layouts on QGIS

Consider setting up your layout template - and project templates - to use layout or project level variables. Refer to Nyall Dawson's videos here on Twitter and here on Youtube (this is an hour-long ...
she_weeds's user avatar
  • 12.6k
2 votes
Accepted

Duplicating style from another map when it's locked using PyQGIS

I figured it out. It's just the next thing: map1.setLayers([points,layer,basemap]) and map2.setLayers([points,layer,basemap]) Before I was thinkin that it would refresh/save it the same way as with ...
VegesaukrRex's user avatar

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