What’s new in QGIS 2.0
Please note that this is a release in our ‘cutting edge’ release series. As such
it contains new features and extends the programmatic interface over QGIS 1.8.0.
We recommend that you use this version over previous releases.
This release includes hundreds of bug fixes and many new features and enhancements
that will be described in this manual. Also compare with the visual changelog at
http://changelog.linfiniti.com/qgis/version/200/
ユーザーインターフェース
- New icon theme: We have updated our icon theme to use the ‘GIS’ theme introducing an improved level of consistency and professionalism to the QGIS user interface.
サイドタブ, グループの折りたたみ: タブレイアウトの標準ができました,また多くのダイアログでグループボックスが折りたたみ可能になったことを紹介します,それによって多くのダイアログでナビゲーションの多彩なオプションがより容易になりスクリーンの実際の配置が良くなりました.
- Soft notifications: In many cases we want to tell you something, but we don’t want to stop your work or get in your way. With the new notification system QGIS can let you know about important information via a message bar (colour depends on the importance of the message) that appears at the top of the map canvas but doesn’t force you to deal with it if you are busy doing something else. Programmers can create these notification (e.g. from a plugin) to using our python API.
- Application custom font and Qt stylesheet: The system font used for the application’s user interface can now be set. Any C++ or Python plugin that is a child of the QGIS GUI application or has copied/applied the application’s GUI stylesheet can inherit its styling, which is useful for GUI fixes across platforms and when using custom QGIS Qt widgets, like QgsCollapsibleGroupBox.
- Live color chooser dialogs and buttons: Every color chooser button throughout the interface has been updated to give visual feedback on whether the current color has a transparent, or ‘alpha,’ component. The color chooser opened by the new color buttons will now always be the default for the operating system. If the user has Use live-updating color chooser dialogs checked under , any change in the color chooser will immediately be shown in the color button and for any item currently being edited, where applicable.
- SVG Annotations: With QGIS 2.0 you can now add SVG annotations to your map - either pinned to a specific place or in a relative position over the map canvas.
シンボロジー
データ定義プロパティ: あたらしいデータ定義プロパティによってシンボルのタイプ,サイズ,色,傾き等多くの様々なプロパティを地物の属性で管理することができるようになりました.
シンボルレイヤ管理の改良: 新しいシンボルレイヤのオーバービューはクリアで矢印を使ったツリー構造を使って簡単で迅速にシンボルレイヤにアクセスできます.
- Support for transparency in colour definitions: In most places where you select colours, QGIS now allows you to specify the alpha channel (which determins how transparent the colour should be). This allows you to create great looking maps and to hide data easily that you don’t want users to see.
- Color Control for Raster Layers: QGIS 2.0 allows you to precisely control exactly how you’d like raster layers to appear. You now have complete control over the brightness, contrast and saturation of raster layers. There’s even options to allow display of rasters in grayscale or by colorising with a specified color.
レイヤ間でシンボロジコピー: いまやシンボロジをあるレイヤから別のレイヤにコピーする作業はとても簡単になりました. もしあなたが多くの似たようなレイヤで作業を行っているなら,あるレイヤを単純にマウス右ボタンでクリックしてコンテキストメニューからスタイルのコピーを選び,それから別のレイヤをマウス右ボタンクリックしてスタイルペーストを選択すればいいです.
スタイルをデータベースに保存: ベクタデータをデータベースに格納している場合レイヤのスタイル定義をデータベースに直接格納することができます. これによってスタイル付きレイヤをエンタープライズやマルチユーザ環境で簡単に共有できます.
- Colour ramp support: Colour ramps are now available in many places in QGIS symbology settings and QGIS ships with a rich, extensible set of colour ramps. You can also design your own and many cpt-city themes are included in QGIS now ‘out of the box’. Color ramps even have full support for transparency!
- Set custom default styles for all layer types: Now QGIS lets you control how new layers will be drawn when they do not have an existing .qml style defined. You can also set the default transparency level for new layers and whether symbols should have random colours assigned to them.
マップコンポーザ
HTML マップアイテム: htmlエレメントを地図に配置することができます.
自動スナップライン: 地図アイテムをうまく整列させることは素晴らしい地図印刷のためには重要な事項です. 自動スナップラインを使うとコンポーザオブジェクトを簡単にドラッグして他のオブジェクトの近くに整列させることができます.
- Manual Snap Lines: Sometimes you need to align objects a curtain distance on the composer. With the new manual snapping lines you are able to add manual snap lines which allow for better align objects using a common alignment. Simply drag from the top or side ruler to add new guide line.
マップシリーズ生成: マップシリーズの作成は必要ではなかったでしょうか? 当然必要ですよね. コンポーザはアトラス機能を使ってマップシリーズを作成する機能を実装しました. カバレジレイヤはポイント,ライン、ポリゴンが利用できカレント地物属性データは動的な値置き換えによってラベルに格納されます.
- Multipage support: A single composer window can now contain more than one page.
コンポーザラベルにおける式: 1.8 におけるコンポーザラベルは $CURRENT_DATE という単一のトークンが利用できるだけの限定された機能でした. 2.0 では全面的に式が利用できるようになったので最終的なラベル出力に強力な力とコントロールが加わりました.
- Automatic overview support in map frame: Need to show the current area of the main map frame in a smaller overview window. Now you can. The map frame now contains the ability to show the extents of other and will update when moved. Using this with the atlas generation feature now core in the composer allows for some slick map generation. Overview frame style uses the same styling as a normal map polygon object so your creativity is never restricted.
- Layer blending: Layer blending makes it possible to combine layers in new and exciting ways. While in older versions, all you could do was to make the layer transparent, you can now choose between much more advanced options such as “multiply”, “darken only”, and many more. Blending can be used in the normal map view as well as in print composer. For a short tutorial on how to use blending in print composer to make the most out of background images, see “Vintage map design using QGIS”.
** HTMLのlabelのサポート**:HTMLサポートは、最終的なマップをさらに制御するため、マップコンポーザーラベル項目を追加しました。そのような場合、HTMLのラベルは、完全なCSSスタイルシート、HTML、さらにはJavaScriptをサポートしています。
- Multicolumn composer legend: The composer legend now supports multiple columns. Splitting of a single layer with many classes into multiple columns is optional. Single symbol layers are now added by default as single line item. Three different styles may be assigned to layer/group title: Group, Subgroup or Hidden. Title styles allow arbitrary visual grouping of items. For example, a single symbol layer may be displayed as single line item or with layer title (like in 1.8), symbols from multiple following layers may be grouped into a single group (hiding titles) etc. Feature counts may be added to labels.
- Updates to map composer management: The following improvements have been made to map composer management:
- Composer name can now be defined upon creation, optionally choosing to start from other composer names
コンポーザを多重化できます
- New from Template and from Specific (in Composer Manager) creates a composer from a template located anywhere on the filesystem
- Parent project can now be saved directly from the composer work space
- All composer management actions now accessible directly from the composer work space
Labeling
- New labeling system: The labeling system has been totally overhauled - it now includes many new features such as drop shadows, ‘highway shields’, many more data bound options, and various performance enhancements. We are slowly doing away with the ‘old labels’ system, although you will still find that functionality available for this release, you should expect that it will disappear in a follow up release.
- Expression based label properties: The full power of normal label and rule expressions can now be used for label properties. Nearly every property can be defined with an expression or field value giving you more control over the label result. Expressions can refer to a field (e.g. set the font size to the value of the field ‘font’) or can include more complex logic.
- Older labeling engine deprecated: Use of the older labeling engine available in QGIS <= 1.8 is now discouraged (i.e. deprecated), but has not been removed. This is to allow users to migrate existing projects from the old to new labeling engine. The following guidelines for working with the older engine in QGIS 2.0 apply:
- Deprecated labeling tab is removed from vector layer properties dialog for new projects or older opened projects that don’t use that labeling engine.
- Deprecated tab remains active for older opened projects, if any layer uses them, and does not go away even if saving the project with no layers having the older labeling engine enabled.
- Deprecated labeling tab can be enabled/disabled for the current project, via Python console commands. Please note: There is a very high likelihood the deprecated labelling engine will be completely removed prior to the next stable release of QGIS. Please migrate older projects.
プログラマビリティ
- New Python Console: The new Python console gives you even more power. Now the with auto complete support, syntax highlighting, adjustable font settings. The side code editor allows for easier entry of larger blocks of code with the ability to open and run any Python file in the QGIS session.
- Even more expression functions: With the expression engine being used more and more though out QGIS to allow for things like expression based labels and symbol, many more functions have been added to the expression builder and are all accessible through the expression builder. All functions include comprehensive help and usage guides for ease of use.
- Custom expression functions: If the expression engine doesn’t have the function that you need. Not to worry. New functions can be added via a plugin using a simple Python API.
- New cleaner Python API: The Python API has been revamped to allow for a more cleaner, more pythonic, programming experience. The QGIS 2.0 API uses SIP V2 which removes the messy toString(), toInt() logic that was needed when working with values. Types are now converted into native Python types making for a much nicer API. Attributes access is now done on the feature itself using a simple key lookup, no more index lookup and attribute maps.
- Code compatibility with version 1.x releases: As this is a major release, it is not completely API compatible with previous 1.x releases. In most cases porting your code should be fairly straightforward - you can use this guide to get started. Please use the developer mailing list if you need further help.
- Python project macros: A Python module, saved into a project.qgs file, can be loaded and have specific functions run on the following project events: openProject(), saveProject() and closeProject(). Whether the macros are run can be configured in the application options.
プラグイン
- Revamped plugin manager: In QGIS 1.x managing plugins was somewhat confusing with two interfaces - one for managing already installed plugins and one for fetching python plugins from an only plugin repository. In QGIS 2.0 we introduce a new, unified, plugin manager which provides a one stop shop for downloading, enabling/disabling and generally managing you plugins. Oh, and the user interface is gorgeous too with side tabs and easy to recognise icons!
- Application and Project Options: Define default startup project and project templates. With QGIS 2.0 you can specify what QGIS should do when it starts: New Project (legacy behaviour, starts with a blank project), Most recent (when you start QGIS it will load the last project you worked on), Specific (always load a specific project when QGIS starts). You can use the project template directory to specify where your template projects should be stored. Any project that you store in that directory will be available for use as a template when invoking the from template menu.
- System environment variables: Current system environment variables can now be viewed and many configured within the application Options dialog. Useful for platforms, such as Mac, where a GUI application does not necessarily inherit the user’s shell environment. Also useful for setting/viewing environment variables for the external tool sets controlled by the processing toolbox, e.g. SAGA, GRASS; and, for turning on debugging output for specific sections of the source code.
- User-defined zoom scales: A listing of zoom scales can now be configured for the application and optionally overridden per project. The list will show up in the Scale popup combo box in the main window status bar, allowing for quick access to known scales for efficiently viewing and working with the current data sources. Defined scales can be exported to an XML file that can be imported into other projects or another QGIS application.
一般情報
- Quantum GIS is now known only as ‘|qg|’: The ‘Quantum’ in ‘Quantum GIS’ never had any particular significance and the duality of referring to our project as both Quantum GIS and QGIS caused some confusion. We are streamlining our project and as part of that process we are officially dropping the use of the word Quantum - henceforth we will be known only as QGIS (spelled with all letters in upper case). We will be updating all our code and publicity material to reflect this.
レイヤ凡例
- Legend visual feedback and options
- Total count for features in layer, as well as per symbol
- Vector layers in edit mode now have a red pencil to indicate uncommitted (unsaved) edits
- Active layer is now underlined, to indicate it in multi-layer selections or when there is no selection
- Clicking in non-list-item whitespace now clears the selection
- Right-clicks are now treated as left-clicks prior to showing the contextual menu, allowing for one click instead of two
- Groups and layers can optionally be in a bold font style
- Raster layer generated preview icons can now be turned off, for projects where such rendering may be slow
- Duplicate existing map layer: Duplicate selected vector and raster layers in the map layer legend. Similar to importing the same data source again, as a separate layer, then copy/pasting style and symbology attributes.
- Multi-layer toggle editing commands: User can now select multiple layers in legend and, if any of those are vector layers in edit mode, choose to save, rollback, or cancel current uncommitted edits. User can also choose to apply those actions across all layers, regardless of selection.
ブラウザ
- Improvements to in-app browser panel:
- Directories can be filtered by wildcard or regex expressions
- New Project home (parent directory of current project)
- View Properties of the selected directory in a dialog
- Choose which directories to Fast scan
- Choose to Add a directory directly to Favourites via filesystem browse dialog
- New /Volumes on Mac (hidden directory for access to external drives)
- New OWS group (collation of available map server connections)
- Open a second browser () for drag-n-drop interactions between browser panels
- Icons now sorted by item group type (filesystem, databases, map servers)
- Layer Properties now have better visual layout