Quantcast
Viewing all articles
Browse latest Browse all 2341

New Post: Creating Legend in VB.net

Well, let me try...

This is the sample of data in the shapefile's DBF:
IDPROV  NAMEPROV
11      ACEH
12      NORTH SUMATERA
13      WEST SUMATERA
31      JAKARTA
32      WEST JAVA
51      BALI
In this part:
Dim index As Integer = sf.Table.FieldIndexByName("IDPROV")
sf.Categories.Generate(index, MapWinGIS.tkClassificationType.ctEqualIntervals, NumericUpDown1.Value)
the variable "index" means the index of the field in the dbf that has the name "IDPROV", doesn't it?
Then, I have to compare this IDPROV value with the other IDPROV in the MDB:
IDPROV  SEXRATIO
11      100.026
12      99.586
13      98.482
31      102.756
32      103.459
51      101.601
so that I can retrieve the values of SEXRATIO, right?
But I have no idea how to use the SEXRATIO field to create the shapefile categories.
Could you please show me how to do it, Pein?
Thank you...

Viewing all articles
Browse latest Browse all 2341

Trending Articles