1 / 16

Building Your Own Web Map Server

Building Your Own Web Map Server. Mizan Rizqia / 10935. Persiapan. Geoserver 1.7.3 PosgreSQL 8.3.1.1dan Postgis uDig 1.1 Quatum GIS JOSM atau Merkaartor Osm2pgsql. Skema. Peta biasa. file.shp. QuantumGIS. shp2pgsql. diimport. postgreSQL & postgis. geoserver. osm2pgsql.

Download Presentation

Building Your Own Web Map Server

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Building Your Own Web Map Server MizanRizqia / 10935 http://blog.omongkosong.com

  2. Persiapan • Geoserver 1.7.3 • PosgreSQL 8.3.1.1dan Postgis • uDig 1.1 • Quatum GIS • JOSM atauMerkaartor • Osm2pgsql http://blog.omongkosong.com

  3. Skema Petabiasa file.shp QuantumGIS shp2pgsql diimport postgreSQL & postgis geoserver osm2pgsql PetaVektor file.osm JOSM atauMerkaartor http://blog.omongkosong.com

  4. Implementasi http://blog.omongkosong.com

  5. Implementasi Langkah-langkahmenggunakanpetaasli: • Screenshot peta • Tentukan min. 3 titikkoordinatdalampeta • Sesuaikankoordinatpetadenganhalamankerja/workspace • Mulaimendigitasi (denganQuantumGIS) • Export kedalam format shapefile (.shp) Digitasi: Prosesmengubahgambarpetaaslimenjadi format vektor http://blog.omongkosong.com

  6. Implementasi Contohdigitasi http://blog.omongkosong.com

  7. Implementasi Langkah-langkahMenggunakan Open Street Map: • Download File OSM menggunakan JOSM atauMerkaartor • MulaiMenambahkandanmeng-edit garis • Export kedalam format OSM (.osm) http://blog.omongkosong.com

  8. Implementasi Download file & edit file padaMerkaartor http://blog.omongkosong.com

  9. Implementasi Convert file shpkepgsqldengan shp2pgsql (adadalampostgis) • Buat database dahulu • Lakukan convert • Syntax: shp2pgsql [<option>] <shapefile> [<schema>]<table> Contoh: shp2pgsql -c c:\geoserver\indonesia\indonesia indotable > c:\geoserver\indonesia\indonesia.sql • Import tabelkedalam Database psgl -U postgres -d shp -f c:\geoserver\indonesia\indonesia.sql http://blog.omongkosong.com

  10. Implementasi Convert file osmkepgsqlmenggunakan osm2pgsql (download dahulu): • Buat database terlebihdahulu • Import file 900913.sql (Ter-includebersama osm2pgsql) kedalam database • Melakukan convert • Syntax: osm2pgsql -E EPSG:900913 -U postgres -W -d gis C:\geo\josm\jogja.osm http://blog.omongkosong.com

  11. Implementasi Mengambil data dariPostgresqlkeGeoserver • Config – data – datastores – new • Feature Data Set Description : postgis • Feature Data Set ID : (isisembarang) • new http://blog.omongkosong.com

  12. Implementasi Tampilanmenambahkan feature data set http://blog.omongkosong.com

  13. Implementasi Menampilkanpetapadageoserver • Config - Data - FeatureTypes – New • Feature Type Name: (pilihsesuaidengan yang tadibarukitabuat) • New • Pada: • Style : pilih format yang sesuai (apakahtitik, line, polygon) • SRS: 4326 • Generate : untukmengeneratekoordinatpeta • Submit • Apply http://blog.omongkosong.com

  14. Implementasi Tampilan Open map layer preview http://blog.omongkosong.com

  15. Referensi : • Blog.geoserver.org/2009/02/30/geoserver-and-openstreetmap/ • Cloudemade.com • Peterdamen.com/GoogleWMS/ • Perrygeo.net/wordpress/ • PostGIS 1.3.5 Manual • Wiki.openstreetmap.org/wiki/JOSM • Wiki.openstreetmap.org/wiki/merkaartor http://blog.omongkosong.com

  16. File dapatdi download di Http://blog.omongkosong.com http://blog.omongkosong.com

More Related