




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、下載GeoServer/display/GEOS/Stable搭建GeoServer環(huán)境需要安裝GeoServer、Javajdr。3、發(fā)布GeoServer2的WEB應(yīng)用到Tomcat4、啟動(dòng)Tomcat,打開http://localhost:8080/geoserver出現(xiàn)以下界面說明發(fā)布成功,這里的登錄帳號(hào):admin密碼:geoserver帳號(hào)文件的位置在:webapps/geoserver/data/security/perties3CeoServerusernamepassword3CeoServerusernamepasswordRemembermeWelcomeServer◎AboutGeoServerDemosLayerPreviewThisGeoServerbelongstoTKeDemosLayerPreviewThisGeoServerbelongstoTKe汕tiEntgeog「BDhE5INC.ThisGeoServerinstanceisrunningversion2.0.1.Formoreinformationplease匚onta;匚ttheadministrator.ServiceCapabilitiiwcs1.0.01.1.1WFS1,0.01.1.0WMS1.1.15、新建Workspaces點(diǎn)擊左邊導(dǎo)航中的Workspaces出現(xiàn)下面的界面(我把以前默認(rèn)的一些Workspaces都刪掉了,所以我這里只有一個(gè)),然后點(diǎn)擊[Addnewworkspace]ManageGeoServerworkspaces?Addnewworkspace◎flemovese/ectetfManageGeoServerworkspaces?Addnewworkspace◎flemovese/ectetfworkgpsc:e(s)iJkServerStatus旳ContactInformationLl]GlobafSettingsFTJAISettingsAboutGeoServerServices?GWCiiwcs[£iWFS&WMSDataWorkspa^ogsStoresLayersLayerGroupsStyles這里填寫Workspace的名稱和命名空間名稱最好為英文否則IE下出錯(cuò)命名空間為你網(wǎng)站的地址選擇Defaultworkspace將其設(shè)置為默認(rèn)NewWorkspaceConfigureanewworkspaceNameGuangZhouNewWorkspaceConfigureanewworkspaceNameGuangZhouServer■_iServerStatusa弓ContactInformationLUGlobalSettingsF:JAISettingsAboutGeoServerServicesNamespaceURIServicesGWCWCSWFSWMSGWCWCSWFSWMSDefaultworkspaceSubmitCancelSSubmitCancelData31Workspaces6、新建Store點(diǎn)擊左邊導(dǎo)航中的Stores出現(xiàn)下面的界面,然后點(diǎn)擊】AddnewStore]Managethestoresprovidingdatat:oGeoServerAddnewStoreRemoveselectedStoresManagethestoresprovidingdatat:oGeoServerAddnewStoreRemoveselectedStoresTypeWorkspaceStoreNar□idGuangZhougznnyql□BGuangzhou□BGuangzhougzResults1to3(outof3items)Results1to3(outof3items)Server,血ServerStatus吐ContactInformationLUGlobalSettingsIF:JAISettingsAboutGeoServerServices◎GWC曲WCS迅awfsawmsData31WorkspacesUjStores
這里先選擇】Shapefile],我們添加shp格式的地圖文件ChoosethetypeofdatasourceyouwishtoconfigureVectorDataSourcesServeriJkServerStatusfl=lContactInformation這里先選擇】Shapefile],我們添加shp格式的地圖文件ChoosethetypeofdatasourceyouwishtoconfigureVectorDataSourcesServeriJkServerStatusfl=lContactInformationlj]GlobalSettings取JAISettings◎AboutGeoServerServices騎GWC[&WCSCiWFS於WMSDataQlWorkspacesQStoresMySQL(JNDI)-MySQLDatabase(JNDI)HPostGIS-PostGISDatabase口Pc-stGIS(JNDI)-PostGISDatabase(JNDI)日Properties-Allows日匸匚es&toJavaPropertyfiles匚0ntainingFe口Shapefile-ESRI(tm)Shapefiles(\shp)WebFeatureServer-TheWFSDataStorerepresentsaconneaccesstotheFeaturespublishedbytheserver,andtheability1allowed).URL的地方要注意,這里用的是相對(duì)路徑,所以應(yīng)該把shp的地圖文件和其他一些文件全部拷貝到webapps/geoserver/data/data/shapefiles這個(gè)目錄下。地圖文件我是下的[中國(guó)縣市行政區(qū)劃]大家可以到/nfgis/chinese/c_xz.htm下載,免費(fèi)的就是老了一點(diǎn)八、、陽ContactInformationLjGlobalSettingsF:JAISettingsAboutGeaServerServicesGWCwcs(fiWFS屆WMSDatai_iWorkspa匚洋Li)Stores'LayersLayerGroups爾StylesSecurity&UsersDatasecurity彩ServicesecurityOCatalogsecurityDemosShapefileESRI(tm)Shapefiles(<shp)BasicStoreInfoWorkspace*GuangZhouDataSourceName*ConnectionParametershttp://www.gz.argScreatespatialindexcharsetGB2312Smemorymappedbuffer保存Store后出現(xiàn)了新Layer的chooser界面,這個(gè)的意思是在這個(gè)shp文件中發(fā)現(xiàn)了一個(gè)Layer,然后點(diǎn)擊[Publish]NewLayerchooserHereisalistofresourcescontainedinthestoregzl2'.ClickonthelayeryouwishtoconfigureResults1to1(outof1items) ”searchPublishedLayernameBOUNT^poiyPublishV〕〔V]⑴〔AResults1to1(outof1items)其他都不動(dòng),需要填寫三個(gè)部分DeclaredSRS點(diǎn)擊旁邊的find,然后選擇2010NativeBoundingBox點(diǎn)擊下面的]Computefromdata]Lat/LonBoundingBox點(diǎn)擊下面的]Computefromnativebounds]然后保存
DeclaredSRSEP5G:2010Find...EPSG:NAD27(CGQ77)/SCoPQzone4…SRShandlingForcedeclared-JBoundingBoxesNativeBoundingBokMinX MinYMaxXMaxY|?3.447 |6.319135.08653.558ComputefromdataLat/LonBoundingBoxMinX MinYMaxXMaxY|-64.237 |o |-64.236 |oComputefromnativebounds點(diǎn)擊左邊導(dǎo)航條中的Layers就能看到剛才添加的那個(gè)Layer了Server品牝⑴曰St衣usa=jContactInformationlj]GlobalSettingsF:JAISettings觀AboutGeoServerManagethelayersbeingpublishedbyGeoServer?Addanewresour匚e◎flemo^eseiectedresourcesServices4f>GWC■WCSL&WFS晶WMSTypeWorkspaceStoreLayerNami□QGuangzhougzmyqtbountjine□■GuangZhoug"BOUNTpoly□MGuangZhougzBOUNTjineResults1to3(outof3items)Results1to3(outof3items)Data3lWorkspacesQStores1Layers點(diǎn)擊左邊導(dǎo)航條最下面的LayerPreview可以看到可預(yù)覽的Layer列表,點(diǎn)擊Layer對(duì)應(yīng)的OpenLayers就可以預(yù)覽地圖了ListofalllayersconfiguredinGeoServerandprovidespreviewsinvariousfcTypeNameTitleListofalllayersconfiguredinGeoServerandprovidespreviewsinvariousfcTypeNameTitleCommonFQGuangZhod:boLint_linebauntjineOpenLayers■GuangZho□:BOUNl^polyBOUNT_palyOpenLayersWGuangZhoiJ:BOUNT_llineBOUNT_liineOpenLayers■gzOpenLayersResults1to4(outof4items)Results1to4(outof4items)ServerServerStatusfl=iConta匚tInformationlJ]GtobatSettingsIFZJAISettingsAbou
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 生物學(xué)科實(shí)驗(yàn)操作經(jīng)驗(yàn)交流計(jì)劃
- 畫出童年小班藝術(shù)表現(xiàn)計(jì)劃
- 優(yōu)化流程的年度工作框架計(jì)劃
- 班級(jí)心理素質(zhì)提升活動(dòng)的案例分享計(jì)劃
- 2025年中國(guó)新型建材行業(yè)市場(chǎng)競(jìng)爭(zhēng)格局及投資方向研究報(bào)告(智研咨詢)
- 2025年鐵紅項(xiàng)目建議書
- 2025年系列自動(dòng)遙測(cè)氣象站項(xiàng)目合作計(jì)劃書
- 汽車零件互換性規(guī)則設(shè)定
- 構(gòu)建穩(wěn)定可靠的數(shù)據(jù)庫(kù)同步體系
- 三國(guó)演義的英雄氣概讀后感
- 發(fā)展?jié)h語 初級(jí)讀寫一 第二課 謝謝你
- 部編版六年級(jí)語文下冊(cè)第一單元大單元教學(xué)任務(wù)單
- 人教版小學(xué)語文1-6年級(jí)背誦內(nèi)容完整版
- 2023徐金桂“徐徐道來”(行政法知識(shí)點(diǎn))版
- 《事故汽車常用零部件修復(fù)與更換判別規(guī)范》
- 2024-2030年中國(guó)酒類流通行業(yè)發(fā)展動(dòng)態(tài)及投資盈利預(yù)測(cè)研究報(bào)告
- 物業(yè)管理如何實(shí)現(xiàn)降本增效
- DL-T825-2021電能計(jì)量裝置安裝接線規(guī)則
- 信息科技重大版 七年級(jí)下冊(cè) 互聯(lián)網(wǎng)應(yīng)用與創(chuàng)新 第一單元單元教學(xué)設(shè)計(jì) 互聯(lián)網(wǎng)創(chuàng)新應(yīng)用
- 2024年興業(yè)銀行股份有限公司校園招聘考試試題及參考答案
- 2024智慧城市城市交通基礎(chǔ)設(shè)施智能監(jiān)測(cè)技術(shù)要求
評(píng)論
0/150
提交評(píng)論