[gradsusr] Displaying name of a shapefile on map

itesh dash itesh at rimes.int
Thu Dec 4 00:10:19 EST 2014


Hi,

I have been looking for the same answer for a quite a while, but was
unsuccessful. However, you can try something like  this.

lon1= 'your lon'
lat1= 'your lat'
'q w2xy 'lon1' 'lat1
say result
x1 = subwrd(result,3)
y1 = subwrd(result,6)
'draw mark '3' 'x1' 'y1' '0.07
'draw string 'x1-0.15' 'y1' 'locationname

Hope this helps.

Itesh
RIMES, Bangkok

On Thu, Dec 4, 2014 at 11:40 AM, Sourabh Shrivastava <sourabh.vds at gmail.com>
wrote:

> no, you cant display names on map. you can only extract the information
> only. for display the names over map you need to go withArcGis or Qgis.
>
> On Wed, Dec 3, 2014 at 9:03 PM, Jennifer Adams <jma at cola.iges.org> wrote:
>
>> You can use the ‘q shp’ and ‘q dbf’ commands to get metadata from the
>> shapefiles. Then you can parse the output and use ‘draw string’ to write
>> labels.
>> —Jennifer
>>
>> On Nov 26, 2014, at 8:48 AM, Zaib-un- Nisa <zaib.envsc at gmail.com> wrote:
>>
>> Hi there,
>>
>> How can i display the names on map from name attribute of a shapefile,
>> anyone knows?
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>> --
>> Jennifer M. Adams
>> Center for Ocean-Land-Atmosphere Studies (COLA)
>> 111 Research Hall, Mail Stop 2B3
>> George Mason University
>> 4400 University Drive
>> Fairfax, VA 22030
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> SOURABH SHRIVASTAVA
> Scientist-C
> (BIMSTEC), NCMRWF
> Ministry of Earth Sciences
> A-50, Institutional Area, Sector-62,
> NOIDA, UP, Pin: 201 307
> ---------------------------------------------------------
> Mobile: +919555813179
> emails: sourabh at ncmrwf.gov.in;
> NCMRWF website: www.ncmrwf.gov.in
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20141204/159bc8c0/attachment.html 


More information about the gradsusr mailing list