Simbol Point Mengunakan Image

Selain mengunakan point shape yang sudah disediakan oleh sistem DotSpatial. Symbol pada point juga bisa mengunakan gambar/icon. Pemberian symbol gambar  cukup medeklarasikan tempat image dan ukuran image, perhatikan code berikut:

PointSymbolizer(Image.FromFile("C:\GIS\SIMBOL\point1.png"), 24)

Secara sederhana dituliskan seperti ini:

PointSymbolizer(Image.FromFile("URL image"), ukuran image)

Secara detil penulisan Coding symbol point dari gambar dapat anda perhatikan pada algoritma berikut:

Dim fs As New FeatureSet(FeatureType.Point)

fs = FeatureSet.Open(Application.StartupPath & "\SHP\PointPengenal.shp")

fs.Projection = Map1.Projection

  

Dim pointLayer As MapPointLayer = Map1.Layers.Add(fs)

Dim symbol As New PointSymbolizer(Image.FromFile(Application.StartupPath & "\SIMBOL\point1.png"), 24)

Dim symbol1 As New PointSymbolizer(Image.FromFile(Application.StartupPath & "\SIMBOL\Point2.png"), 24)

 

pointLayer.Symbolizer = symbol

pointLayer.SelectionSymbolizer = symbol1

pointLayer.LegendText = "Titik Pengenal"

 


Comments

  • A Name wrote:

    This is an example of a comment made on a post. You can either edit the comment, delete the comment or reply to the comment. Use this as a place to respond to the post or to share what you are thinking.

  • A Name wrote:

    This is an example of a comment made on a post. You can either edit the comment, delete the comment or reply to the comment. Use this as a place to respond to the post or to share what you are thinking.

  • A Name wrote:

    This is an example of a comment made on a post. You can either edit the comment, delete the comment or reply to the comment. Use this as a place to respond to the post or to share what you are thinking.


Write A Comment

 

Dasar Web GIS Arcgis Server ESRI

Cara Mebuat web GIS mengunakan tools ArcGIS dari ESRI dengan menggabungkan contoh-contoh project serderhana dari developers.arcgis.com.

Continue Reading »

Website Universitas Islam Kalimantan (UNISKA) Syekh Muhammad Arsyad Al-Banjary - Jl.Adhyaksa No.2 Kayu Tangi - Banjarmasin.

Continue Reading »

Website Fakultas Teknologi Informasi Universitas Islam Kalimantan (UNISKA) Syekh Muhammad Arsyad Al-Banjary.

Continue Reading »

Unit Kegiatan Mahasiswa Paduan Suara UNISKA MAB (UKM-PSU).

Continue Reading »

link Elearning

Statistik Pengunjung

  • Total Total Kunjungan : 34535
  • Total Total Hits : 47
  • Today Kunjungan Hari Ini : 6
  • Online Online User : 1
  • Update Last Update : 12-03-2016