Re: [Qgis-user] add coordinates to my map?
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 l...@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 l...@ign.ku.dk [image: cid:image001.gif@01D03029.2F3EC6A0] *Fra:* qgis-user-boun...@lists.osgeo.org [mailto: qgis-user-boun...@lists.osgeo.org] *På vegne af *peter spence *Sendt:* 7. juni 2015 23:08 *Til:* qgis-user@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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] add coordinates to my map?
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.n...@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 l...@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 l...@ign.ku.dk [image: cid:image001.gif@01D03029.2F3EC6A0] *Fra:* qgis-user-boun...@lists.osgeo.org [mailto: qgis-user-boun...@lists.osgeo.org] *På vegne af *peter spence *Sendt:* 7. juni 2015 23:08 *Til:* qgis-user@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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@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 ___ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] add coordinates to my map?
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 l...@ign.ku.dkmailto:l...@ign.ku.dk [cid:image001.gif@01D03029.2F3EC6A0] Fra: qgis-user-boun...@lists.osgeo.org [mailto:qgis-user-boun...@lists.osgeo.org] På vegne af peter spence Sendt: 7. juni 2015 23:08 Til: qgis-user@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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] add coordinates to my map?
Hi Peter, If you want a label with the coordinates and then see it on the map, if you have the coordinates (X, Y) in your attribute table, one option is to convert these values that are numeric to string, and then do what they call a string concatenation, therefore you must generate another column. Regards, Carlos Carbajal El 07/06/2015 a las 16:07, peter spence escribió: 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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user