Re: [mapserver-users] Mapserver GRID in degrees decimal minutes format
Hi Jeff, Thank you very much for your feedback. I've filed a ticket in issue tracker, with one more possible use case: https://github.com/mapserver/mapserver/issues/5407 Please, label it as an enhancement, because it is not a bug. Thanks again Jeff! Best regards, Pedro 2017-03-11 13:12 GMT+00:00 Jeff McKenna: > I stand corrected, a few people have emailed me examples (very good to see > in action). Please file this in the ticket tracker Pedro. > > -Jeff > > > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver GRID in degrees decimal minutes format
Hi Jeff, Thank you very much! Do you think it would be a good improvement to GRIDs? Should we open a feature request? Best regards, Pedro 2017-03-08 22:55 GMT+00:00 Jeff McKenna <jmcke...@gatewaygeomatics.com>: > Hi Pedro, > > Actually I tried yesterday with that same world countries mapfile that was > used in the map images for the examples in the documentation, and I was > unsuccessful for your exact requirements. (but I did notice a mistake on > that documentation page and fixed it yesterday!) So your question helped > improve the documentation, but I am sorry to report that I don't believe it > is possible with MapServer. > > > -jeff > > > -- > Jeff McKenna > MapServer Consulting and Training Services > http://www.gatewaygeomatics.com/ > > > On 2017-03-08 6:42 PM, Pedro Venâncio wrote: > >> Hi Carlos, >> >> Using C-style formatting string, I can only use %g, %f, etc., but it is >> applied to Degrees component. >> >> What I need is something like "%gº %3.2f", in whitch %gº is for the >> Degrees, and %3.2f for the decimal Minutes. >> >> Unfortunately, LABELFORMAT "DDMM" gives only the integer part of Degrees >> and Minutes. >> >> Thank you very much. >> >> Best regards, >> Pedro >> >> >> >> 2017-03-08 2:46 GMT+00:00 Carlos Ruiz <boolean10...@yahoo.com >> <mailto:boolean10...@yahoo.com>>: >> >> Well, current Mapserver documentation guide says the following: >> >> LABELFORMAT [DD|DDMM|DDMMSS|C format string] >> >> Format of the label. “DD” for degrees, “DDMM” for degrees >> minutes, and “DDMMSS” for degrees, minutes, seconds. *A C-style >> formatting string is also allowed, such as “%g°” to show decimal >> degrees with a degree symbol. The default is decimal display of >> whatever SRS you’re rendering the GRID with.* >> >> This sounds like that is what you are looking for. >> >> Cheers >> >> >> >> *From:* Pedro Venâncio <pedrongvenan...@gmail.com >> <mailto:pedrongvenan...@gmail.com>> >> *To:* mapserver-users@lists.osgeo.org >> <mailto:mapserver-users@lists.osgeo.org> >> *Sent:* Tuesday, March 7, 2017 11:42 AM >> *Subject:* [mapserver-users] Mapserver GRID in degrees decimal >> minutes format >> >> Hi all, >> >> I would like to use a GRID [0], but in degrees decimal minutes >> LABELFORMAT. Something like: >> 40 46.817 -7 4.327 >> >> Is this somehow possible in actual Mapserver version? >> >> Thank you very much! >> >> Best regards, >> Pedro Venâncio >> >> [0] http://mapserver.org/mapfile/grid.html >> <http://mapserver.org/mapfile/grid.html> >> > > > > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Mapserver GRID in degrees decimal minutes format
Hi all, I would like to use a GRID [0], but in degrees decimal minutes LABELFORMAT. Something like: 40 46.817 -7 4.327 Is this somehow possible in actual Mapserver version? Thank you very much! Best regards, Pedro Venâncio [0] http://mapserver.org/mapfile/grid.html ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Change the distance of GRID labels from margins
Hi Ambrogio, Thanks for the help! I used a combination of the OFFSET and POSITION. With that, the X coordinate is relatively well adjusted at the top north and south . However, for the Y coordinate, I just can adjust for the left or the right margin, because if I offset for the left, the left coordinate label is sectioned. We can not hide the coordinates of some of the sides, right? For example, for Y coordinate only appear on the right side? Best regards! Pedro No dia sábado, 30 de janeiro de 2016, Ambrogio Foletti <afole...@gmail.com> escreveu: > Hello Pedro, > > you can set an OFFSET for the LABEL. > If you want the label to be further into the map, set it to > OFFSET 0 -X > where X is the number that seals the deal for you :) > > Cheers, > A. Foletti > > 2016-01-21 22:45 GMT+01:00 Pedro Venâncio <pedrongvenan...@gmail.com>: > >> Hi, >> >> Is there any way to set the distance of the GRID [0] labels, so that the >> labels be more spaced from the map margins? >> >> [0] http://mapserver.org/mapfile/grid.html >> >> I would like to have the coordinates further into the interior of the map. >> >> Thank you very much! >> >> Best regards, >> Pedro >> >> >> ___ >> mapserver-users mailing list >> mapserver-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Change the distance of GRID labels from margins
Hi, Is there any way to set the distance of the GRID [0] labels, so that the labels be more spaced from the map margins? [0] http://mapserver.org/mapfile/grid.html I would like to have the coordinates further into the interior of the map. Thank you very much! Best regards, Pedro ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users