Detail API
Data Batas Administrasi Wilayah
Service API yang menyediakan batas administrasi wilayah dan dikelola oleh Pusdatinrenbang yang bersumber dari Kementerian Dalam NegeriURL
https://api.bappenas.go.id/api/service/bataswilayah/1URL
Endpoint
No | Endpoint | Description |
---|---|---|
1 | wfs | untuk mengambil data batas wilayah dalam format WFS |
2 | wms | untuk mengambil data batas wilayah dalam format wms (peta) |
Document API
No Document Available
Authorization
Pilih aplikasi yang sudah anda daftarkan *wfs
Method
GET
URL
https://api.bappenas.go.id/api/service/bataswilayah/1/wfs
Parameter
No. | Parameter | Description |
---|---|---|
1 | request required | Requested operation. Allowed values: "GetCapabilities", "DescribeFeatureType", "GetFeature". GetCapabilities: generates a metadata document describing a WFS service provided by server as well as valid WFS operations and parameters. DescribeFeatureType: returns a description of feature types supported by a WFS service. GetFeature: returns a selection of features from a data source including geometry and attribute values. |
2 | service required | Service name Value is "wfs" |
3 | typeNames required | Name of the feature type to describe. Allowed values: "bataswilayah:Administrasi_AR_Provinsi_50K", "bataswilayah:Administrasi_AR_KabKota_50K", "bataswilayah:Administrasi_AR_Kecamatan_10K", "bataswilayah:Administrasi_AR_KelDesa_10K". bataswilayah:Administrasi_AR_Provinsi_50K: Informasi geospasial batas wilayah administrasi provinsi skala 1:50.000. bataswilayah:Administrasi_AR_KabKota_50K: Informasi geospasial batas wilayah administrasi kabupaten/kota skala 1:50.000. bataswilayah:Administrasi_AR_Kecamatan_10K: Informasi geospasial batas wilayah administrasi kecamatan skala 1:10.000. bataswilayah:Administrasi_AR_KelDesa_10K: Informasi geospasial batas wilayah administrasi kelurahan/desa skala 1:10.000. |
4 | version required | Service version. Allowed values: "1.0.0", "1.1.0", "2.0.0". |
5 | outputFormat optional | Defines the scheme description language used to describe feature types. Suggested values: "application/json" |
6 | propertyName optional | Get certain attributes/properties only. Allowed values can be seen using DescribeFeatureType request. For more than one attribute/property, use a comma-separated list of values. |
7 | count optional | Limit the number of features/records returned. |
Example
*Respons API hanya menampilkan sampel data untuk memberikan gambaran data yang tersedia.
Authorization
Pilih aplikasi yang sudah anda daftarkan *wms
Method
GET
URL
https://api.bappenas.go.id/api/service/bataswilayah/1/wms
Parameter
No. | Parameter | Description |
---|---|---|
1 | width required | Width of map output, in pixels. |
2 | height required | Height of map output, in pixels. |
3 | layers required | Layers to display on map. Value is a comma-separated list of layer names. Allowed values: "bataswilayah:Administrasi_AR_Provinsi_50K", "bataswilayah:Administrasi_AR_KabKota_50K", "bataswilayah:Administrasi_AR_Kecamatan_10K", "bataswilayah:Administrasi_AR_KelDesa_10K". bataswilayah:Administrasi_AR_Provinsi_50K: Informasi geospasial batas wilayah administrasi provinsi skala 1:50.000. bataswilayah:Administrasi_AR_KabKota_50K: Informasi geospasial batas wilayah administrasi kabupaten/kota skala 1:50.000. bataswilayah:Administrasi_AR_Kecamatan_10K: Informasi geospasial batas wilayah administrasi kecamatan skala 1:10.000. bataswilayah:Administrasi_AR_KelDesa_10K: Informasi geospasial batas wilayah administrasi kelurahan/desa skala 1:10.000. |
4 | version required | Service version. Allowed values: "1.0.0","1.1.0","1.1.1", "1.3.0". |
5 | bbox required | Bounding box for map extent. Value is minx,miny,maxx,maxy in units of the SRS. Suggested values: "94.97190856933594%2C-11.00761604309082%2C141.02005004882812%2C6.076832294464111" (Indonesia) |
6 | request required | Requested operation. Allowed values: "GetCapabilities", "GetMap", "GetFeatureInfo". GetCapabilities: generates a metadata document describing a WMS service provided by server as well as valid WMS operations and parameters. GetMap: retrieves a map image for a specified area and content. GetFeatureInfo: Retrieves the underlying data, including geometry and attribute values, for a pixel location on a map. |
7 | service required | Service name—Value is "wms" |
8 | styles required | Styles in which layers are to be rendered. Value is a comma-separated list of style names, or empty if default styling is required. Style names may be empty in the list, to use default layer styling. |
9 | query_layers optional | hanya untuk get feature info. Comma-separated list of one or more layers to query. |
10 | transparent optional | Whether the map background should be transparent. Values are "true" or "false". Default is "false". |
Example
*Respons API hanya menampilkan sampel data untuk memberikan gambaran data yang tersedia.