shapefile - Separated by the Meridian polygons in geomaps SAS VA (SAS GRAPH) -
i'm trying create custom maps russia in visual analytics. so, i've faced trouble of "separated region".
can see visualization of problem using dal'nevostochnyy (dvfo) region mapsgfk library. 
i tried fix scatter code:
data mps.vaasia1; set mps.vaasia1; if long < 0 , isoalpha2="ru" long=long+360 ; run; and result (on picture imaged region chukotka, dosen't matter):
it's better previous situation, it's crutch.
i've try combine 2 polygons using gremove (also add paramether fuzz), result same.
upd:
use code coordinates:
data ch; set mapsgfk.russia; id ="ru-77" ; if long le 0 long=long+360 ; x=long ; y = lat; run; so question is:
how can delete space between 2 separated regions?
thx answers / comments.
this seems work, @ least specific issue. issue segment not same these, border. doing in more general way i'm not sure if there's way or not; there better way, perhaps using gproject, avoid issue entirely.
but works, @ least specific issue...
data vaasia1; set mapsgfk.asia1; if long le 0 , isoalpha2="ru" do; long=long+360 ; if segment=2 segment=1; else if segment=7 segment=8; end; if idname =: 'dal'; *if long le 0; run; proc gmap data=vaasia1 map=vaasia1; id id; choro id/nolegend; run; quit; 
Comments
Post a Comment