Testing the Map Fileのソースを表示
提供: OSGeo.JP Wiki
←
Testing the Map File
移動:
案内
、
検索
あなたには「このページの編集」を行う権限はありません。理由は以下の通りです:
この操作は、以下のグループに属する利用者のみが実行できます:
登録利用者
。
ページの編集を始める前にメールアドレスの確認をする必要があります。
個人設定
でメールアドレスを設定し、確認を行ってください。
このページのソースの閲覧やコピーができます:
<H3> Testing the Map File </H3> <P> We can now test our work using the shp2img tool to create an image from the map file. The shp2img utility is part of MapServer and FWTools. To create an image from our map: <P> <UL> <LI>Open a terminal window </LI> <LI>If you didn't save your map file in your home directory, change to the folder where you saved it. </LI> <LI>Run shp2img -m qgisproject.map -o mapserver_test.png and display the image </LI> </UL> <P> This creates a PNG with all the layers included in the QGIS project file. In addition, the extent of the PNG will be the same as when we saved the project. As you can see in Figure <A HREF="#fig:mapserver_export_test">60</A>, all information except the airport symbols are included. <P> <DIV ALIGN="CENTER"><A NAME="fig:mapserver_export_test"></A><A NAME="74"></A> <TABLE> <CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG> Test PNG created by shp2img with all MapServer Export layers </CAPTION> <TR><TD> <DIV ALIGN="CENTER"> </DIV> <P></P> <DIV ALIGN="CENTER"> [clip=true, width=12cm]mapserver_export_test </DIV></TD></TR> </TABLE> </DIV> <P> If you plan to use the map file to serve WMS requests, you probably don't have to tweak anything. If you plan to use it with a mapping template or a custom interface, you may have a bit of manual work to do. To see how easy it is to go from QGIS to serving maps on the web, take a look at Christopher Schmidt's 5 minute flash video. He used an older version of QGIS (version 0.8), but the demo applies equally well to newer versions.
Testing the Map File
に戻る。
案内メニュー
表示
ページ
議論
ソースを表示
履歴
個人用ツール
3.137.174.44
このIPアドレスのトーク
アカウント作成
ログイン
案内
メインページ
最近の更新
おまかせ表示
ヘルプ
検索
ツール
リンク元
関連ページの更新状況
特別ページ
ページ情報