<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2800.1609" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Comic Sans MS">
<DIV>Brent,</DIV>
<DIV> </DIV>
<DIV><BR>OK, try the interface now.</DIV>
<DIV> </DIV>
<DIV>I really hate having to have all this security stuff in place. I think I may have written myself into a hole with setting up permissions all the way down to the layer level. :c)</DIV>
<DIV> </DIV>
<DIV>Anyway, I published the default layers as public now, so you should get any more Login window until you try to turn on one of the non-public layers.</DIV>
<DIV> </DIV>
<DIV>bobb</DIV>
<DIV> </DIV>
<DIV><BR>>>> Brent Fraser <bfraser@geoanalytic.com> wrote:<BR></DIV>
<DIV style="PADDING-LEFT: 7px; MARGIN: 0px 0px 0px 15px; BORDER-LEFT: #050505 1px solid; BACKGROUND-COLOR: #f3f3f3">Bob,<BR><BR>I now get the username dialog when I try to turn on layers.<BR><BR>I think you will be able to get some improvement with the GRID Layer's LABEL POSITION settings, but in the end it will not be perfect. To get a finer level of control over the GRID LABELs, we need to introduce some more map file objects.<BR><BR>Here's some of my notes from March (the last time we talked about this)<BR><BR> Need concept of margin so phantom lines in margin not labeled<BR><BR> Labels should be gapped relative to margin/neatline, not extent of output graphic file<BR> - gap should be user-settable parameter<BR><BR> Text placement must take into account non-90 deg map rotation (must include dx and dy of text box)<BR><BR><BR>So possible map file objects might be:<BR><BR> MARGIN<BR> WIDTH: width specified in pixels (left, right, top, bottom?)<BR> SHAPE: PROJECTED, GEOGRAPHIC (follows curved graticule lines)<BR> TRANSPARENCY: 0 - 100 %<BR> TICS: length in pixels (left, right, top, bottom?)<BR> NEATLINE: thickness, style<BR> ANNO: GAP: in pixels from margin/neatline, or as mult of text size<BR> ORIENTATION: UP, PARALLEL<BR> LABEL: FORMAT: deg/min/sec symbols, linear units<BR> STYLE: sub/superscript (see USNG, or UTM labels on Canadian NTS sheets)<BR> TRUNCATE: full/partials<BR><BR> others?...<BR><BR>And I have no idea how polar projection map GRID labels would be spec'd out.<BR><BR>That should get the creative juices flowing...<BR><BR>Brent<BR><BR><BR>Bob Basques wrote:<BR>> Brent,<BR>> <BR>> Sorry about that, I really need to get a test box for outside posting of <BR>> things. :c)<BR>> <BR>> Here is a screenshot about what I'm talking about:<BR>> <BR>> <BR>> Basically I want to align the labels along the edges. I've tried a few <BR>> different things to fake it with some positive results, But nothing that <BR>> I can implement as a production piece because it needs some sort of <BR>> manual intervention in the final process.<BR>> <BR>> The entities are predefined lines as a SHP file that I'm labeling. Now <BR>> using the MapServer Grid Object I got this far:<BR>> <BR>> <BR>> But even this is not getting me to the final destination. There's not <BR>> much control on numbering and the process is fairly slow compared to <BR>> just labeling the lines.<BR>> <BR>> Any ideas?<BR>> <BR>> bobb<BR>> <BR>> <BR>> <BR>>> >> Brent Fraser <bfraser@geoanalytic.com> wrote:<BR>> Bob,<BR>> <BR>> I get a Username/Password request dialog from the URL...<BR>> <BR>> Brent Fraser<BR>> <BR>> Bob Basques wrote:<BR>>> All,<BR>>> <BR>>> in the following interface:<BR>>> <BR>>> <BR>> <A href="http://gis.ci.stpaul.mn.us/gis/gismo_public/html/?mapbook=/datasets/CONFIGS/SAINT_PAUL/PUBLIC_WORKS/MAPBOOKS/TS/usng_1st.xml">http://gis.ci.stpaul.mn.us/gis/gismo_public/html/?mapbook=/datasets/CONFIGS/SAINT_PAUL/PUBLIC_WORKS/MAPBOOKS/TS/usng_1st.xml</A><BR>>> <BR>>> The last two layers in the "US National Grid Layers" folder show a layer<BR>>> with lines Easting and Northing, that I want to label. They label just<BR>>> fine, but I would like to align them along an edge of the view<BR>>> automatically, the ideal situation would be to have two labels on each <BR>>> end of the lines along the edges of the view.<BR>>> <BR>>> We've tried using the GRID object, even going so modifying the source<BR>>> for GRID, you can see an example in the third to last layer above, "USNG<BR>>> via MapServer GRID" (Wait for it, it's kinda slow right now) And just<BR>>> can't seem to get the output in any sort of usable result for printing.<BR>>> <BR>>> Question, anyone got any ideas about how to align those labels along the<BR>>> edges?<BR>>> <BR>>> Thanks<BR>>> <BR>>> bobb<BR>>> <BR>>> <BR>>><BR>>><BR>>> ------------------------------------------------------------------------<BR>>><BR>>> _______________________________________________<BR>>> mapserver-users mailing list<BR>>> mapserver-users@lists.osgeo.org<BR>>> <A href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</A>-users<BR>> _______________________________________________<BR>> mapserver-users mailing list<BR>> mapserver-users@lists.osgeo.org<BR>> <A href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</A>-users<BR>_______________________________________________<BR>mapserver-users mailing list<BR>mapserver-users@lists.osgeo.org<BR><A href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</A>-users<BR></DIV></BODY></HTML>