Régis makes a good point about workflow and access patterns. This made me realize that the types of maps you make impact the best place to store the style information. I tend to have two different types of projects lately. One group tends to draw from pretty much the same layer sources to produce a unique map. I still want them styled consistently, so this would suggest storing the styles with the data. The other group is a series of topographic maps derived from the USGS 7.5' quad data that should be styled identically, but each maps uses mostly unique source files. In this case, storing the styles with the data is impractical and requires a different solution.

So all of this is a roundabout way of saying Régis has hit the nail on the head when he suggests the answer to the question "where do I store style files" is "it depends".

And for what it's worth, I've found that easiest way (at least for me) to make this series of maps is to edit the .qgs project file. The data is downloaded from the NationalMap.gov and comes in a single zip file containing a number of shapefiles. Each zipfile contains layers with the identical set of names, just covering a different region. I created a map I'm happy with and saved the .qgs file. I then opened that file in emacs (or any text editor) and replaced the name of the zip file with "<template>". Now when I want to create the next map in the series, I download the zip file and then do a global search/replace on <template> replacing it with the name of the zip file and I'm ready to go.

tip of the hat to Régis,

David Strip
Llaves, NM


_______________________________________________
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

Reply via email to