Pengaturan awal Mapserver|Setting up Mapserver from scratch

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 :D *.

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 :D . 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 :D . 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.

Memulai menggunakan MapServer|Getting Started with MapServer

Latar Belakang BackGround
Tugas Akhir saya terkait dengan GIS, lebih spesifik lagi mengenai bagaimana peta digital dapat digunakan melalui device mobile. Aplikasi GIS yang saya pakai pertama kali adalah ArcGIS, setelah itu baru saya mengenal MapObject dan menggunakan MapWindow untuk pemrogramannya di PC dengan bahasa pemrograman C#. Seperti yang kita ketahui, visual studio .Net membuat pemrograman menjadi lebih mudah, sehingga ketika memrogram menggunakan MapWindow tidak terlalu bermasalah.
Fitur-fitur di ArcGIS membuat saya mempunyai gambaran umum mengenai manipulasi data GIS, seperti query, labeling, symbology, geoprocessing, dsb. Sebagian fitur standard di ArcGIS pun menjadi standard saya bagaimana aplikasi GIS itu seharusnya berfungsi (standard yang cukup tinggi, bukan?!). Begitu juga aplikasi peta yang ingin saya buat pada Tugas Akhir saya.

My Final Task is related to GIS, specifically about how digital map can be used in mobile device. The first GIS application i used was ArcGIS, then i knew MapObject and use MapWindow for programming in PC using C# programming language. As we know, Visual Studio .Net makes programming become easier, so programming using MapWindow becomes easier too. ArcGIS features give me some overview about GIS data manipulation, like query, labeling, symbology, geoprocessing, etc. Some standard features in ArcGIS become the standard of GIS application in terms how it should be worked.

Continue reading