[gradsusr] using shape file

Ousmane Ndiaye ousmane at iri.columbia.edu
Mon Aug 20 03:09:26 EDT 2012


Does any one has an example using shape file more precisely filling in regions with different colors like in shp_demo01.gs
ousmane


----- Original Message -----
From: "Ousmane Ndiaye" <ousmane at iri.columbia.edu>
To: "GrADS Users Forum" <gradsusr at gradsusr.org>
Sent: Friday, August 17, 2012 8:46:37 AM
Subject: [gradsusr] using shape file

Hi 
I want to use shape file utility and I want to shade each polygon (region) with a different color. how to proceed ?
here is the output of my shape file :
ga-> q shp SEN_adm1
Shapefile Type=Polygon #Shapes=11 XBounds=-17.5432:-11.3559 YBounds=12.3073:16.6916
0:  Polygon  parts=7  vertices=3533  XBounds=-17.5432:-17.1209  YBounds=14.576:14.8868  ZBounds=0:0  MBounds=0:0 
1:  Polygon  parts=1  vertices=171  XBounds=-16.6722:-15.6798  YBounds=14.5089:15.0193  ZBounds=0:0  MBounds=0:0 
2:  Polygon  parts=32  vertices=15271  XBounds=-16.7825:-15.357  YBounds=13.5866:14.8597  ZBounds=0:0  MBounds=0:0 
3:  Polygon  parts=1  vertices=269  XBounds=-16.3649:-14.5716  YBounds=13.5849:14.7136  ZBounds=0:0  MBounds=0:0 
4:  Polygon  parts=1  vertices=623  XBounds=-16.0173:-13.4696  YBounds=12.4238:13.5895  ZBounds=0:0  MBounds=0:0 
5:  Polygon  parts=1  vertices=1685  XBounds=-16.7468:-14.2508  YBounds=14.5252:16.1858  ZBounds=0:0  MBounds=0:0 
6:  Polygon  parts=1  vertices=316  XBounds=-14.5628:-12.5848  YBounds=14.4004:16.1753  ZBounds=0:0  MBounds=0:0 
7:  Polygon  parts=1  vertices=781  XBounds=-16.5301:-13.7016  YBounds=15.5637:16.6916  ZBounds=0:0  MBounds=0:0 
8:  Polygon  parts=1  vertices=1325  XBounds=-14.8313:-11.3559  YBounds=12.3073:15.1004  ZBounds=0:0  MBounds=0:0 
9:  Polygon  parts=2  vertices=5448  XBounds=-17.1733:-16.1819  YBounds=14.036:15.4679  ZBounds=0:0  MBounds=0:0 
10:  Polygon  parts=17  vertices=19760  XBounds=-16.7913:-15.8893  YBounds=12.3359:13.1638  ZBounds=0:0  MBounds=0:0 

another question does anyone have the demo files, they are psswd protected : shp_demo?.gs
ousmane

_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr



More information about the gradsusr mailing list