[R-sig-Geo] Leader lines for inset map

Rohan Sadler ropo.sadler at gmail.com
Mon Nov 3 00:23:52 CET 2014


Hi Vladimir,

you will need to know the map coordinates of the corners of your AOI within
the image; and then also the map coordinates of your inset (on the scale of
the first map). Then simply use 'lines' to connect the corners.

I would concur with Bernd. I have seen ArcGIS fall over in map layout (it
becomes increasingly tedious the more maps you produce to make minor
changes and updates, even in the layout), due to an exceptionally large map
count. The only way around that as far as I can tell in ArcGIS is to
'code-it-up' and hence you are back in a similar situation as doing your
mapping with R. This is especially pertinent if you are happy with your
layouts, but your actual image/map is subject to ongoing revision and
update (e.g. it is the result of some computational process that continues
to be tuned or improved - SWeave?!?!).

On the whole, if you are getting 'publish' quality maps from R I'd be
interested. Alternatively, we would be using QGIS instead of ArcMap,
however, to get 'publish' quality maps for our reporting from QGIS requires
retraining of our GIS team and a sizable overhead to work out how best to
publish maps with QGIS (currently > cost of the software), whereas our
ArcMap workflow is already worked out. Note that you can still run R
processes from both ArcMap (through python) and QGIS if required.

Regards
Rohan



On 3 November 2014 05:32, Bernd Vogelgesang <bernd.vogelgesang at gmx.de>
wrote:

> Hi Vladimir,
> I'm sure, R is very versatile software, but it sounds really insane to me
> to try to do sth like your examples in R (If you haven't got to do this
> hundreds of times with different maps)
> Map compositions are a matter of graphics programs or even better a
> Desktop GIS, like QGIS for example.
>
> In QGIS, this would be a matter of just adding two composer frames,
> legend(s) and some lines drawn by hand.
> "Coding" a layout seems not really reasonable when you can also drag and
> drop the items in a matter of minutes.
>
> Just my 2 cents
> Bernd
>
> Am 01.11.2014, 21:03 Uhr, schrieb Vladimir <sendmeoffer at gmail.com>:
>
>
>  Hello list!
>>
>> I would like to add leader lines to my inset maps. These lines connect
>> the frame of the inset map with the corresponding area on the main map.
>> Good examples are here [1], [2], or here [3].
>>
>> What is the most convenient R approach to do so?
>>
>> Kind regards,
>> Vladimir.
>>
>> ---
>> [1] http://gce-lter.marsci.uga.edu/public/images/gce_study_
>> area_blowup_nov07_rev.jpg
>> [2] http://pubs.usgs.gov/fs/fs08203/images/study_area.gif
>> [3] http://www.innovativegis.com/basis/supplements/bm_dec_02/
>> Ironing_Colorado_files/image004.jpg
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>
>
> --
> Bernd Vogelgesang
> Siedlerstraße 2
> 91083 Baiersdorf/Igelsdorf
> Tel: 09133-825374
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



-- 
Senior Scientist
Astron Environmental Services Pty. Ltd.
rohan.sadler at astron.com.au

Adjunct Senior Lecturer
School of Agricultural and Resource Economics, M089
The University of Western Australia

Office:  +61 8 94219684
Mobile:      0433 192 600

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list