Tag Info

Hot answers tagged

26

Creating and adding a vector feature to a layer: var points = [ new OpenLayers.Geometry.Point(0, 0), new OpenLayers.Geometry.Point(0, 100), new OpenLayers.Geometry.Point(100, 100), new OpenLayers.Geometry.Point(100, 0) ]; var ring = new OpenLayers.Geometry.LinearRing(points); var polygon = new OpenLayers.Geometry.Polygon([ring]); // create ...


18

No depending on the Map (90% North is up) dependent on projection This Map: North is in all directions out from the centre (or South in all directions to the centre) - also has the graticule and text curved inline with the grat. (uses the polar stereographic projection.)


15

The most obvious use of North arrows are if UP in your map deviates from true north and this isn’t obvious to the reader. Beaulieu, de, 1646 Another use may be as a decoration, but then there is a need for something a bit juicier than the arrows provided by common GIS systems.


14

It's generally implied that North is up but I'm not ready to say they're pointless. In my daily work, I see a fair number of CAD as-built drawings. The North arrow provides much needed context. If we're talking about the web, then I'm fine with leaving them out and I think the major web map vendors (google, bing, esri) agree.


13

The primary reason is that the color on a monitor is ADDITIVE color (RGB) and the color on paper is SUBTRACTIVE (CMYK from a printing press, or pseudo-cmyk from an inkjet or laser printer) Zero color elements gives you black on a monitor, while zero color elements gives you white (the paper color) on paper In additive color, the color elements add light in ...


11

This is typically something you can do with Data Driven Pages. The static text and images is not a problem, you can modify one lay out and this will be transmitted to all other layouts. For the dynamic text, it can be driven based on one of the attribute fields using this syntax " domainlookup="true"/> The most complicated part is what you show on the ...


10

here in my office the solution for press quality maps is to export 300x300px tiff images from print composer. We export only the "core" of the map with the grid and the scale bar. Then in OpenOffice (or LibreOffice) we make the layout and them put the image and print. Very nice results even in A0 maps. Obs: 4gb of RAM helps a lot. Obs2: Since Openoffice ...


10

The tool is called "Print Composer" and it should be covered in the manual. You might find further information in the answers to How do I get the best print quality from QGIS (and is Arc better)?


9

Yes of course! In the Print Composer of QGIS, there is the option to have the map image displayed in 3 ways: as a blank rectangle with no updates until it is output as a manual refresh based on cache as a rendered refresh For your case I think you just need check the dialog is not on a rectangle and to be pressing the update button as required. So ...


8

I remember being taught that a north arrow must be present always except in few specific cases, which actually cover 99% of maps. You typically do not need a north arrow when: there is a geographic grid present the map presents a well known area to the map user, e.g. the map of the world, Europe, or your whole country on one sheet the map is part of a ...


8

I've found the only time that I've needed to include a North arrow on my maps is to differentiate between grid north, true north and magnetic north. Doesn't come up often though. Also, I totally agree with @haakon_d that they might be used as decoration, but IMO there's always a better option (including the minimalist option of not including one).


8

Right click on a empty spot in the toolbar and select Item Properties


8

Use groups of layers to simplify your editing and then don't lock the frame by right-clicking on it but instead use the 'Lock layers for map item' check box in the Map tab. I group my layers according to the map frame I want them in. Then, I can quickly turn on and off a set of layers as I set up the map frame the first time and then click the 'Lock layers ...


7

For the last few years we've standardized on the Epson 4880 (17"), 7800 (24"), 7900 (24"), and 9900 (42") series printers. Before that we standardized on the the HP designjet 2500cp, 500, 1055cm and 5500ps. Epson is great for cross printer colour fidelity. Changing paper is smooth and easy, though the 4880 is more finnicky than it's bigger cousins. I prefer ...


7

Most of the GIS packages I have used have excellent mapping tools. I can produce very good maps with QGIS for instance. So that's an option, if you can't run to the cost of ArcGIS. Yes it is a little more fiddly to get the exact result you want but excellent maps are perfectly possible. I am able to produce large maps with QGIS - but you have to ...


6

I think that North Arrows are similar to cargo-cult programming. "Every map up to now has had one, so we have to have one on this map too." The only reason I can think of to include a North arrow is when the "top" of the map is not North, or when it is not immediately clear which direction is North.


6

I think there is an ongoing bug with the Windows version of QGIS where it rasterizes the map before creating a PDF, so you'll likely get poor, bloated PDFs. I think it's a Qt issue because I fixed the code a while back and it works on Ubuntu... One process I have used in the past is to install a PostScript printer driver (doesn't matter which, an HP colour ...


6

According to this thread at the GeoExt mailing list: Re: [Users] Printing google maps using geoext and geoserver Andreas Hocevar Mon, 23 Jan 2012 04:37:31 -0800 Hi, the GMaps API Terms of Use don't allow you to print. If you only want to print the map background, click on the Google logo in your map to view the same extent in Google Maps, ...


6

Just as underdark said, this depends on the WMS server setting, there is nothing you can do to change that. One thing you can try is to reduce the resolution of your map within the composer (e.g. from 300 dpi to 150 dpi, so fewer pixels will be requested). This will of course lead to a lower quality map, but has worked for me in the past with German state ...


6

For ArcGIS you probably want to take a look at Data Driven Pages: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Creating_Data_Driven_Pages/00sr00000007000000/ "Data Driven Pages gives you the ability to generate a set of output pages by taking a single layout and iterating over a set of map extents. The extents are defined by the features ...


5

For orienteering maps, magnetic north is critical.


5

Print Composer is a great tool as @underdark mentioned; however, bare in mind that it's not as sophisticated as Arc's tool, especially when it comes to labeling and general options. It's usability is awkward, for example, if you right click on an object instead of it opening a context menu, it locks the object. so if you want to put objects behind or in ...


5

"Colour Scale Bar" is a plugin (QGIS contributed repository) which does this. It only works with discrete interpolation! Once you have set up a raster layer in the way you like, you save the style (Layer|Properties... then click Save Style) and select the saved .qml file in the plugin dialogue. The legend is saved as a PNG file, which you can then add as ...


5

You can use 1.8 version of QGIS or higher (QGIS master) to have raster legend in map composer available by default.


5

I've asked a similar question . Best answer was using OpenLayers.Control.ExportMap() to generate an image of the canvas. Here's a DEMO.


5

i think you can achieve this with some css bindings which is not a gis solution. in css there are lots of css media types and one of these is print element. you can add this to your index page with this way: <link rel="stylesheet" type="text/css" media="print" href="print.css"> and with some css code may help you. body { background: white; ...


5

As far as I know, there's two problems in this code. First one is, both Query and QueryTask doesn't define outputSpatialreference parameters. So this query returns there own spatialreference geometries instead of map's spatialreference. tasks.Query... queryContentSelect.outSpatialReference = map.spatialReference; tasks.QueryTask... ...


5

For QGIS, have a look at the Atlas functionality in the Print Composer. http://docs.qgis.org/2.2/en/docs/user_manual/print_composer/print_composer.html?highlight=atlas#atlas-generation The idea is to have a "coverage layer" which contains all the "sites" that you want to zoom to and make a map of. Atlas has all kinds of functions which let you control the ...


4

I have found the following utility to be quite helpful. THE LOST CARTOGRAPHER It was written by Ben Slater. In this blog post, he has given the code as well as the executable for Batch Printing ArcMap MXD Documents Edit: Added more information about the Utility, as per Matt Wilkie's suggestion



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