GithubHelp home page GithubHelp logo

widnyana / gisservice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from edwin/gisservice

0.0 3.0 0.0 1.79 MB

GIS Service to fetch Indonesian's Province, Regency and Sub-District list

Java 100.00%

gisservice's Introduction

A Simple Service for Fetching List of Indonesian Provinces, Regencies, Sub-Districts and Villages.

Updated (26 September 2015)

Adding new Province, Regencies, Sub-Districts and Villages based on 2015 data. Now with a total of 34 Provinces, 514 Regencies, 7.042 Sub-Districts and 81.873 Villages.

Tools

  • Programming Language - Java
  • IDE - Netbeans 7.2
  • DB - MySQL
  • Framework - Hibernate ORM - JaxWS 2.2
  • Build Tool - Maven

How to Build

  1. Restore dbgis.sql into existing MySql database.
  2. Make sure you have Internet Connection
  3. Open project using Netbeans
  4. Right click on your project, and build (be patience, Maven will download libraries needed automatically)
  5. Press F6 to Run your project
  6. You will find your service on this url, http://localhost:8084/GISService/Service.

Messaging

There are 4 requests provided, getProvinsis, getKabupatens, getKecamatans and getDesas. Messaging is done by using xml formats (webservice), and you could get this project's wsdl from browser (http://localhost:8084/GISService/Service?wsdl) or from Service.wsdl file.

Here is the example of getProvinsis request.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.gis.edw.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:getProvinsis/>
   </soapenv:Body>
</soapenv:Envelope>

and here is the response

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:getProvinsisResponse xmlns:ns2="http://service.gis.edw.com/">
         <return>
            <id>11</id>
            <nama>Aceh</nama>
         </return>     
		.....		 
		<return>
            <id>94</id>
            <nama>Papua</nama>
		</return>
      </ns2:getProvinsisResponse>
   </S:Body>
</S:Envelope>

Appreciations

Provinces, Regencies, Sub-Districts and Villages datas are provided by kind permission from Panji09 (http://www.kaskus.co.id/thread/518298ae8227cf927f000003/sharedatabase-wilayah-indonesia) and from http://mfdonline.bps.go.id/.

gisservice's People

Contributors

edwin avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.