Saturday 2 March 2019

shapefile - Fill color in polygons using attribute variable in GMT (Generic Mapping Tool)


I want to FILL colors of the polygon (converted from .shp ESRI shapefile) based on an attribute (here OBJECTID, Area) from lookup color (.cpt), but I am getting colored outline of each polygon. I attached my result (polygon.png) using below command.


psxy river_b.gmt $range $proj -X2i -Y3i -Ba1WESN -aZ=OBJECTID -Criver_b.cpt -K -P >! $outfile


Please suggest me which gmt command will work here.


enter image description here


I am attaching a example what kind of map I want to make in GMT. enter image description here




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...