Dari postingan saya yang lalu mengenai Mapserver, beberapa pembaca tampak antusias ingin mulai menyelami dunia GIS dengan Mapserver, meskipun apa yang saya jelaskan ketika itu benar-benar eksplorasi paling dasar yang pernah saya lakukan ketika berkenalan dengan Mapserver. Mungkin hal itulah yang menarik pembaca hadir di tulisan saya. Semoga tulisan saya yang sederhana ini dapat mudah dipahami dan bermanfaat. Dan diskusi tetap dibuka lebar, cukup dengan meninggalkan komentar di sini. Selama ini saya menggunakan mapserver di platform Windows. Berikut panduan dasar penggunaan Mapserver, semoga membantu.
Instalasi ms4w
- Pastikan ms4w di ekstrak di folder root (misal C:\ms4w\). Saya pernah mengalami kesulitan ketika menginstal aplikasi ms4w pada path yang terlalu dalam. Supaya terjamin berhasil, saya sarankan menginstal aplikasi ini di folder root.
- Pastikan hanya ada satu servis yang berjalan pada komputer Anda. Apabila sebelumnya sudah pernah menginstal servis apache lain (misal xampp), pastikan bahwa kedua servis berjalan di port yang berbeda.
- jalankan servis ms4w (C:\ms4w\install-service.bat)
- Buka http://localhost/ pada browser Anda, dan perhatikan apa yang terjadi *mario teguh banget
*.
Instalasi aplikasi pada Mapserver (Studi kasus: pmapper).
- Ekstrak aplikasi mapserver (misal p.mapper) di folder apps (C:\ms4w\apps\pmapper)
Ekstraksi aplikasi biasanya langsung berada dalam folder ms4w\apps, jadi kita cukup mengekstrak aplikasi tersebut di folder root. Ekstraksi aplikasi pada umumnya sudah dilengkapi file httpd yang berisi konfigurasi bagaimana aplikasi dijalankan.
- untuk dapat menggunakan aplikasi yang baru terinstal, restart service mapserver (jalankan C:\ms4w\apache-restart.bat).
- Lihat konfigurasi pada httpd. Sebagai contoh, untuk konfigurasi httpd pmapper{will be updated soon}
Jalankan link yang tertera di konfigurasi httpd tersebut pada browser Anda.
- Dan, perhatikan lagi apa yang terjadi
. Seharusnya aplikasi sudah dapat berjalan.
Selanjutnya silakan lanjutkan penelitian Anda, dan jika tidak keberatan, tunjukkan hasil penelitian Anda pada saya dan semua pembaca di sini untuk berbagi ilmu kembali. Semoga sukses
From my older post related to Mapserver, some readers seem eager to have fun with GIS using Mapserver, even my writing’s not telling much about Mapserver in deep, because i’m also not too expert in it. But thanks, from your comments, i know that this is what’s people search for mapserver’s newbie. I hope this simple writing will be more easy to understand and helpfull. The discussion is still opened, just leave your comments here. At this time, i only use Mapserver in Windows platform, so the tutorial will be described only for ms4w (Mapserver for Windows).
ms4w Installation
- Make sure you extract your ms4w in root (ex: C:\ms4w\). I ever failed running ms4w when installing it in deep path, so for savely guarantee, i recommend you to install it in the root folder.
- Make sure only one service run on your PC. If there is any service already run on it, then make sure both services run in the different port.
- Install ms4w service (C:\ms4w\install-service.bat).
- Open http://localhost/ on your browser, and see what happened
.
Installing application in ms4w (case study: installing pmapper)
- Extract ms4w application (ex pmapper) in apps folder (C:\ms4w\apps). Usualy the archive is already well structured, so we’ll just need to extract the archive of the application in the root folder, so it will automatically make a copy in the apps folder. Usually the httpd config also included in the archive file.
- Restart ms4w service, so the service will re-read the httpd config.
Run the link written in the config in your browser.
- And again, see what happened
. Your application should be running well.
Then, it’s your time for exploring ms4w in details, and share to me and all the readers about your research result after exploring Mapserver if you don’t mind
. Good luck.