Re: [mapserver-users] graticule label position
After a rather harrowing experience getting 6.0.1 compiled (never could figure out cairo I do need svg so I went back to 5.6.7), I re-examined my graticule label positions and sadly, saw no difference. Labels still do not appear on the image edges. They do of course appear on the edges when the layer is not reprojected. But, when the map is reprojected, grid layer labels get slapped around. Here's another spectacular example when the grid layer is epsg:4326 and the map's projection is epsg:102017: http://www.simplemappr.net/?map=. I'm not sure if labels on the edges would actually help with this projection unless latitudes and longitudes labels could also be clearly differentiated. Dave On Wed, Oct 5, 2011 at 12:34 PM, Bob Basques bob.basq...@ci.stpaul.mn.us wrote: I can't find my test case at the moment, but Steve Lime did address them in later versions of MapServer. bobb Brent Fraser bfra...@geoanalytic.com wrote: I doubt if it is fixed. Some time ago I did some label positioning fixes on my local code version, so I'll test with that. I just thought your PROJECTION, EXTENT, and GRID layer def would get me started... Best Regards, Brent Fraser On 10/5/2011 10:28 AM, Shorthouse, David wrote: To be clear, I'm using PHP-mapscript (no mapfile at all) and MapServer 5.6.6. Was this known behavior and since fixed in 6.0.x? If so, I'm all over that! Dave On Wed, Oct 5, 2011 at 12:18 PM, Brent Fraserbfra...@geoanalytic.com wrote: Ok, that's a bug. Can you send me your map file? Best Regards, Brent Fraser On 10/5/2011 10:15 AM, Shorthouse, David wrote: Brent, Tics are not so much a big deal. If I understand correctly, something like this cannot be avoided? http://www.simplemappr.net/?map=1110 What I'd rather have is the labels positioned around the outside edge of the image (i.e. horizontally and vertically) rather than arcing and disappearing. Thanks, Dave On Wed, Oct 5, 2011 at 11:53 AM, Brent Fraserbfra...@geoanalytic.com wrote: David, If you mean a specific number of pixels from your neat line, the answer is no. Currently the graticule logic fixes the location from the edge of the image (i.e. the other side of the label). And it doesn't do tics. Best Regards, Brent Fraser On 10/5/2011 8:44 AM, Shorthouse, David wrote: Folks, Is it possible to fix the position of graticule labels around the outside edge of a map in the face of on-the-fly reprojections of a shp file? Following a hint in a very old post in the archives, I managed to make fixed margin around the outside edge of a map where I hoped I could place graticule labels, but unless I can actually fix their position, there's not much I can do. This is an example of what I am trying to do: http://www.geo.wvu.edu/~mfinkenbinder/Geol%20321/UTM_Zones.bmp Thanks, Dave ___ 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 mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] graticule label position
Folks, Is it possible to fix the position of graticule labels around the outside edge of a map in the face of on-the-fly reprojections of a shp file? Following a hint in a very old post in the archives, I managed to make fixed margin around the outside edge of a map where I hoped I could place graticule labels, but unless I can actually fix their position, there's not much I can do. This is an example of what I am trying to do: http://www.geo.wvu.edu/~mfinkenbinder/Geol%20321/UTM_Zones.bmp Thanks, Dave ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] graticule label position
David, If you mean a specific number of pixels from your neat line, the answer is no. Currently the graticule logic fixes the location from the edge of the image (i.e. the other side of the label). And it doesn't do tics. Best Regards, Brent Fraser On 10/5/2011 8:44 AM, Shorthouse, David wrote: Folks, Is it possible to fix the position of graticule labels around the outside edge of a map in the face of on-the-fly reprojections of a shp file? Following a hint in a very old post in the archives, I managed to make fixed margin around the outside edge of a map where I hoped I could place graticule labels, but unless I can actually fix their position, there's not much I can do. This is an example of what I am trying to do: http://www.geo.wvu.edu/~mfinkenbinder/Geol%20321/UTM_Zones.bmp Thanks, Dave ___ 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
Re: [mapserver-users] graticule label position
Brent, Tics are not so much a big deal. If I understand correctly, something like this cannot be avoided? http://www.simplemappr.net/?map=1110 What I'd rather have is the labels positioned around the outside edge of the image (i.e. horizontally and vertically) rather than arcing and disappearing. Thanks, Dave On Wed, Oct 5, 2011 at 11:53 AM, Brent Fraser bfra...@geoanalytic.com wrote: David, If you mean a specific number of pixels from your neat line, the answer is no. Currently the graticule logic fixes the location from the edge of the image (i.e. the other side of the label). And it doesn't do tics. Best Regards, Brent Fraser On 10/5/2011 8:44 AM, Shorthouse, David wrote: Folks, Is it possible to fix the position of graticule labels around the outside edge of a map in the face of on-the-fly reprojections of a shp file? Following a hint in a very old post in the archives, I managed to make fixed margin around the outside edge of a map where I hoped I could place graticule labels, but unless I can actually fix their position, there's not much I can do. This is an example of what I am trying to do: http://www.geo.wvu.edu/~mfinkenbinder/Geol%20321/UTM_Zones.bmp Thanks, Dave ___ 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
Re: [mapserver-users] graticule label position
Ok, that's a bug. Can you send me your map file? Best Regards, Brent Fraser On 10/5/2011 10:15 AM, Shorthouse, David wrote: Brent, Tics are not so much a big deal. If I understand correctly, something like this cannot be avoided? http://www.simplemappr.net/?map=1110 What I'd rather have is the labels positioned around the outside edge of the image (i.e. horizontally and vertically) rather than arcing and disappearing. Thanks, Dave On Wed, Oct 5, 2011 at 11:53 AM, Brent Fraserbfra...@geoanalytic.com wrote: David, If you mean a specific number of pixels from your neat line, the answer is no. Currently the graticule logic fixes the location from the edge of the image (i.e. the other side of the label). And it doesn't do tics. Best Regards, Brent Fraser On 10/5/2011 8:44 AM, Shorthouse, David wrote: Folks, Is it possible to fix the position of graticule labels around the outside edge of a map in the face of on-the-fly reprojections of a shp file? Following a hint in a very old post in the archives, I managed to make fixed margin around the outside edge of a map where I hoped I could place graticule labels, but unless I can actually fix their position, there's not much I can do. This is an example of what I am trying to do: http://www.geo.wvu.edu/~mfinkenbinder/Geol%20321/UTM_Zones.bmp Thanks, Dave ___ 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
Re: [mapserver-users] graticule label position
All, I did manage to cheat at this a while back by using some collar images around the main image to display the label in. I just stitched it altogether in a table. takes more calls to the server though. But it did work. I also payed around with applying these collar images as an overlay, IE stacking them on top of the main map to pretty good effect. Basiucally you make as narrow an image as possible that still displays the labels and stick that out at the edge. It is somewhat painful to build the offect image BBOX logic, but it got me there. bobb Shorthouse, David dshortho...@eol.org wrote: Brent, Tics are not so much a big deal. If I understand correctly, something like this cannot be avoided? http://www.simplemappr.net/?map=1110 What I'd rather have is the labels positioned around the outside edge of the image (i.e. horizontally and vertically) rather than arcing and disappearing. Thanks, Dave On Wed, Oct 5, 2011 at 11:53 AM, Brent Fraser bfra...@geoanalytic.com wrote: David, If you mean a specific number of pixels from your neat line, the answer is no. Currently the graticule logic fixes the location from the edge of the image (i.e. the other side of the label). And it doesn't do tics. Best Regards, Brent Fraser On 10/5/2011 8:44 AM, Shorthouse, David wrote: Folks, Is it possible to fix the position of graticule labels around the outside edge of a map in the face of on-the-fly reprojections of a shp file? Following a hint in a very old post in the archives, I managed to make fixed margin around the outside edge of a map where I hoped I could place graticule labels, but unless I can actually fix their position, there's not much I can do. This is an example of what I am trying to do: http://www.geo.wvu.edu/~mfinkenbinder/Geol%20321/UTM_Zones.bmp Thanks, Dave ___ 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 mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] graticule label position
To be clear, I'm using PHP-mapscript (no mapfile at all) and MapServer 5.6.6. Was this known behavior and since fixed in 6.0.x? If so, I'm all over that! Dave (apologies for this note in your Inbox a second time Brent, replied all w/o first checking what account I was using) On Wed, Oct 5, 2011 at 12:18 PM, Brent Fraser bfra...@geoanalytic.com wrote: Ok, that's a bug. Can you send me your map file? Best Regards, Brent Fraser On 10/5/2011 10:15 AM, Shorthouse, David wrote: Brent, Tics are not so much a big deal. If I understand correctly, something like this cannot be avoided? http://www.simplemappr.net/?map=1110 What I'd rather have is the labels positioned around the outside edge of the image (i.e. horizontally and vertically) rather than arcing and disappearing. Thanks, Dave On Wed, Oct 5, 2011 at 11:53 AM, Brent Fraserbfra...@geoanalytic.com wrote: David, If you mean a specific number of pixels from your neat line, the answer is no. Currently the graticule logic fixes the location from the edge of the image (i.e. the other side of the label). And it doesn't do tics. Best Regards, Brent Fraser On 10/5/2011 8:44 AM, Shorthouse, David wrote: Folks, Is it possible to fix the position of graticule labels around the outside edge of a map in the face of on-the-fly reprojections of a shp file? Following a hint in a very old post in the archives, I managed to make fixed margin around the outside edge of a map where I hoped I could place graticule labels, but unless I can actually fix their position, there's not much I can do. This is an example of what I am trying to do: http://www.geo.wvu.edu/~mfinkenbinder/Geol%20321/UTM_Zones.bmp Thanks, Dave ___ 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
Re: [mapserver-users] graticule label position
I doubt if it is fixed. Some time ago I did some label positioning fixes on my local code version, so I'll test with that. I just thought your PROJECTION, EXTENT, and GRID layer def would get me started... Best Regards, Brent Fraser On 10/5/2011 10:28 AM, Shorthouse, David wrote: To be clear, I'm using PHP-mapscript (no mapfile at all) and MapServer 5.6.6. Was this known behavior and since fixed in 6.0.x? If so, I'm all over that! Dave On Wed, Oct 5, 2011 at 12:18 PM, Brent Fraserbfra...@geoanalytic.com wrote: Ok, that's a bug. Can you send me your map file? Best Regards, Brent Fraser On 10/5/2011 10:15 AM, Shorthouse, David wrote: Brent, Tics are not so much a big deal. If I understand correctly, something like this cannot be avoided? http://www.simplemappr.net/?map=1110 What I'd rather have is the labels positioned around the outside edge of the image (i.e. horizontally and vertically) rather than arcing and disappearing. Thanks, Dave On Wed, Oct 5, 2011 at 11:53 AM, Brent Fraserbfra...@geoanalytic.com wrote: David, If you mean a specific number of pixels from your neat line, the answer is no. Currently the graticule logic fixes the location from the edge of the image (i.e. the other side of the label). And it doesn't do tics. Best Regards, Brent Fraser On 10/5/2011 8:44 AM, Shorthouse, David wrote: Folks, Is it possible to fix the position of graticule labels around the outside edge of a map in the face of on-the-fly reprojections of a shp file? Following a hint in a very old post in the archives, I managed to make fixed margin around the outside edge of a map where I hoped I could place graticule labels, but unless I can actually fix their position, there's not much I can do. This is an example of what I am trying to do: http://www.geo.wvu.edu/~mfinkenbinder/Geol%20321/UTM_Zones.bmp Thanks, Dave ___ 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
Re: [mapserver-users] graticule label position
David, 6.0 fixed alot of these graticule lablling issues (in my testing). I was getting quite a bit of wandering in the label positions, and set up a test for the DEVs to see the results. bobb Shorthouse, David dshortho...@eol.org wrote: To be clear, I'm using PHP-mapscript (no mapfile at all) and MapServer 5.6.6. Was this known behavior and since fixed in 6.0.x? If so, I'm all over that! Dave (apologies for this note in your Inbox a second time Brent, replied all w/o first checking what account I was using) On Wed, Oct 5, 2011 at 12:18 PM, Brent Fraser bfra...@geoanalytic.com wrote: Ok, that's a bug. Can you send me your map file? Best Regards, Brent Fraser On 10/5/2011 10:15 AM, Shorthouse, David wrote: Brent, Tics are not so much a big deal. If I understand correctly, something like this cannot be avoided? http://www.simplemappr.net/?map=1110 What I'd rather have is the labels positioned around the outside edge of the image (i.e. horizontally and vertically) rather than arcing and disappearing. Thanks, Dave On Wed, Oct 5, 2011 at 11:53 AM, Brent Fraserbfra...@geoanalytic.com wrote: David, If you mean a specific number of pixels from your neat line, the answer is no. Currently the graticule logic fixes the location from the edge of the image (i.e. the other side of the label). And it doesn't do tics. Best Regards, Brent Fraser On 10/5/2011 8:44 AM, Shorthouse, David wrote: Folks, Is it possible to fix the position of graticule labels around the outside edge of a map in the face of on-the-fly reprojections of a shp file? Following a hint in a very old post in the archives, I managed to make fixed margin around the outside edge of a map where I hoped I could place graticule labels, but unless I can actually fix their position, there's not much I can do. This is an example of what I am trying to do: http://www.geo.wvu.edu/~mfinkenbinder/Geol%20321/UTM_Zones.bmp Thanks, Dave ___ 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 mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] graticule label position
I can't find my test case at the moment, but Steve Lime did address them in later versions of MapServer. bobb Brent Fraser bfra...@geoanalytic.com wrote: I doubt if it is fixed. Some time ago I did some label positioning fixes on my local code version, so I'll test with that. I just thought your PROJECTION, EXTENT, and GRID layer def would get me started... Best Regards, Brent Fraser On 10/5/2011 10:28 AM, Shorthouse, David wrote: To be clear, I'm using PHP-mapscript (no mapfile at all) and MapServer 5.6.6. Was this known behavior and since fixed in 6.0.x? If so, I'm all over that! Dave On Wed, Oct 5, 2011 at 12:18 PM, Brent Fraserbfra...@geoanalytic.com wrote: Ok, that's a bug. Can you send me your map file? Best Regards, Brent Fraser On 10/5/2011 10:15 AM, Shorthouse, David wrote: Brent, Tics are not so much a big deal. If I understand correctly, something like this cannot be avoided? http://www.simplemappr.net/?map=1110 What I'd rather have is the labels positioned around the outside edge of the image (i.e. horizontally and vertically) rather than arcing and disappearing. Thanks, Dave On Wed, Oct 5, 2011 at 11:53 AM, Brent Fraserbfra...@geoanalytic.com wrote: David, If you mean a specific number of pixels from your neat line, the answer is no. Currently the graticule logic fixes the location from the edge of the image (i.e. the other side of the label). And it doesn't do tics. Best Regards, Brent Fraser On 10/5/2011 8:44 AM, Shorthouse, David wrote: Folks, Is it possible to fix the position of graticule labels around the outside edge of a map in the face of on-the-fly reprojections of a shp file? Following a hint in a very old post in the archives, I managed to make fixed margin around the outside edge of a map where I hoped I could place graticule labels, but unless I can actually fix their position, there's not much I can do. This is an example of what I am trying to do: http://www.geo.wvu.edu/~mfinkenbinder/Geol%20321/UTM_Zones.bmp Thanks, Dave ___ 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 mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users