[Qgis-user] add coordinates to my map?

Juan Carlos Giménez jcfernan at unex.es
Tue Jun 9 02:13:40 PDT 2015


Hello Peter,
Maybe I misunderstand your question, but I supose you want to add
coordinates to x and y axes in a "printed map".

This is the road map:

1) Open or create a "Print Composer"
2) Add new map (your "view")
3) Go to "Item properties" --> Grids
4) Add new grid (green "+") and select your choice (CRS, interval, style,
...)

Sorry if this don't help you,
Juan Carlos

2015-06-09 10:47 GMT+02:00 Alexandre Neto <senhor.neto at gmail.com>:

> Hello Peter,
>
> Following Lene's idea, If your layer geometry type are lines or polygons,
> you need to calculate the centroid.
>
>
> https://sigsemgrilhetas.wordpress.com/2015/02/10/calcular-coordenadas-do-centroide-de-poligonos-calculate-polygon-centroids-coordinates/
>
> So the expression will become:
>
>
>
> *xmin(centroid($geometry)) || ‘ , ‘ || ymin(centroid($geometry))*
> Hope it helped,
>
> Alexandre
>
> On Mon, Jun 8, 2015 at 6:17 AM, Lene Fischer <lfi at ign.ku.dk> wrote:
>
>>  Hi Peter,
>>
>> You can use the functions $x and $y for inserting it as an Expression in
>> a  label.
>>
>>
>>
>> To separate the information between the X and Y you  insert  *‘ space
>> comma space ‘ *it looks like:
>>
>>
>>
>> *$X || ‘ , ‘ || $Y*
>>
>>
>>
>> See the video at http://screencast.com/t/iL02hUFDCHo
>>
>> Regards
>>
>>
>>
>>
>>
>> *Lene Fischer*
>>
>> Associate Professor
>>
>>
>>
>> *Department of Geosciences and Natural Resource Management*
>>
>> University of Copenhagen
>>
>>
>>
>>
>>
>> MOB +45 40115084
>>
>> lfi at ign.ku.dk
>>
>>
>>
>>
>>
>> [image: cid:image001.gif at 01D03029.2F3EC6A0]
>>
>>
>>
>>
>>
>>
>>
>> *Fra:* qgis-user-bounces at lists.osgeo.org [mailto:
>> qgis-user-bounces at lists.osgeo.org] *På vegne af *peter spence
>> *Sendt:* 7. juni 2015 23:08
>> *Til:* qgis-user at lists.osgeo.org
>> *Emne:* [Qgis-user] add coordinates to my map?
>>
>>
>>
>> Dear Ggis users,
>>
>> Can any one tell me how I can add coordinates to the X,Y-as of my map?
>>
>> Thanks!
>>
>> Peter
>>
>> ps
>> I couldn't find it in the manual...
>> Using Qgis 2.6
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
_______________________________________________________
Juan Carlos Giménez Fernández
Grado en Ingeniería Forestal y del Medio Natural
Centro Universitario de Plasencia
Universidad de Extremadura
Avda. Virgen del Puerto nº 2
10600 Plasencia Cáceres (Spain)
Phone: +34-927-25-70-00 (ext. 52148)
FAX:   +34-927-42-52-09
Móvil: +34-655-06-87-86
_______________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150609/edcf471d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4863 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150609/edcf471d/attachment.gif>


More information about the Qgis-user mailing list